pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: reina_ga@hotmail.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Database storage bloat
Date: Thu, 08 Apr 2004 10:15:19 -0400
Message-ID: <13514.1081433719@sss.pgh.pa.us> (raw)
In-Reply-To: <272e4be7.0404080115.39f1cb36@posting.google.com>
References: <272e4be7.0404080115.39f1cb36@posting.google.com>

reina_ga@hotmail.com (Tony Reina) writes:
> However, a 65X bloat in space seems excessive.

Without concrete details about your schema, it's hard to answer that.
I suspect you made some inefficient choices, but have no data.

For starters you should do a database-wide VACUUM to ensure
pg_class.relpages is up to date, then look to see which tables and
indexes contain the most pages.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <13514.1081433719@sss.pgh.pa.us>
Permalink:  ../13514.1081433719@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13514.1081433719@sss.pgh.pa.us

 · 

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 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, reina_ga@hotmail.com
  Subject: Re: Database storage bloat
  In-Reply-To: <13514.1081433719@sss.pgh.pa.us>
  References: <272e4be7.0404080115.39f1cb36@posting.google.com> <13514.1081433719@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