Re: Column correlation drifts, index ignored again

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Siracusa <siracusa(at)mindspring(dot)com>
Cc: Postgres Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Column correlation drifts, index ignored again
Date: 2004-02-22 22:06:58
Message-ID: 18941.1077487618@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

John Siracusa <siracusa(at)mindspring(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message John Siracusa 2004-02-22 22:34:47 Re: Column correlation drifts, index ignored again
Previous Message John Siracusa 2004-02-22 21:58:30 Re: Column correlation drifts, index ignored again