Re: Sync Rep Design

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Sync Rep Design
Дата
Msg-id 1293743400.1892.26310.camel@ebony
обсуждение исходный текст
Ответ на Re: Sync Rep Design  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
On Thu, 2010-12-30 at 22:11 +0200, Marti Raudsepp wrote:

> I think a comment about the "head-of-line blocking" nature of
> streaming repliaction is in order. If you execute massive writes in
> async mode and then run a transaction in sync mode, its commit will be
> delayed until all the async transactions before it have been applied
> on the slave.

Not really sure I understand what you want me to add there. The case you
mention is identical whether we use the word "async" or "sync" where you
mention "in async mode".

Replication doesn't wait until a sync commit is requested, it is
continuously active.

Sync rep's only addition are the reply messages.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Sync Rep Design
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Sync Rep Design