Re: Space for pg_dump

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: SHARMILA JOTHIRAJAH <sharmi_jo(at)yahoo(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, General postgres mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Space for pg_dump
Date: 2009-03-31 22:00:06
Message-ID: 20090331220006.GA12545@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 31, 2009 at 08:57:28AM -0700, SHARMILA JOTHIRAJAH wrote:
> > Note you can find out by doing:
> > pg_dump dbname | wc
> Yes...I could find the space used after creating the dump.
> But I need to pre-allocate some space for storing these dumps

I'm not sure if you realize that you don't need any space for the
command that Scott showed (pg_dump dbname | wc). it will not write
anything to disk.

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-03-31 22:53:19 Re: [GENERAL] ERROR: XX001: could not read block 2354 of relation…
Previous Message Greg Smith 2009-03-31 20:42:08 Re: Server Performance