Re: A *short* planner question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nickf(at)ontko(dot)com
Cc: "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: A *short* planner question
Date: 2002-04-13 16:28:22
Message-ID: 16054.1018715302@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

"Nick Fankhauser" <nickf(at)ontko(dot)com> writes:
> ... In addition, since we're using a "like", typing
> in only an initial char would get roughly 1/26 of the rows back- Does the
> planner look at the number of leading chars provided when coming up with a
> plan?

Yeah it does, if it can see a constant pattern for the LIKE or regex match.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nigel J. Andrews 2002-04-13 18:13:06 COPY performance
Previous Message Nick Fankhauser 2002-04-13 16:03:59 Re: A *short* planner question

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-04-13 16:34:04 Re: Defn of pg_class.reltuples in 7.2.1?
Previous Message Nick Fankhauser 2002-04-13 16:03:59 Re: A *short* planner question