Steinar H. Gunderson wrote: > On Tue, Dec 05, 2006 at 01:02:06PM -0500, Tom Lane wrote: >> In 8.0 that might be counterproductively high --- we have seen cases >> where more sort_mem = slower with the older sorting code. I concur >> with Luke's advice that you should update to 8.2 (not 8.1) to get the >> improved sorting code. > > By the way, is the new sorting code any better for platforms that already > have a decent qsort() (like Linux)? yes - especially on-disk sorts will get some tremendous speedups in 8.2. Stefan