Re: Performance of ORDER BY

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: sgunderson(at)bigfoot(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance of ORDER BY
Date: 2006-12-05 19:55:40
Message-ID: 4575CEBC.9030202@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Glenn Sullivan 2006-12-05 20:42:56 Re: Performance of ORDER BY
Previous Message Tom Lane 2006-12-05 19:39:50 Re: Restart time