Re: Transaction Snapshots and Hot Standby
От | Merlin Moncure |
---|---|
Тема | Re: Transaction Snapshots and Hot Standby |
Дата | |
Msg-id | b42b73150809110510m1cced7ccy71c3e83781dc914c@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Transaction Snapshots and Hot Standby (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: Transaction Snapshots and Hot Standby
|
Список | pgsql-hackers |
On Thu, Sep 11, 2008 at 7:18 AM, Gregory Stark <stark@enterprisedb.com> wrote: > a) transactions with live snapshots on the slave prevent the master from being > able to vacuum tuples (which defeats the purpose of having a live standby > server for some users). > > or > > b) vacuum on the server which cleans up a tuple the slave has in scope has to > block WAL reply on the slave (which I suppose defeats the purpose of having > a live standby for users concerned more with fail-over latency). There is nothing stopping you from setting up two (or more) slave servers, with one designated as failover that doens't serve queries, right? Option b seems pretty reasonable to me, although I'd prefer to block wal replay vs canceling queries...although it might be nice to manually be able to force wal replay 'with query cancel' via a checkpoint. merlin
В списке pgsql-hackers по дате отправления: