Re: write ahead logging in standby (streaming replication)

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: write ahead logging in standby (streaming replication)
Дата
Msg-id 3f0b79eb0911121837s7cabdb29j5a76b62530ead3d2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: write ahead logging in standby (streaming replication)  (Greg Smith <greg@2ndquadrant.com>)
Ответы Re: write ahead logging in standby (streaming replication)
Re: write ahead logging in standby (streaming replication)
Список pgsql-hackers
On Fri, Nov 13, 2009 at 11:15 AM, Greg Smith <greg@2ndquadrant.com> wrote:
> Whether or not you think it's sufficient for what you have in mind,
> "synchronous replication" requires a return ACK from the secondary before
> you say things are committed on the primary.  If you don't do that, it's not
> true sync replication anymore; it's asynchronous replication.  Plenty of
> people decide that a local commit combined with a promise to synchronize as
> soon as possible to the slave is good enough for their apps, which as you
> say is getting referred to as "semi-synchronous replication" nowadays.
>  That's an awful name though, because it's not true--that's asynchronous
> replication, just aiming for minimal lag.  It's OK to say that's what you
> want, but you can't say it's really a synchronous commit anymore if you do
> things that way.

Umm... what is your definition of "synchronous"? I'm planning to provide
four synchronization modes as follows, for v8.5. Does this fit in your
thought?
 The primary waits ... before returning "success" of a transaction; * nothing   - asynchronous replication * recv ACK
-semi-synchronous replication * fsync ACK - semi-synchronous replication * redo ACK  - synchronous replication 

Or, in synchronous replication, we must wait a fsync and a redo ACK?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: daveg
Дата:
Сообщение: Re: EOL for 7.4?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: EOL for 7.4?