Re: Synchronization levels in SR

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Synchronization levels in SR
Date: 2010-09-08 10:52:09
Message-ID: 4C876AD9.1080000@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fujii Masao írta:
> On Wed, Sep 8, 2010 at 7:04 PM, Boszormenyi Zoltan <zb(at)cybertec(dot)at> wrote:
>
>> Then there is no use to implement individual sync/async
>> replicated transactions, period. An async replicated transaction
>> that waits for a sync replicated transaction because of locks
>> will become implicitely sync. It just waits for another transactions'
>> sync ack.
>>
>
> Hmm.. it's the same with async transaction (i.e., synchronous_commit = false)
> and sync one (synchronous_commit = true). Async transaction cannot take the
> lock held by sync one until the sync has flushed the WAL.
>

You are right.

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
http://www.postgresql.at/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-09-08 11:43:15 Re: Synchronization levels in SR
Previous Message Marko Kreen 2010-09-08 10:45:37 Re: UTF16 surrogate pairs in UTF8 encoding