Prev: [HACKERS] Streaming replication, retrying from archive
Next: [HACKERS] archive_timeout behavior for no activity
From: Simon Riggs on 20 Jan 2010 18:32 On Wed, 2010-01-20 at 21:26 +0200, Heikki Linnakangas wrote: > So there's just two states: > > 1. Recovering from archive > 2. Streaming > > We start from 1, and switch state at error. > > This gives nice behavior from a user point of view. Standby tries to > make progress using either the archive or streaming, whichever becomes > available first. Sounds good. Easier to drive if we have two gears. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: Dimitri Fontaine on 21 Jan 2010 17:09 Heikki Linnakangas <heikki.linnakangas(a)enterprisedb.com> writes: > Yeah, a lot of that logic and states is completely unnecessary until we > have a synchronous mode. Even then, it seems complex. I hope we'll find something less complex, what I proposed is heavily inspired from londiste (Skytools) table addition to a replication set (parallel COPY), which works fine. > Here's what I've been hacking: [...] > So there's just two states: > > 1. Recovering from archive > 2. Streaming > > We start from 1, and switch state at error. Oh yes that's even more simple! > This gives nice behavior from a user point of view. Standby tries to > make progress using either the archive or streaming, whichever becomes > available first. So tools like pitrtools or walmgr.py will certainly continue being necessary to use in 9.0, right? -- dim -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: Mark Kirkwood on 21 Jan 2010 17:15 Dimitri Fontaine wrote: > Heikki Linnakangas <heikki.linnakangas(a)enterprisedb.com> writes: > >> Yeah, a lot of that logic and states is completely unnecessary until we >> have a synchronous mode. Even then, it seems complex. >> > > I hope we'll find something less complex, what I proposed is heavily > inspired from londiste (Skytools) table addition to a replication set > (parallel COPY), which works fine. > > >> Here's what I've been hacking: >> > [...] > >> So there's just two states: >> >> 1. Recovering from archive >> 2. Streaming >> >> We start from 1, and switch state at error. >> > > Oh yes that's even more simple! > > >> This gives nice behavior from a user point of view. Standby tries to >> make progress using either the archive or streaming, whichever becomes >> available first. >> > > So tools like pitrtools or walmgr.py will certainly continue being > necessary to use in 9.0, right? > > Right now Streaming Replication does not do your backup for you, which some of the tools (e.g walmgr.py) do... Thinking about walmgr.py for a moment - it should be pretty easy (or possible anyway) to make it use streaming replication for server versions >= 9.0. Cheers Mark -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
First
|
Prev
|
Pages: 1 2 3 4 Prev: [HACKERS] Streaming replication, retrying from archive Next: [HACKERS] archive_timeout behavior for no activity |