Estimate the size of the SQL file generated by pg_dump utility - Mailing list pgsql-performance

From Ravindran G-TLS,Chennai.
Subject Estimate the size of the SQL file generated by pg_dump utility
Date
Msg-id CE54F2377C0FB8439A290BF5A88BF13D021C59EB@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN
Whole thread Raw
Responses Re: Estimate the size of the SQL file generated by pg_dump utility  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Estimate the size of the SQL file generated by pg_dump utility  (Bruce Momjian <bruce@momjian.us>)
List 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.

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

pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
Next
From: "A. Kretschmer"
Date:
Subject: Re: Estimate the size of the SQL file generated by pg_dump utility