Re: TSearch2 and optimisation ...

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Hervé Piedvache <herve(at)elma(dot)fr>, pgsql-performance(at)postgresql(dot)org
Cc: Hervé Piedvache <footcow(at)noos(dot)fr>
Subject: Re: TSearch2 and optimisation ...
Date: 2004-08-26 17:48:58
Message-ID: 200408261048.58726.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Herve'

> (cost=0.00..4052.84 rows=1351 width=166) (actual time=109.766..5415.108
> rows=139 loops=1)
> Index Cond: (idxfti @@ '\'postgresql\''::tsquery)
> Filter: (idxfti @@ '\'postgresql\''::tsquery)

From this, it looks like your FTI index isn't fitting in your sort_mem.
What's sort_mem at now? Can you increase it?

Overall, though, I'm not sure you can get this sub-1s without a faster
machine. Although I'm doing FTI on about 25MB of FTI text on a
single-processor machine, and getting 40ms response times, so maybe we can
...

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message George Essig 2004-08-26 17:58:33 Re: TSearch2 and optimisation ...
Previous Message Andrew Rawnsley 2004-08-26 17:40:41 Re: Anyone familiar with Apple Xserve RAID