Re: sequential scans and the like operator

From: Adam Haberlach <adam(at)newsnipple(dot)com>
To: "Roderick A(dot) Anderson" <raanders(at)tincan(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: sequential scans and the like operator
Date: 2002-01-08 17:33:09
Message-ID: 20020108093309.A8203@newsnipple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 08, 2002 at 04:50:53AM -0800, Roderick A. Anderson wrote:
> There is a discussion going on on the sql-ledger mailing list concerning
> whether indexes will provide any performance improvements. The one that
> caught my eye was whether using LIKE in a statement would force a
> sequential scan.
>
> I tried checking the PG list archives but fts.postgresql.org is a little
> slow - as many know - plus a quick search using google didn't turn up
> much.
>
> My guesstimation is a leading or mid-field wildcard (_, %) would force a
> sequential scan but a trailing wildcard would not (should not?).

I, myself, don't remember the thread exactly, but I'm pretty sure that
was the behavior that we were told to expect...

--
Adam Haberlach | Who buys an eight-processor machine and then
adam(at)newsnipple(dot)com | watches 30 movies on it all at the same time?
http://newsnipple.com | Beats me. They told us they could sell it, so
| we made it. -- George Hoffman, Be Engineer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Haberlach 2002-01-08 17:36:59 Re: constants for return value from PQftype?
Previous Message Wendy Chin 2002-01-08 17:26:15 Calling a Stored Procedure using PHP