Re: [HACKERS] sync rep & fsync=off

2011-03-24 Thread Fujii Masao
On Sun, Mar 20, 2011 at 5:31 AM, Robert Haas wrote: > On Sat, Mar 19, 2011 at 11:34 AM, Grzegorz Jaskiewicz > wrote: >> >> On 18 Mar 2011, at 21:12, Robert Haas wrote: >> >>> While investigating Simon's complaint about my patch of a few days >>> ago, I discovered that synchronous replication appe

Re: [HACKERS] sync rep & fsync=off

2011-03-19 Thread Robert Haas
On Sat, Mar 19, 2011 at 11:34 AM, Grzegorz Jaskiewicz wrote: > > On 18 Mar 2011, at 21:12, Robert Haas wrote: > >> 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 standb

Re: [HACKERS] sync rep & fsync=off

2011-03-19 Thread Grzegorz Jaskiewicz
On 18 Mar 2011, at 21:12, Robert Haas wrote: > 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

[HACKERS] sync rep & fsync=off

2011-03-18 Thread Robert Haas
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