Re: improving concurrent transactin commit rate - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: improving concurrent transactin commit rate
Date
Msg-id 87zlfapfif.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to improving concurrent transactin commit rate  (Sam Mason <sam@samason.me.uk>)
List pgsql-hackers
>>>>> "Sam" == Sam Mason <sam@samason.me.uk> writes:
Sam> Hi,Sam> I had an idea while going home last night and still can't thinkSam> why it's not implemented already as it
seemsobvious.[snip idea about WAL fsyncs]
 

Unless I'm badly misunderstanding you, I think it already has (long
ago).

Only the holder of the WALWriteLock can write and fsync the WAL, and
XLogFlush implements pretty much exactly the logic you described.

-- 
Andrew (irc:RhodiumToad)


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Function C and INOUT parameters
Next
From: Tom Lane
Date:
Subject: Re: Function C and INOUT parameters