From: Paul Thomas <paul@tmsl.demon.co.uk>
To: Martin Foster <martin@ethereal-realms.org>
Cc: pgsql-performance @ postgresql . org <pgsql-performance@postgresql.org>
Subject: Re: Clearing rows periodically
Date: Fri, 18 Jul 2003 08:42:15 +0100
Message-ID: <20030718084215.A14240@bacon> (raw)
In-Reply-To: <3F1799D0.1010009@ethereal-realms.org>
References: <3F13E18A.21241.4B86CB0@localhost>
<3F17E2A2.28685.45CC782@localhost>
<3F1799D0.1010009@ethereal-realms.org>
On 18/07/2003 07:55 Martin Foster wrote:
> [snip]
> A VACUUM FULL will correct the issue, but put the site out of commission
> for roughly 20 minutes as the drive crunches the information.
>
> My question is, should the purging of rows be done more often then once
> a day for both tables. Is this why performance seems to take a hit
> specifically? As there were too many rows purged for vacuum to
> accurately keep track of?
ISTR that there are setting in postgresql.conf which affect how many
tables/rows vacuum can reclaim. The docs say that the default setting of
max_fsm_pages is 10000. Maybe this should be increased for your situation?
HTH
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: paul@tmsl.demon.co.uk, martin@ethereal-realms.org
Subject: Re: Clearing rows periodically
In-Reply-To: <20030718084215.A14240@bacon>
References: <3F13E18A.21241.4B86CB0@localhost> <3F17E2A2.28685.45CC782@localhost> <3F1799D0.1010009@ethereal-realms.org> <20030718084215.A14240@bacon>
* 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