From: Robert Treat <xzilla@users.sourceforge.net>
To: A.Bhuvaneswaran <bhuvansql@myrealbox.com>
Cc: Raquel Vieira <raquel.vieira@ent.efacec.pt>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuumdb
Date: 03 Apr 2003 14:22:40 -0500
Message-ID: <1049397760.13799.5274.camel@camel> (raw)
In-Reply-To: <Pine.LNX.4.44.0304031041250.1157-100000@Bhuvan.bksys.co.in>
References: <Pine.LNX.4.44.0304031041250.1157-100000@Bhuvan.bksys.co.in>
On Thu, 2003-04-03 at 00:13, A.Bhuvaneswaran wrote:
> > I'm using PostgreSQL 7.0.3.
> > I'm doing vacuumdb in my database every night to repair it. But now I have a
> > problem. I'm looking in /var/lib/pgsql/data/base/ for the tables length and
> > the primary keys of the tables are not cleaned and is increasing evey day.
> > What can I do to clean it?
> > Thank you for the help.
>
> If you mean hard disk space consumption, you might have to run vacuum
> full.
>
Actually the vacuum in 7.0.3 is a vacuum full. I'm guessing the problem
is really index bloat, try dropping and recreating some of your indexes.
After that you need to seriously look at upgrading.
Robert Treat
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-admin@postgresql.org
Cc: xzilla@users.sourceforge.net, bhuvansql@myrealbox.com, raquel.vieira@ent.efacec.pt
Subject: Re: Vacuumdb
In-Reply-To: <1049397760.13799.5274.camel@camel>
References: <Pine.LNX.4.44.0304031041250.1157-100000@Bhuvan.bksys.co.in> <1049397760.13799.5274.camel@camel>
* 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