X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 05B1ED6F51 for ; Mon, 17 Oct 2005 11:28:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04794-09 for ; Mon, 17 Oct 2005 14:28:45 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id BFB40D721E for ; Mon, 17 Oct 2005 11:28:47 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id A006215231; Mon, 17 Oct 2005 09:28:52 -0500 (CDT) Date: Mon, 17 Oct 2005 09:28:52 -0500 From: "Jim C. Nasby" To: arnaulist@andromeiberica.com Cc: pgsql-admin@postgresql.org Subject: Re: help with pg_dump timings Message-ID: <20051017142852.GV86144@pervasive.com> References: <1d219a6f0510120636h353fa8f5s134407c004e15096@mail.gmail.com> <434FC71B.40608@andromeiberica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <434FC71B.40608@andromeiberica.com> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 required=5 tests=[AWL=0.008] X-Spam-Level: X-Archive-Number: 200510/191 X-Sequence-Number: 19263 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