Re: Are statistics gathered on function indexes?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ray Ontko <rayo(at)ontko(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Are statistics gathered on function indexes?
Date: 2002-06-28 03:59:36
Message-ID: 2434.1025236776@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ray Ontko <rayo(at)ontko(dot)com> writes:
> In other words, if I only give one letter, then I might expect
> to get about 1/10 of the table, and a full scan might make sense.
> But the cost should continue to decline as I give longer and longer
> strings, up to the length of the field.
> Would this be a reasonable improvement to the optimizer?

It's there already; what did you think was making the difference
between W% and WI% ?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter B. 2002-06-28 09:30:58 Postgresql install on windows
Previous Message daniel m 2002-06-28 02:23:02 Postmaster environment variables