pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: arnaulist@andromeiberica.com
Cc: pgsql-admin@postgresql.org
Subject: Re: help with pg_dump timings
Date: Mon, 17 Oct 2005 09:28:52 -0500
Message-ID: <20051017142852.GV86144@pervasive.com> (raw)
In-Reply-To: <434FC71B.40608@andromeiberica.com>
References: <1d219a6f0510120636h353fa8f5s134407c004e15096@mail.gmail.com>
	<434FC71B.40608@andromeiberica.com>

On Fri, Oct 14, 2005 at 04:56:27PM +0200, Arnau Rebassa Villalonga wrote:
> Hi,
> 
> >Also, what -Z compression level equals the compression of gzip?  I've 
> >played with -Z9, but it seems to compress better than gzip (but takes a 
> >bit longer).
> 
>   I haven't done timing measurements but what I have noticed is that if
> you use the custom format and after you try to compress the resultant
> file, the size is not reduced that much, so it's not worth to spend time
> compressing.

I haven't read the source, but I believe that by default custom format
dumps are compressed at zlib level 6. So if you want to compress them
yourself, you should sepcify -Z0.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (4+ messages)

Message-ID: <20051017142852.GV86144@pervasive.com>
Permalink:  ../20051017142852.GV86144@pervasive.com/
Also on:    postgresql.org/message-id/20051017142852.GV86144@pervasive.com

 · 

reply

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: jnasby@pervasive.com, arnaulist@andromeiberica.com
  Subject: Re: help with pg_dump timings
  In-Reply-To: <20051017142852.GV86144@pervasive.com>
  References: <1d219a6f0510120636h353fa8f5s134407c004e15096@mail.gmail.com> <434FC71B.40608@andromeiberica.com> <20051017142852.GV86144@pervasive.com>

* 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