Re: Transaction Snapshots and Hot Standby - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Transaction Snapshots and Hot Standby
Date
Msg-id 48C90DC4.3030202@enterprisedb.com
Whole thread Raw
In response to Re: Transaction Snapshots and Hot Standby  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: Transaction Snapshots and Hot Standby  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: Transaction Snapshots and Hot Standby  ("Robert Haas" <robertmhaas@gmail.com>)
List pgsql-hackers
Merlin Moncure wrote:
> There is nothing stopping you from setting up two (or more) slave
> servers, with one designated as failover that doens't serve queries,
> right?

I'd imagine that even if applying the WAL on the slave is blocked, it's 
still streamed from the master to the slave, and in case of failover the 
slave will fast-forward before starting up as the new master. Of course, 
if it has fallen 3 days behind because of a giant reporting query, it 
can take a while to replay all the WAL that has accumulated.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: [PATCH] Cleanup of GUC units code
Next
From: Csaba Nagy
Date:
Subject: Re: Transaction Snapshots and Hot Standby