Pretty performance pictures
I’ve been analysing block read patterns.
Firstly, here’s the block reads for reading about 6700 documents in a fairly random (actually sorted by a key) order. Pretty random, not so good:
But, here’s the read pattern for reading about 10000 documents in order of docid.
Finally, here’s the block reads for running xapian-compact: