One graph has sorting a 10GB table and refers to it as a “Large sort”… is 10GB large any more?
Also it's specifically about queries where the sorted data is too big for memory:
> The final change is aimed at larger scale sorts that exceed the size of work_mem significantly. The algorithm which merges individual tapes was changed to use a k-way merge. When the number of tapes is large, less I/O is required than the original polyphase merge algorithm.
Sometimes locality of reference may increase the total number of comparisons but decrease the average cost considerably. For practical applications like databases, it's the runtime that matters, not the theory.
Do you have any source for this? This is the first time I've ever heard this and it seems contrary to everything I've read.