pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Odd sorting behaviour
Date: Fri, 16 Jul 2004 00:16:12 +0200
Message-ID: <20040715221612.GA2904@uio.no> (raw)
In-Reply-To: <200407151111.34002.josh@agliodbs.com>
References: <20040708101913.GA15871@uio.no>
	<16637.1089867158@sss.pgh.pa.us>
	<20040715120854.GA31259@uio.no>
	<200407151111.34002.josh@agliodbs.com>

On Thu, Jul 15, 2004 at 11:11:33AM -0700, Josh Berkus wrote:
>> 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.

Made no difference on either version (7.2 or 7.4).

BTW, you guys can stop Cc-ing me now; I'm subscribed. :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (15+ messages)  latest in thread

Message-ID: <20040715221612.GA2904@uio.no>
Permalink:  ../20040715221612.GA2904@uio.no/
Also on:    postgresql.org/message-id/20040715221612.GA2904@uio.no

 · 

reply

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: sgunderson@bigfoot.com
  Subject: Re: Odd sorting behaviour
  In-Reply-To: <20040715221612.GA2904@uio.no>

* 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