From: Tom Lane <tgl@sss.pgh.pa.us>
To: kris pal <kristhegambler@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: regression database
Date: Thu, 26 Aug 2004 23:29:21 -0400
Message-ID: <5707.1093577361@sss.pgh.pa.us> (raw)
In-Reply-To: <20040826211532.30654.qmail@web61308.mail.yahoo.com>
References: <20040826211532.30654.qmail@web61308.mail.yahoo.com>
kris pal <kristhegambler@yahoo.com> writes:
> Actually I just noticed something. Previously for some reason, I
> thought the data directory corresponded to 'regression'. But I double
> checked it now with oid2name and it corresponds to our main database
> say "dds".
Ah, that makes more sense.
> But the issue still remains. In the sense that pg_attribute etc are
> still so huge and I have no idea why.
Probably because you've created and deleted a lot of tables (does your
app use temp tables a lot?). If you aren't good about vacuuming the
system catalogs then you're going to get table bloat. If you're using
something pre-7.4 then you may get index bloat even if you *are*
vacuuming regularly :-(.
My suggestions are to update to 7.4, if you're not there already
(if you are, you may need to do VACUUM FULL and REINDEX to get rid
of the bloat); then adopt a stricter regime of routine vacuuming.
And check your FSM settings.
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kristhegambler@yahoo.com
Subject: Re: regression database
In-Reply-To: <5707.1093577361@sss.pgh.pa.us>
References: <20040826211532.30654.qmail@web61308.mail.yahoo.com> <5707.1093577361@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