Estimate the size of the SQL file generated by pg_dump utility

From: "Ravindran G-TLS,Chennai(dot)" <ravindran_g(at)hcl(dot)in>
To: <pgsql-performance(at)postgresql(dot)org>
Cc: "Arun Prasad S-TLS,Chennai(dot)" <arunps(at)hcl(dot)in>
Subject: Estimate the size of the SQL file generated by pg_dump utility
Date: 2007-03-05 14:55:21
Message-ID: CE54F2377C0FB8439A290BF5A88BF13D021C59EB@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Dear All,
I have to take backup of a database as a SQL file using the pg_dump
utility and I have to check the disk space
before taking the backup. Hence I need to estimate the size of the
pg_dump output.
The size given by pg_database_size procedure and the size of file
generated by pg_dump
vary to a large extent. Kindly let me know how to estimate the size of
the file that pg_dump generates.

Note: Please bear with us for the disclaimer because it is automated in
the exchange server.
Regards,
Ravi

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Aidan Van Dyk 2007-03-05 15:18:20 Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
Previous Message Heikki Linnakangas 2007-03-05 14:44:31 Re: PostgreSQL 8.2.3 VACUUM Timings/Performance