Rapid deteriation of performance (might be caused by tsearch?) in 7.3.2

From: "Robert John Shepherd" <robert(at)reviewer(dot)co(dot)uk>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Rapid deteriation of performance (might be caused by tsearch?) in 7.3.2
Date: 2003-04-04 10:49:25
Message-ID: 000201c2fa97$dc2197f0$f3b0313e@LAIKA
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-performance

Up until a few days ago I have been running Postgresl 7.2.3 with Tsearch
from the contrib dir, but at various times the performance of the
database would suddenly and rapidly deteriate so that queries which
previously took 500ms then took 8 or 9 seconds.

The only cure is a backup and restore of the database, vacuuming and
analysing does nothing. I even tried rebuilding all indexes once which
didn't seem to help.

This was an annoying but intermittent thing, which happened the last
time this Wednesday. Since I was doing a backup and restore anyway, I
decided to upgrade to 7.3.2 in the hope this might fix the annoying
problem, however it has made it WAY worse.

Rather than going a few weeks (and sometimes months) in between having
to use this fix, I am now having to do it almost every single day. I'm
now lucky if it lasts 24 hours before it brings my website to a total
crawl.

There is nothing special about my database other than the fact that I
use the Tsearch addon. Now if I go and do a bit update to the Tsearch
indexes on a table, with for example:

UPDATE tblmessages SET strmessageidx=txt2txtidx(strheading || '
' || strmessage);

Then that instantly brings the whole database to a crawl, which no
amount of index rebuilding, vacuuming and analysing helps.

Help! (And sorry if this is the wrong list)

Yours Unwhettedly,
Robert John Shepherd.

Editor
DVD REVIEWER
The UK's BIGGEST Online DVD Magazine
http://www.dvd.reviewer.co.uk

For a copy of my Public PGP key, email: pgp(at)robertsworld(dot)org(dot)uk

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message thomas.f 2003-04-04 12:32:19 pgsqlodbc rsp installation fails
Previous Message Tom Lane 2003-04-04 07:39:47 Re: Bug #933: Too many inserts crash server

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-04-04 11:01:49 [OT][ANNOUNCEMENT]Announcing first public release of Open Application Server
Previous Message Tom Lane 2003-04-04 04:54:06 Re: [HACKERS] OSS database needed for testing