pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to find out database size
2+ messages / 2 participants
[nested] [flat]

* How to find out database size
@ 2003-04-03 15:07  Michael Brusser <michael@synchronicity.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Michael Brusser @ 2003-04-03 15:07 UTC (permalink / raw)
  To: pgsql-admin

Is there a way to find out how much disk space I will need 
for the dump file before I run pg_dump on the database?
Thank you,
Mike.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to find out database size
@ 2003-04-03 16:43  mallah@trade-india.com
  parent: Michael Brusser <michael@synchronicity.com>
  0 siblings, 0 replies; 2+ messages in thread

From: mallah@trade-india.com @ 2003-04-03 16:43 UTC (permalink / raw)
  To: michael@synchronicity.com; +Cc: pgsql-admin



contrib/dbsize gives the diskspace the database is occupying.

not sure though how much space will dup file from pg_dump
occupy. BTW you could use -Fc otpion to produce commpressed
dumps.

regds
mallah.

> Is there a way to find out how much disk space I will need
> for the dump file before I run pg_dump on the database?
> Thank you,
> Mike.
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 3: if
> posting/reading through Usenet, please send an appropriate subscribe-nomail command to
> majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-04-03 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-03 15:07 How to find out database size Michael Brusser <michael@synchronicity.com>
2003-04-03 16:43 ` mallah@trade-india.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