Re: Transaction Snapshots and Hot Standby

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Transaction Snapshots and Hot Standby
Дата
Msg-id 1221137639.17270.81.camel@PCD12478
обсуждение исходный текст
Ответ на Re: Transaction Snapshots and Hot Standby  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Transaction Snapshots and Hot Standby
Список pgsql-hackers
On Thu, 2008-09-11 at 15:42 +0300, Heikki Linnakangas wrote:
> One problem with this, BTW, is that if there's a continuous stream of 
> medium-length transaction in the slave, each new snapshot taken will 
> prevent progress in the WAL replay, so the WAL replay will advance in 
> "baby steps", and can fall behind indefinitely.

Why would it fall behind indefinitely ? It only should fall behind to
the "blocking horizon", which should be the start of the longest
currently running transaction... which should be continually advancing
and not too far in the past if there are only medium length transactions
involved. Isn't normal WAL recovery also doing baby-steps, one WAL
record a time ? ;-)

Cheers,
Csaba.




В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Fujii Masao"
Дата:
Сообщение: Re: Synchronous Log Shipping Replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Synchronous Log Shipping Replication