Re: help with pg_dump timings

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: arnaulist(at)andromeiberica(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: help with pg_dump timings
Date: 2005-10-17 14:28:52
Message-ID: 20051017142852.GV86144@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Browne 2005-10-17 17:04:59 Re: Solving OID wrap-around in 7.4 DB?
Previous Message Craig Servin 2005-10-17 14:25:11 PostgreSQL/Linux/IO Scheduler/File Systems and Performance