From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-bugs@postgresql.org
Subject: Re: db growing out of proportion
Date: Fri, 30 May 2003 09:11:39 -0400
Message-ID: <8938.1054300299@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs>
References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs>
Peter Childs <blue.dragon@blueyonder.co.uk> writes:
> On Fri, 30 May 2003, Tomas Szepe wrote:
>> Trouble is, as the rows in the tables get deleted/inserted/updated
>> (the frequency being a couple thousand rows per minute), the database
>> is growing out of proportion in size.
> Would more regular vacuum help. I think a vaccum every hour may do
> the job.
Also note that no amount of vacuuming will save you if the FSM is not
large enough to keep track of all the free space. The default FSM
settings, like all the other default settings in Postgres, are set up
for a small installation. You'd probably need to raise them by at least
a factor of 10 for this installation.
regards, tom lane
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: tgl@sss.pgh.pa.us, pgsql-bugs@postgresql.org
Subject: Re: db growing out of proportion
In-Reply-To: <8938.1054300299@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs> <8938.1054300299@sss.pgh.pa.us>
* 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