Re: Excessive (and slow) fsync() within single transaction - Mailing list pgsql-general

From Tom Lane
Subject Re: Excessive (and slow) fsync() within single transaction
Date
Msg-id 18153.1260320601@sss.pgh.pa.us
Whole thread Raw
In response to Excessive (and slow) fsync() within single transaction  (Stephen Tyler <stephen@stephen-tyler.com>)
List pgsql-general
Stephen Tyler <stephen@stephen-tyler.com> writes:
> My expectation would be that postgresql would issue an fsync() (or perhaps a
> few such calls) at the end of the transaction.  But this does not seem to be
> the case:

fsyncs mostly happen as a result of checkpoint activity.  I wonder
whether you have done any tuning of checkpoint intervals,
shared_buffers, etc.

The very long times to complete the fsyncs sound like a kernel or driver
issue; not much we can do to help you with that.

            regards, tom lane

pgsql-general by date:

Previous
From: George Silva
Date:
Subject: Rules and conditions
Next
From: Tom Lane
Date:
Subject: Re: Linking pg_config (postgres 8.4 in SCO 5.0.7)