Re: why index scan not working when using 'like'?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: LIANHE SHAO <lshao2(at)jhmi(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: why index scan not working when using 'like'?
Date: 2003-11-25 21:29:04
Message-ID: 8754.1069795744@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> In regular text fields containing words, your problem is solvable with full
> text indexing (FTI). Unfortunately, FTI is not designed for arbitrary
> non-language strings. It could be adapted, but would require a lot of
> hacking.

I'm not sure why you say that FTI isn't a usable solution. As long as
the gene symbols are separated by whitespace or some other non-letters
(eg, "foo mif bar" not "foomifbar"), I'd think FTI would work.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Stefan Champailler 2003-11-25 21:56:56 Impossibly slow DELETEs
Previous Message Dror Matalon 2003-11-25 19:56:13 Re: why index scan not working when using 'like'?