Re: Excessive (and slow) fsync() within single transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Tyler <stephen(at)stephen-tyler(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Excessive (and slow) fsync() within single transaction
Date: 2009-12-09 01:03:21
Message-ID: 18153.1260320601@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephen Tyler <stephen(at)stephen-tyler(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-12-09 01:16:30 Re: Linking pg_config (postgres 8.4 in SCO 5.0.7)
Previous Message George Silva 2009-12-09 00:52:03 Rules and conditions