pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Michael Simms <michael@tuxgames.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #2784: Performance serious degrades over a period of a month
Date: Tue, 28 Nov 2006 11:08:15 +0000
Message-ID: <456C189F.7080103@enterprisedb.com> (raw)
In-Reply-To: <200611261635.kAQGZqKE025405@wwwmaster.postgresql.org>
References: <200611261635.kAQGZqKE025405@wwwmaster.postgresql.org>

Michael Simms wrote:
> The following bug has been logged online:
> 
> Bug reference:      2784
> Logged by:          Michael Simms
> Email address:      michael@tuxgames.com
> PostgreSQL version: 8.1.4
> Operating system:   Linux kernel 2.6.12
> Description:        Performance serious degrades over a period of a month
> Details: 
> 
> OK, we have a database that runs perfectly well after a dump and restore,
> but over a period of a month or two, it just degrades to the point of
> uselessness.
> vacuumdb -a is run every 24 hours. We have also run for months at a time
> using -a -z but the effect doesnt change.

You might have a hung transaction that never finishes open, which 
prevents vacuum from removing old tuple versions. Or you might have too 
low FSM settings as others suggested.

I'd try running VACUUM VERBOSE by hand, and taking a good look at the 
output. If there's nothing obviously wrong with it, please send the 
output back to the list (or pgsql-performance, as Tom suggested), and 
maybe we can help.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (5+ messages)  latest in thread

Message-ID: <456C189F.7080103@enterprisedb.com>
Permalink:  ../456C189F.7080103@enterprisedb.com/
Also on:    postgresql.org/message-id/456C189F.7080103@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: heikki@enterprisedb.com, michael@tuxgames.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #2784: Performance serious degrades over a period of a month
  In-Reply-To: <456C189F.7080103@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox