sync rep & fsync=off

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: sync rep & fsync=off
Date: 2011-03-18 21:12:22
Message-ID: AANLkTikvpjkUjwksZK=wOw7CDyMtaVEddmPN9yFv7jX-@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While investigating Simon's complaint about my patch of a few days
ago, I discovered that synchronous replication appears to slow to a
crawl if fsync is turned off on the standby.

I'm not sure why this is happening or what the right behavior is in
this case, but I think some kind of adjustment is needed because the
current behavior is quite surprising.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-03-18 21:13:43 Re: 2nd Level Buffer Cache
Previous Message Aidan Van Dyk 2011-03-18 21:08:11 Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.