From: Greg Stark <gsstark@mit.edu>
To: lutzeb@aeccom.com
Cc: Greg Stark <gsstark@mit.edu>
Cc: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us
Cc: john@arbash-meinel.com
Subject: Re: query produces 1 GB temp file
Date: 06 Feb 2005 10:57:48 -0500
Message-ID: <876515k7er.fsf@stark.xeocode.com> (raw)
In-Reply-To: <42061B35.6000306@aeccom.com>
References: <20050205182117.0125074@mail2.aeccom.com>
<87y8e2kb8j.fsf@stark.xeocode.com>
<42061B35.6000306@aeccom.com>
I gave a bunch of "explain analyze select" commands to test estimates for
individual columns. What results do they come up with? If those are inaccurate
then raising the statistics target is a good route. If those are accurate
individually but the combination is inaccurate then you have a more difficult
problem.
--
greg
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: gsstark@mit.edu, lutzeb@aeccom.com, tgl@sss.pgh.pa.us, john@arbash-meinel.com
Subject: Re: query produces 1 GB temp file
In-Reply-To: <876515k7er.fsf@stark.xeocode.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