Re: Walreceiver fsyncs excessively

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Walreceiver fsyncs excessively
Date: 2011-01-13 16:31:11
Message-ID: 4D2F28CF.7040607@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13.01.2011 14:34, Fujii Masao wrote:
> On Thu, Jan 13, 2011 at 9:01 PM, Heikki Linnakangas
> <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
>> Attached patch fixes libpqrcv_receive() so that it calls PQconsumeInput()
>> before concluding that there's no data available. The excessive fsyncing can
>> lead to very bad performance, so this needs to be appled to 9.0 too.
>
> Seems good.
>
> Can we remove the "justconnected" flag, thanks to the patch?

Yes, good point. Committed with "justconnected" removed.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2011-01-13 16:35:45 Re: psql crashes on encoding mismatch
Previous Message Kevin Grittner 2011-01-13 16:28:19 Re: SSI patch version 8