Re: Fast tsearch2, trigram matching on short phrases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> wrote in message news:20070822162950.GB24930@xxxxxxxxx
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



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux