Re: write ahead logging in standby (streaming replication)

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: write ahead logging in standby (streaming replication)
Date: 2009-11-13 06:17:48
Message-ID: 4AFCFA0C.7010703@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fujii Masao wrote:
> On Fri, Nov 13, 2009 at 1:49 PM, Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
>
>> Right, those are the possibilities, all four of them have valid use cases in
>> the field and are worth implementing. I don't like the label
>> "semi-synchronous replication" myself, but it's a valuable feature to
>> implement, and that is unfortunately the term other parts of the industry
>> use for that approach.
>>
>
> BTW, MySQL and DRBD use the term "semi-synchronous":
> http://forge.mysql.com/wiki/ReplicationFeatures/SemiSyncReplication
> http://www.drbd.org/users-guide/s-replication-protocols.html
>
Yeah, that's the "other parts of the industry" I was referring to.
MySQL uses "semi-synchronous" to distinguish between its completely
asynchronous default replication mode and one where it provides a
somewhat safer implementation. The description reads more as
"asynchronous with some synchronous elements", not "one style of
synchronous implementation". None of their documentation wanders into
the problem area here by calling it a true synchronous solution when
it's really not--MySQL Cluster is their synchronous vehicle.

It's fine to adopt the term "semi-synchronous", as it's become quite
popular and people are going to label the PG implementation with it
regardless of what is settled on here. But we should all try to be
careful to use it as correctly as possible.

--
Greg Smith 2ndQuadrant Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2009-11-13 06:19:42 Re: [PATCH] SE-PgSQL/lite (r2429)
Previous Message Robert Hodges 2009-11-13 06:07:57 Re: write ahead logging in standby (streaming replication)