Re: Query tuning help

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
Cc: Dan Harris <fbsd(at)drivefaster(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Query tuning help
Date: 2005-05-09 00:58:22
Message-ID: 15030.1115600302@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Russell Smith <mr-russ(at)pws(dot)com(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Dan Harris 2005-05-09 01:49:30 Re: Query tuning help
Previous Message Russell Smith 2005-05-09 00:51:14 Re: Query tuning help