X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id DED5E9FA621 for ; Wed, 14 Jun 2006 18:03:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 71713-06-3 for ; Wed, 14 Jun 2006 18:03:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 5DA359FA5C8 for ; Wed, 14 Jun 2006 18:03:38 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 14 Jun 2006 21:03:35 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 14 Jun 2006 16:03:35 -0500 Subject: Re: Performance of pg_dump on PGSQL 8.0 From: Scott Marlowe To: John Vincent Cc: PGSQL Performance In-Reply-To: References: <44902165.7020502@lusis.org> <1150303450.26538.9.camel@state.g2switchworks.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1150319015.26538.45.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 14 Jun 2006 16:03:35 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/272 X-Sequence-Number: 19629 How long does gzip take to compress this backup? On Wed, 2006-06-14 at 15:59, John Vincent wrote: > Okay I did another test dumping using the uncompressed backup on the > system unloaded and the time dropped down to 8m for the backup. > There's still the size issue to contend with but as I said, I've got a > fair bit of space left on the SAN to work with. > > On 6/14/06, John Vincent wrote: > Well I did a test to answer my own question: > > -rw-r--r-- 1 postgres postgres 167M Jun 14 01:43 > claDW_PGSQL-20060613170001.bak > -rw-r--r-- 1 root root 2.4G Jun 14 14:45 > claDW_PGSQL.test.bak > > the claDW_PGSQL database is a subset of the data in the main > schema that I'm dealing with. > > I did several tests using -Fc -Z0 and a straight pg_dump with > no format option. > > The file size is about 1300% larger and takes just as long to > dump even for that small database. > > Interestingly enough gzip compresses about 1M smaller with no > gzip options. > > I don't know that the uncompressed is really helping much. I'm > going to run another query when there's no other users on the > system and see how it goes. > > > > -- > John E. Vincent