From: Tom Lane <tgl@sss.pgh.pa.us>
To: dan@langille.org
Cc: pgsql-sql@postgresql.org
Subject: Re: selecting records from a date range
Date: Mon, 01 Apr 2002 20:43:44 -0500
Message-ID: <19563.1017711824@sss.pgh.pa.us> (raw)
In-Reply-To: <20020402003614.C631D3F29@bast.unixathome.org>
References: <20020402003614.C631D3F29@bast.unixathome.org>
"Dan Langille" <dan@langille.org> writes:
> I'm having fun with this one. It was nice and fast before the vacuum, but
> very
> slow afterwards. The idea is to get all the records for a given day.
[ scratches head... ] I tried to reproduce this, but for me it still
seems to prefer nestloop. Have you been playing any games with the
planner cost parameters? What does pg_stats show for these tables?
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, dan@langille.org
Subject: Re: selecting records from a date range
In-Reply-To: <19563.1017711824@sss.pgh.pa.us>
* 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