Re: Odd sorting behaviour - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Odd sorting behaviour
Date
Msg-id 200407151111.34002.josh@agliodbs.com
Whole thread Raw
In response to Re: Odd sorting behaviour  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Responses Re: Odd sorting behaviour  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
List pgsql-performance
Steinar,

> sort_mem is already 16384, which I thought would be plenty -- I tried
> increasing it to 65536 which made exactly zero difference. :-)

Well, then the next step is increasing the statistical sampling on the 3 join
columns in that table.   Try setting statistics to 500 for each of the 3
cols, analyze, and see if that makes a difference.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Insert are going slower ...
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: Odd sorting behaviour