As part of the work on Postgres 9.2, yesterday Robert Haas applied a much-discussed (December, January, February) patch by Peter Geoghegan to improve sort performance. Having recently blogged about how work_mem affects sort performance, I thought I would re-run my tests to see the improvement:
Sorting Performance Improvement for Postgres 9.2Temporary Storage | Old | New -----------------------+--------+------- magnetic | 68 | 67 magnetic (writeback) | 50 | 48 SSD | 36 | 32 tmpfs | 30 | 27 none (high work_mem) | 12 | 9.5






