Re: Proposal for 9.1: WAL streaming from WAL buffers - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Proposal for 9.1: WAL streaming from WAL buffers
Date
Msg-id 4C146B88.8050305@enterprisedb.com
Whole thread Raw
In response to Re: Proposal for 9.1: WAL streaming from WAL buffers  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 12/06/10 01:16, Josh Berkus wrote:
>
>> Well, we're already not waiting for fsync, which is the slowest part.
>> If there's a performance problem, it may be because FADVISE_DONTNEED
>> disables kernel buffering so that we're forced to actually read the data
>> back from disk before sending it on down the wire.
>
> Well, that's fairly direct to solve, no?  Just disable FADVISE_DONTNEED
> if walsenders>  0.

We already do that.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: It's possible to get pg_class oid from GETSTRUC macro?
Next
From: Greg Smith
Date:
Subject: Re: Proposal for 9.1: WAL streaming from WAL buffers