pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedgrowth of a postgresql database
3+ messages / 3 participants
[nested] [flat]
* growth of a postgresql database
@ 2006-06-07 10:21 Pierre LEBRECH <pierre.lebrech@laposte.net>
0 siblings, 0 replies; 3+ messages in thread
From: Pierre LEBRECH @ 2006-06-07 10:21 UTC (permalink / raw)
To: pgsql-admin
Hello,
How can we see/calculate the growth of a postgresql database? Is there any tool in postgresql to see the
growth (or size) of one database? If yes, beginning with which release?
Thank you
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: growth of a postgresql database
@ 2006-06-07 16:43 mcelroy, tim <tim.mcelroy@bostonstock.com>
2006-06-07 22:41 ` Re: growth of a postgresql database Jim C. Nasby <jnasby@pervasive.com>
0 siblings, 1 reply; 3+ messages in thread
From: mcelroy, tim @ 2006-06-07 16:43 UTC (permalink / raw)
To: Pierre LEBRECH <pierre.lebrech@laposte.net>; pgsql-admin
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.
Tim
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Pierre LEBRECH
Sent: Wednesday, June 07, 2006 6:22 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] growth of a postgresql database
Hello,
How can we see/calculate the growth of a postgresql database? Is there any
tool in postgresql to see the
growth (or size) of one database? If yes, beginning with which release?
Thank you
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: growth of a postgresql database
2006-06-07 16:43 Re: growth of a postgresql database mcelroy, tim <tim.mcelroy@bostonstock.com>
@ 2006-06-07 22:41 ` Jim C. Nasby <jnasby@pervasive.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jim C. Nasby @ 2006-06-07 22:41 UTC (permalink / raw)
To: mcelroy, tim <tim.mcelroy@bostonstock.com>; +Cc: Pierre LEBRECH <pierre.lebrech@laposte.net>; pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-06-07 22:41 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-07 10:21 growth of a postgresql database Pierre LEBRECH <pierre.lebrech@laposte.net>
2006-06-07 16:43 Re: growth of a postgresql database mcelroy, tim <tim.mcelroy@bostonstock.com>
2006-06-07 22:41 ` Jim C. Nasby <jnasby@pervasive.com>
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