pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: John Vincent <lusis.org@gmail.com>
Cc: PGSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Performance of pg_dump on PGSQL 8.0
Date: Wed, 14 Jun 2006 16:03:35 -0500
Message-ID: <1150319015.26538.45.camel@state.g2switchworks.com> (raw)
In-Reply-To: <c841561b0606141359g5a0cefa7j8641486f1787445b@mail.gmail.com>
References: <44902165.7020502@lusis.org>
	<1150303450.26538.9.camel@state.g2switchworks.com>
	<c841561b0606141111g9244024oc091c58ecf0e1d94@mail.gmail.com>
	<c841561b0606141256j11605d51m67abfd8467ceae1e@mail.gmail.com>
	<c841561b0606141359g5a0cefa7j8641486f1787445b@mail.gmail.com>

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 <pgsql-performance@lusis.org> 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



view thread (14+ messages)  latest in thread

Message-ID: <1150319015.26538.45.camel@state.g2switchworks.com>
Permalink:  ../1150319015.26538.45.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1150319015.26538.45.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: smarlowe@g2switchworks.com, lusis.org@gmail.com
  Subject: Re: Performance of pg_dump on PGSQL 8.0
  In-Reply-To: <1150319015.26538.45.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox