Re: help with pg_dump timings - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: help with pg_dump timings
Date
Msg-id 20051017142852.GV86144@pervasive.com
Whole thread Raw
In response to Re: help with pg_dump timings  (Arnau Rebassa Villalonga <arebassa@andromeiberica.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Craig Servin
Date:
Subject: PostgreSQL/Linux/IO Scheduler/File Systems and Performance
Next
From: Chris Browne
Date:
Subject: Re: Solving OID wrap-around in 7.4 DB?