Re: tsearch2 frequent updates

From: Steve Atkins <steve(at)blighty(dot)com>
To: PgSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: tsearch2 frequent updates
Date: 2005-07-23 23:06:09
Message-ID: 20050723230609.GA28209@gp.word-to-the-wise.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zlatko Matic 2005-07-23 23:13:06 Re: temporary tables ?
Previous Message Christopher Browne 2005-07-23 22:55:52 Re: RAMFS with Postgres