Re: Query tuning help - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query tuning help
Date
Msg-id 15030.1115600302@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query tuning help  (Russell Smith <mr-russ@pws.com.au>)
List pgsql-performance
Russell Smith <mr-russ@pws.com.au> writes:
> On Mon, 9 May 2005 09:20 am, Dan Harris wrote:
>> and (  recordtext like '%RED%' or recordtext like '%CORVETTE%'  )
>>
> You cannot use an index for %CORVETTE%, or %RED%.

Not a btree index anyway.  Dan might have some success here with a
full-text-indexing package (eg, contrib/tsearch2)

            regards, tom lane

pgsql-performance by date:

Previous
From: Russell Smith
Date:
Subject: Re: Query tuning help
Next
From: Dan Harris
Date:
Subject: Re: Query tuning help