Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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    work: 512-231-6117
vcard:       cell: 512-569-9461

In response to

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group