From: Michael Heaney <mheaney@jcvi.org>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_dump with custom format without compression
Date: Sat, 8 Apr 2017 06:22:38 -0400
Message-ID: <226e4bc5-8f3d-44d1-1c06-41c90056f5c5@jcvi.org> (raw)
In-Reply-To: <329300973.20170408105802@am-soft.de>
References: <329300973.20170408105802@am-soft.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On 4/8/2017 4:58 AM, Thorsten Schöning wrote:
> Hi all,
>
> I'm using pg_dump with custom format "c" on some databases containing
> already compressed large binaries, like Zip, compressed PDF etc. So I
> don't benefit of the compression of format "c" much, but creating a
> dump takes about twice as much time compared to uncompressed format
> "t".
>
> Is there any way to use format "c" without any compression, so I get
> somewhat the same processing time like with format "t"?
>
> From the docs it sounds that format "c" is the most flexible when it
> comes to restore and I would simply like to keep all the options it
> provides, just in case. So if not compression is only possible with
> "t", I might as well decide to use that and live with its theoretical
> shortcomings on restore.
>
> Thanks!
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
Try setting the compression level. I myself use "--compress=1", which
gives me decent compression for very little cost in backup speed.
--
Michael Heaney
JCVI
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mheaney@jcvi.org
Subject: Re: pg_dump with custom format without compression
In-Reply-To: <226e4bc5-8f3d-44d1-1c06-41c90056f5c5@jcvi.org>
References: <329300973.20170408105802@am-soft.de> <226e4bc5-8f3d-44d1-1c06-41c90056f5c5@jcvi.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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