Re: pg_dump fundenental question

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "J(dot) Cassidy" <sean(at)jdcassidy(dot)eu>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump fundenental question
Date: 2016-07-05 16:52:07
Message-ID: 4e59e36b-e354-9dda-c837-7e08e88d843d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/05/2016 07:54 AM, J. Cassidy wrote:
> Hello all,
>
> I have hopefully an "easy" question.
>
> If I issue the pg_dump command with no switches or options i.e.
>
> /usr/local/pgsql/bin/pg_dump -v dbabcd > /data3TB/Backup/dbabcd
>
> Is their any "default" compression involved or not? Does pg_dump talk to
> zlib during the dump process given that I have not specified any
> compression on the
> command line? (see above).
>
> Your considered opinions would be much appreciated.

https://www.postgresql.org/docs/9.5/static/app-pgdump.html

"
-F format
--format=format

Selects the format of the output. format can be one of the following:

p
plain

Output a plain-text SQL script file (the default).
"

......

In line tag:

"-Z 0..9
--compress=0..9

Specify the compression level to use. Zero means no compression.
For the custom archive format, this specifies compression of individual
table-data segments, and the default is to compress at a moderate level.
<* SEE HERE For plain text output, setting a nonzero compression level
causes the entire output file to be compressed, as though it had been
fed through gzip; but the default is not to compress. SEE HERE *> The
tar archive format currently does not support compression at all.
"

>
>
> Regards,
>
>
> Henk
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2016-07-05 16:54:09 Re: pg_dump fundenental question
Previous Message Adrian Klaver 2016-07-05 16:47:38 Re: Materialized view not created with import