Re: One source of constant annoyance identified

From: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
To: "P(dot)J(dot) Josh Rovero" <rovero(at)sonalysts(dot)com>
Cc: Markus Wollny <Markus(dot)Wollny(at)computec(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: One source of constant annoyance identified
Date: 2002-06-28 14:09:47
Message-ID: 20020628140947.GA3807@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 28, 2002 at 07:40:46AM -0400, P.J. Josh Rovero wrote:
> LIKE '%dfjdsklfdfjdklfjds' is what is killing you.
>
> LIKE 'sdfdklf%' can be indexed, but the leading wildcard
> forces an index search.

You mean it forces a sequential scan, of course.

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-06-28 14:12:49 Re: 7.2.1 optimises very badly against 7.2
Previous Message Oskar Berggren 2002-06-28 13:54:28 Re: sort of special characters