From: Josh Berkus <josh@agliodbs.com>
To: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Odd sorting behaviour
Date: Thu, 15 Jul 2004 11:11:33 -0700
Message-ID: <200407151111.34002.josh@agliodbs.com> (raw)
In-Reply-To: <20040715120854.GA31259@uio.no>
References: <20040708101913.GA15871@uio.no>
<16637.1089867158@sss.pgh.pa.us>
<20040715120854.GA31259@uio.no>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, sgunderson@bigfoot.com
Subject: Re: Odd sorting behaviour
In-Reply-To: <200407151111.34002.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox