Re: time-delayed standbys - Mailing list pgsql-hackers

From Greg Stark
Subject Re: time-delayed standbys
Date
Msg-id BANLkTi=QScpDTkUw3iw6JaO15uUvx_P4qg@mail.gmail.com
Whole thread Raw
In response to time-delayed standbys  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: time-delayed standbys  (Greg Stark <gsstark@mit.edu>)
Re: time-delayed standbys  (Jerry Sievers <gsievers19@comcast.net>)
List pgsql-hackers
On Wed, Apr 20, 2011 at 3:47 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> While I was out at the MySQL conference last week, I heard that one of
> the forthcoming MySQL features is "time-delayed replication":

Incidentally, this is a popular Oracle feature. It's a poor man's
"flashback" and similar to how some filesystems automatically create
regular snapshots of every home directory so you can get back stuff at
some arbitrary point in the past.

I haven't read the patch but are you delaying delivering the log or
delaying replaying it? I think you actually want the latter so in case
of a real failure you can choose between replaying the last 5 minutes
and recovering everything or intentionally dropping that history if
the failure was caused by an application problem.

-- 
greg


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Insufficient description in collation mismatch error
Next
From: Pavel Stehule
Date:
Subject: Re: time-delayed standbys