Re: Wildcard searches & performance question - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: Wildcard searches & performance question
Date
Msg-id 20030527193700.GB4459@libertyrms.info
Whole thread Raw
In response to Wildcard searches & performance question  (Grega Bremec <grega.bremec@noviforum.si>)
List pgsql-performance
On Tue, May 27, 2003 at 09:09:08PM +0200, Grega Bremec wrote:
> that start with a wildcard, and would avoiding sequential scans even be
> feasible in such cases? Or in other words, can I somehow optimize LIKE and
> regexp queries that start with a wildcard?

Not really.  But it sounds like you might be a candidate for full
text indexing.  See contrib/tsearch for one implementation.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-performance by date:

Previous
From: Grega Bremec
Date:
Subject: Wildcard searches & performance question
Next
From: Josh Berkus
Date:
Subject: Re: Wildcard searches & performance question