pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ray Ontko <rayo@ontko.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Are statistics gathered on function indexes?
Date: Thu, 27 Jun 2002 23:59:36 -0400
Message-ID: <2434.1025236776@sss.pgh.pa.us> (raw)
In-Reply-To: <200206271854.NAA28020@shire.ontko.com>
References: <200206271854.NAA28020@shire.ontko.com>

Ray Ontko <rayo@ontko.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





view thread (23+ messages)  latest in thread

Message-ID: <2434.1025236776@sss.pgh.pa.us>
Permalink:  ../2434.1025236776@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2434.1025236776@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rayo@ontko.com
  Subject: Re: Are statistics gathered on function indexes?
  In-Reply-To: <2434.1025236776@sss.pgh.pa.us>
  References: <200206271854.NAA28020@shire.ontko.com> <2434.1025236776@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