pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: Database growth problem
Date: Fri, 18 Jul 2003 07:39:46 -0400
Message-ID: <20030718113946.GB2503@libertyrms.info> (raw)
In-Reply-To: <200307172232.24024.mlaks@bellatlantic.net>
References: <200307172232.24024.mlaks@bellatlantic.net>

On Thu, Jul 17, 2003 at 10:32:24PM -0400, mlaks wrote:
> Hi,
> 
>  I have about 15 different PC's running RedHat 7.3 Linux, each running the 
> same database backed application (I use  Postgresql 7.2.1 for the database) 

Upgrade that to 7.2.4, at least.  Noo need to dump and restore, but
you get saved from some nasty bugs.

> On this system, I keep the RAID about 75% full of files, and thus I imagine 
> that the Postgresql database should be about .75 of a GB in size. However, it 
> isnt! I find that it keeps growing as time goes on. Its now about 3.9GB in 
> size! 

Could be that your free space map is too small; on 7.2, the default
is at least an order of magnitude too small.  Also, perhaps you need
to reindex: the btrees in Postgres have a nasty habit of growing
without bound.  (That's fixed in current CVS sources.)

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (5+ messages)  latest in thread

Message-ID: <20030718113946.GB2503@libertyrms.info>
Permalink:  ../20030718113946.GB2503@libertyrms.info/
Also on:    postgresql.org/message-id/20030718113946.GB2503@libertyrms.info

 · 

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: andrew@libertyrms.info
  Subject: Re: Database growth problem
  In-Reply-To: <20030718113946.GB2503@libertyrms.info>
  References: <200307172232.24024.mlaks@bellatlantic.net> <20030718113946.GB2503@libertyrms.info>

* 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