From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Siracusa <siracusa@mindspring.com>
Cc: Postgres Performance <pgsql-performance@postgresql.org>
Subject: Re: Column correlation drifts, index ignored again
Date: Sun, 22 Feb 2004 17:06:58 -0500
Message-ID: <18941.1077487618@sss.pgh.pa.us> (raw)
In-Reply-To: <94FA2D7A-64CC-11D8-9DEA-000A95BA4506@mindspring.com>
References: <94FA2D7A-64CC-11D8-9DEA-000A95BA4506@mindspring.com>
John Siracusa <siracusa@mindspring.com> writes:
> I want to do something that will convince Postgres that using the date
> index is, by far, the best plan when running my queries, even when the
> date column correlation stat drops well below 1.0.
Have you tried experimenting with random_page_cost? Seems like your
results suggest that you need to lower it.
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-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, siracusa@mindspring.com
Subject: Re: Column correlation drifts, index ignored again
In-Reply-To: <18941.1077487618@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