Re: Fast tsearch2, trigram matching on short phrases - Mailing list pgsql-performance

From Carlo Stonebanks
Subject Re: Fast tsearch2, trigram matching on short phrases
Date
Msg-id fai61t$2ms6$1@news.hub.org
Whole thread Raw
In response to Re: Fast tsearch2, trigram matching on short phrases  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
List pgsql-performance
In December I had tried this; it caused a tremendous slowdown in our system.
I have avoided it since then.

Do you expect pg_trgm to work with phrases? OI had read a post earlier from
an earlier support question that suggested that it I SHOULD expect
performance to degrade and that pg_trgrm was oriented towards word mathcing,
not phrase matching.

Carlo


""Steinar H. Gunderson"" <sgunderson@bigfoot.com> wrote in message
news:20070822162950.GB24930@uio.no...
> On Wed, Aug 22, 2007 at 12:02:54PM -0400, Carlo Stonebanks wrote:
>> Any suggestions on where to go with this project to improve performance
>> would be greatly appreciated.
>
> I'm a bit unsure from reading your mail -- have you tried pg_trgm with a
> GiST
> index?
>
> /* Steinar */
> --
> Homepage: http://www.sesse.net/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>


pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Optimising "in" queries
Next
From: "Carlo Stonebanks"
Date:
Subject: Re: Fast tsearch2, trigram matching on short phrases