pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fahey <mfahey@winklerpartners.com>
To: pgsql-admin@postgresql.org
Subject: Disk Usage Problem
Date: Wed, 31 Aug 2005 11:52:17 +0800
Message-ID: <43152971.1030508@winklerpartners.com> (raw)

My database cluster at 22 GB is outgrowing the 30 GB partition I set 
aside for it.

I periodically dump the cluster to a development server, but when it is 
loaded onto the development server, the cluster takes up just 145MB.

I use temporary tables fairly extensively in a key part of the application.

Here are the biggest tables in the production system:

             relname             | relfilenode | relpages
---------------------------------+-------------+----------
 pg_attribute_relid_attnam_index |       16609 |  2519264
 pg_attribute_relid_attnum_index |       16610 |    98014
 pg_class_relname_nsp_index      |       16614 |    25220
 

I'm using 7.4.7-6sarge1 . I vacuum nightly and do a full vacuum weekly, 
but this doesn't seem to have any effect on size.



TIA

Michael




view thread (2+ messages)  latest in thread

Message-ID: <43152971.1030508@winklerpartners.com>
Permalink:  ../43152971.1030508@winklerpartners.com/
Also on:    postgresql.org/message-id/43152971.1030508@winklerpartners.com

 · 

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: mfahey@winklerpartners.com
  Subject: Re: Disk Usage Problem
  In-Reply-To: <43152971.1030508@winklerpartners.com>
  References: <43152971.1030508@winklerpartners.com>

* 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