Re: WALWriter active during recovery - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: WALWriter active during recovery
Date
Msg-id 20141217133909.GB1768@alvh.no-ip.org
Whole thread Raw
In response to Re: WALWriter active during recovery  (didier <did447@gmail.com>)
Responses Re: WALWriter active during recovery  (didier <did447@gmail.com>)
List pgsql-hackers
didier wrote:

> On many Linux systems it may not do that much (2.6.32 and 3.2 are bad,
> 3.13 is better but still it slows the fsync).
> 
> If there's a fsync in progress WALReceiver will:
> 1- slow the fsync because its writes to the same file are grabbed by the fsync
> 2- stall until the end of fsync.

Is this behavior filesystem-dependent?


-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: POLA violation with \c service=
Next
From: Heikki Linnakangas
Date:
Subject: exitArchiveRecovery woes