Re: How to speed up tsearch2 indexing

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Werner Bohl <WernerBohl(at)infutor(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to speed up tsearch2 indexing
Date: 2005-03-09 20:27:33
Message-ID: Pine.GSO.4.62.0503092324420.26616@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 9 Mar 2005, Werner Bohl wrote:

> On Wed, 2005-03-09 at 20:41 +0300, Oleg Bartunov wrote:
>
>> What's your tsearch2 configuration ? Do you use dictionaries ?
>> I wrote a brief explanation of tsearch2 internals
>> http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_internals
>>
> Tsearch2 is using default english configuration. No dictionaries, just
> put some more stop words (10) in english.stop.

it's not good, because you, probably, have a lot of unique words.
Do you have some statistics, see stat() function ?

>
>> Hope, it could help you.
>>
>>>
>>>
>>> TIA,
>>>
>>>
>>>
>>
>> Regards,
>> Oleg
>> _____________________________________________________________
>> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
>> Sternberg Astronomical Institute, Moscow University (Russia)
>> Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
>> phone: +007(095)939-16-83, +007(095)939-23-83
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 6: Have you searched our list archives?
>>
>> http://archives.postgresql.org
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Russell Smith 2005-03-09 22:08:32 Re: Help trying to tune query that executes 40x slower than in SqlServer
Previous Message Werner Bohl 2005-03-09 20:21:06 Re: How to speed up tsearch2 indexing