pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: mcelroy, tim <tim.mcelroy@bostonstock.com>
Cc: Pierre LEBRECH <pierre.lebrech@laposte.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: growth of a postgresql database
Date: Wed, 7 Jun 2006 17:41:54 -0500
Message-ID: <20060607224154.GE45331@pervasive.com> (raw)
In-Reply-To: <9765373733A7DF4681B12225D2FC44050D6D99@bosexprod001.bostonstock.local>
References: <9765373733A7DF4681B12225D2FC44050D6D99@bosexprod001.bostonstock.local>

On Wed, Jun 07, 2006 at 12:43:59PM -0400, mcelroy, tim wrote:
> The contrib/dbsize module will accomplish what you want.  I use release
> 8.0.1 and it works for me.  
> 
> It provides the size of the DB, you could cron a job to take readings at
> various times and calculate the growth that way.

If you're on 8.1.x, see also \df pg_*size*
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (3+ messages)

Message-ID: <20060607224154.GE45331@pervasive.com>
Permalink:  ../20060607224154.GE45331@pervasive.com/
Also on:    postgresql.org/message-id/20060607224154.GE45331@pervasive.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: jnasby@pervasive.com, tim.mcelroy@bostonstock.com, pierre.lebrech@laposte.net
  Subject: Re: growth of a postgresql database
  In-Reply-To: <20060607224154.GE45331@pervasive.com>
  References: <9765373733A7DF4681B12225D2FC44050D6D99@bosexprod001.bostonstock.local> <20060607224154.GE45331@pervasive.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