From: Carlo Stonebanks <stonec.register@sympatico.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Fast tsearch2, trigram matching on short phrases
Date: Wed, 22 Aug 2007 16:25:16 -0400
Message-ID: <fai61t$2ms6$1@news.hub.org> (raw)
In-Reply-To: <20070822162950.GB24930@uio.no>
References: <fahmm4$ffo$1@news.hub.org>
<20070822162950.GB24930@uio.no>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: stonec.register@sympatico.ca
Subject: Re: Fast tsearch2, trigram matching on short phrases
In-Reply-To: <fai61t$2ms6$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox