pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Elliot Chance <elliotchance@gmail.com>
To: Vladimir Rusinov <vladimir@greenmice.info>
Cc: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: pg_dump and XID limit
Date: Wed, 24 Nov 2010 08:54:20 -0600
Message-ID: <4CECD2BC0200002500037DE9@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTikZjY0i2Rxoe1-NdyzBwN2yiD4DnCM+fTXH-z_8@mail.gmail.com>
References: <DC1E3319-08CD-4C61-9565-06D744260261@gmail.com>
	<6420.1290578869@sss.pgh.pa.us>
	<C7D1CBBF-B65F-4047-B9BC-933D9C02D502@gmail.com>
	<AANLkTikZjY0i2Rxoe1-NdyzBwN2yiD4DnCM+fTXH-z_8@mail.gmail.com>

Vladimir Rusinov <vladimir@greenmice.info> wrote:
 
> I think it would be advisable not to use pg_dump on such load.
 
Agreed.
 
> Use fs- or storage-level snapshots instead.
 
Or PITR backup techniques.  Or hot/warm standby.  Or streaming
replication.  Or one of the many good trigger-based replication
products.  Just about any of the alternatives would be better than
pg_dump in the described scenario.  If you leave any transaction
open for hours during a heavy OLTP transaction load you're probably
going to get unpleasant bloat in your database.
 
-Kevin



view thread (6+ messages)  latest in thread

Message-ID: <4CECD2BC0200002500037DE9@gw.wicourts.gov>
Permalink:  ../4CECD2BC0200002500037DE9@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4CECD2BC0200002500037DE9@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, elliotchance@gmail.com, vladimir@greenmice.info, tgl@sss.pgh.pa.us
  Subject: Re: pg_dump and XID limit
  In-Reply-To: <4CECD2BC0200002500037DE9@gw.wicourts.gov>
  References: <DC1E3319-08CD-4C61-9565-06D744260261@gmail.com> <6420.1290578869@sss.pgh.pa.us> <C7D1CBBF-B65F-4047-B9BC-933D9C02D502@gmail.com> <AANLkTikZjY0i2Rxoe1-NdyzBwN2yiD4DnCM+fTXH-z_8@mail.gmail.com> <4CECD2BC0200002500037DE9@gw.wicourts.gov>

* 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