If your enterprise still uses mechanical disks, that's still a factor that has to be considered
All the blocks required to be read to get through the list can be placed all around the disk/s. And it takes time. On a live system, with many changes, and when a lot of different data is stored, the next block can be far from the previous one. So, on mechanical discs, defragmentation is matter, and may slow the speed.
I don't know the character of your data, but if you have a lot of data, stored in the globals, it will require to read much more blocks, to even just count the items.
And most probably the easiest way to solve it, is just to use bitmap index.
- Log in to post comments
.png)
.png)
.png)
.png)