Re: tsearch2 poor performance - Mailing list pgsql-admin

From Oleg Bartunov
Subject Re: tsearch2 poor performance
Date
Msg-id Pine.GSO.4.58.0409272040090.14980@ra.sai.msu.su
Whole thread Raw
In response to Re: tsearch2 poor performance  (Kris Kiger <kris@musicrebellion.com>)
List pgsql-admin
Kris,

do you actually have only 508 disctinct words ? Could you try
more complex queries, say 2-3 words. Does these queries run faster ?


    Oleg
On Mon, 27 Sep 2004, Kris Kiger wrote:

> Regardless of caching, the queries are still taking 19~20 seconds to run
> on the 3,000,000 rows.  I've played with performance tuning and nothing
> seems to make much of a difference.  If I am reading that list from stat
> correctly, then I am operating on  508 distinct words.  Is this the
> performance I should expect from tsearch2?  Or is something still awry?
>  I'm inclined to think  something else is wrong, after reading some
> other people's tsearch performance stats.  Thanks!
>
> Kris
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

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

pgsql-admin by date:

Previous
From: Kris Kiger
Date:
Subject: Re: tsearch2 poor performance
Next
From: Kris Kiger
Date:
Subject: Re: tsearch2 poor performance