Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)

From: cedric <cedric(at)over-blog(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)
Date: 2007-02-21 15:01:16
Message-ID: 200702211601.17661.cedric@over-blog.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le mercredi 21 février 2007 15:44, Tom Lane a écrit :
> Markus Schiltknecht <markus(at)bluegap(dot)ch> writes:
> > Henrik Zagerholm wrote:
> >> Is this normal? What can I tweak in postgresql.conf to speed up big
> >> to_tsvector()?
> >
> > Hm.. seems not too unreasonable to me.
> > Take a look at the stemmers or dictionaries involved. What do you use
> > there?
>
> Also, I wonder how much of the time went into to_tsvector() and how much
> into updating the GIST or GIN index that I suppose is on the column.
> For a full update like this it might make sense to drop the index,
> update the column, rebuild the index from scratch.
a count of distinct word in those 194 000 can be interesting also, I presume.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Zagerholm 2007-02-21 15:03:04 Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)
Previous Message Ken Downs 2007-02-21 14:52:29 Re: Views: having a rule call a function vs. using a before trigger