Re: tsearch2 frequent updates - Mailing list pgsql-general

From Steve Atkins
Subject Re: tsearch2 frequent updates
Date
Msg-id 20050723230609.GA28209@gp.word-to-the-wise.com
Whole thread Raw
In response to tsearch2 frequent updates  (Matthew Terenzio <matt@jobsforge.com>)
Responses Re: tsearch2 frequent updates
List pgsql-general
On Sat, Jul 23, 2005 at 02:37:42PM -0400, Matthew Terenzio wrote:

> If I'm using Tsearch2 to search a public online forum, do you think
> it's okay to update on every forum entry?
>
> Put another way: is to_tsvector() resource intensive when used in this
> way?

Depends on the update rate, I suspect. I found it far too slow for 5+
new messages a second back when it was new.

But you're probably handling less than that, and it's improved since
then.

You should probably benchmark a reaonable test case and see.

Cheers,
  Steve

pgsql-general by date:

Previous
From: Peter Fein
Date:
Subject: Privileges needed by pg_autovacuum?
Next
From: "Zlatko Matic"
Date:
Subject: Re: temporary tables ?