Re: why index scan not working when using 'like'? - Mailing list pgsql-performance

From Tom Lane
Subject Re: why index scan not working when using 'like'?
Date
Msg-id 8754.1069795744@sss.pgh.pa.us
Whole thread Raw
In response to Re: why index scan not working when using 'like'?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: why index scan not working when using 'like'?
List pgsql-performance
Josh Berkus <josh@agliodbs.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

pgsql-performance by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: [Fwd: Re: Optimize]
Next
From: Stefan Champailler
Date:
Subject: Impossibly slow DELETEs