Re: Fast tsearch2, trigram matching on short phrases

From: "Carlo Stonebanks" <stonec(dot)register(at)sympatico(dot)ca>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Fast tsearch2, trigram matching on short phrases
Date: 2007-08-22 20:25:16
Message-ID: fai61t$2ms6$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)bigfoot(dot)com> wrote in message
news:20070822162950(dot)GB24930(at)uio(dot)no(dot)(dot)(dot)
> 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
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2007-08-22 20:30:35 Re: io storm on checkpoints, postgresql 8.2.4, linux
Previous Message Kevin Grittner 2007-08-22 18:50:26 Re: Optimising "in" queries