Re: [PERFORM] Performance issue using Tsearch2

2008-02-05 Thread Viviane Lestic
2008/2/5, Ansgar -59cobalt- Wiechers wrote: > Your planner estimates are way off. Try increasing the statistics target > for the columns used in this query and re-analyze the tables after doing > so. I first set STATISTICS to 1000 for column zoneindex_test and saw no significant improvement (with

Re: [PERFORM] Performance issue using Tsearch2

2008-02-05 Thread Guillaume Smet
On Feb 5, 2008 12:47 PM, Viviane Lestic <[EMAIL PROTECTED]> wrote: > Could someone help me analyze this problem? > I don't manage to see if the problem comes from bad tsearch tuning, > postgresql configuration, or something else... Can you try to replace zoneindex_test @@ q with zoneindex_test @@

Re: [PERFORM] Performance issue using Tsearch2

2008-02-05 Thread Ansgar -59cobalt- Wiechers
On 2008-02-05 Viviane Lestic wrote: > QUERY PLAN > - > Sort (cost=2345.54..2345.58 rows=16 width=308) (actual > time=270638.774..270643.142 row

[PERFORM] Performance issue using Tsearch2

2008-02-05 Thread Viviane Lestic
Hi, I'm having a performance problem on a request using Tsearch2: the request strangely takes several minutes. I've tried to follow Tsearch tuning recommendations, I've searched through the archives, but I can't seem to find a solution to solve my problem. The ts_vector field was created using d