Re: Can WAL files be shipped to multiple servers?

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Steeles <steeles(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can WAL files be shipped to multiple servers?
Date: 2010-07-23 17:53:47
Message-ID: 4C49D72B.6080902@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steeles wrote:
> also, once the target PG database receives WAL files and update its
> own database, can I run pg_dump to dump all the data when it is in
> recovery mode?

Not while it's in recovery mode. If you upgrade to the soon to be
released PostgreSQL 9.0, it's possible to bring the server up in Hot
Standby mode, which will allow pg_dump to execute against the standby.
Note that you have to be careful to tune the standby for this, as
pg_dump will act like a really long running transaction and there's a
risk of it being canceled if activity on the master conflicts with what
it's trying to dump.

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Frankel 2010-07-23 18:27:01 prepared statements
Previous Message Adrian Klaver 2010-07-23 16:56:37 Re: Can WAL files be shipped to multiple servers?