I wrote: > Heikki Linnakangas <hlinn...@iki.fi> writes: >> I'm talking about the code that reads a bunch of from each tape, loading >> them into the memtuples array. That code was added by Tom Lane, back in >> 1999: >> So apparently there was a benefit back then, but is it still worthwhile?
> I'm fairly sure that the point was exactly what it said, ie improve > locality of access within the temp file by sequentially reading as many > tuples in a row as we could, rather than grabbing one here and one there. [ blink... ] Somehow, my mail reader popped up a message from 2016 as current, and I spent some time researching and answering it without noticing the message date. Never mind, nothing to see here ... regards, tom lane -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers