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

From Josh Berkus
Subject Re: Proposal for 9.1: WAL streaming from WAL buffers
Date
Msg-id 4C12B5BA.10803@agliodbs.com
Whole thread Raw
In response to Re: Proposal for 9.1: WAL streaming from WAL buffers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal for 9.1: WAL streaming from WAL buffers
List pgsql-hackers
> 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.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: hstore ==> and deprecate =>
Next
From: Josh Berkus
Date:
Subject: The smallest patch (vacuumdb.c)