pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Jones <erik@myemma.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow dump?
Date: Tue, 02 Jan 2007 12:30:24 -0500
Message-ID: <5876.1167759024@sss.pgh.pa.us> (raw)
In-Reply-To: <459A8B51.8000906@myemma.com>
References: <459A8B51.8000906@myemma.com>

Erik Jones <erik@myemma.com> writes:
> Hello, we recently migrated our system from 8.1.x to 8.2 and when 
> running dumps have noticed an extreme decrease in speed where the dump 
> is concerned (by more than a factor of 2).

That's odd.  pg_dump is normally pretty much I/O bound, at least
assuming your tables are sizable.  The only way it wouldn't be is if you
have a datatype with a very slow output converter.  Have you looked into
exactly which tables are slow to dump and what datatypes they contain?
(Running pg_dump with log_min_duration_statement enabled would provide
useful data about which steps take a long time, if you're not sure.)

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <5876.1167759024@sss.pgh.pa.us>
Permalink:  ../5876.1167759024@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5876.1167759024@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, erik@myemma.com
  Subject: Re: Slow dump?
  In-Reply-To: <5876.1167759024@sss.pgh.pa.us>

* 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