Re: PostgreSQL performance deteriorates over time?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tvahakan(at)fw(dot)cluster(dot)net
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: PostgreSQL performance deteriorates over time?
Date: 2001-11-16 04:55:02
Message-ID: 23010.1005886502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

tvahakan(at)fw(dot)cluster(dot)net writes:
> Using libpq++ simple UPDATE has gone from under
> one millisecond to over 20 milliseconds after a few days of
> uptime (mostly idle)? VACUUM ANALYZE didn't help, but
> restarting postmaster did.

This seems *very* odd; restarting the postmaster should not make a
difference. What exactly is the query you're using, what exactly
is the table and index schema, and what does EXPLAIN say is the
query plan (in both fast and slow states)?

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-11-16 06:16:27 Re: switching from mysql
Previous Message Brad Hilton 2001-11-16 01:16:08 switching from mysql