pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: Restoring DB From A Log?
Date: Mon, 22 Mar 2004 11:34:15 -0500
Message-ID: <20040322163415.GC11738@phlogiston.dyndns.org> (raw)
In-Reply-To: <_8GcnZrZwrXI3sHdRWPC-g@speakeasy.net>
References: <_8GcnZrZwrXI3sHdRWPC-g@speakeasy.net>
On Sat, Mar 20, 2004 at 08:12:02AM -0500, Al Cohen wrote:
> In our particular situation, being down for two hours or so is OK.
> What's really bad is losing data.
>
> The PostgreSQL replication solutions that we're seeing are very clever,
> but seem to require significant effort to set up and keep going. Since
> we don't care if a slave DB is ready to kick over at a moment's notice,
> I'm wondering if there is some way to generate data, in real time, that
> would allow an offline rebuild in the event of catastrophe. We could
> copy this data across the 'net as it's available, so we could be OK even
> if the place burned down.
>
Your closest current bet is one of the (admittedly possibly painful
to use) async replication systems available. Note that _no_ async
system, log shipping, whatever can guarantee zero data loss: if you
lose the active master in a catastrophic explosion which consumes all
your disk, there is the possibility that there will be records which
were committed on that master but which were not committed anywhere
else. This is even true of PITR approaches which stream the WAL to
some system in another city: you're only as up to date as the last
packet sent, and if a bomb goes off in your cage in your data centre,
you're going to lose something no matter what.
You might like to follow the Slony project, which has as one of its
design goals much easier administration than erserver. You may also
want to watch the PITR project, which appears to be aiming to get
into 7.5.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
view thread (2+ messages)
Message-ID: <20040322163415.GC11738@phlogiston.dyndns.org> Permalink: ../20040322163415.GC11738@phlogiston.dyndns.org/ Also on: postgresql.org/message-id/20040322163415.GC11738@phlogiston.dyndns.org ·
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: ajs@crankycanuck.ca Subject: Re: Restoring DB From A Log? In-Reply-To: <20040322163415.GC11738@phlogiston.dyndns.org> References: <_8GcnZrZwrXI3sHdRWPC-g@speakeasy.net> <20040322163415.GC11738@phlogiston.dyndns.org> * 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