Re: ext4 finally doing the right thing - Mailing list pgsql-performance

From Greg Smith
Subject Re: ext4 finally doing the right thing
Date
Msg-id 4B58ED8D.2040804@2ndquadrant.com
Whole thread Raw
In response to Re: ext4 finally doing the right thing  (Pierre Frédéric Caillaud<lists@peufeu.com>)
List pgsql-performance
Pierre Frédéric Caillaud wrote:
>
>     Does postgres write something to the logfile whenever a fsync()
> takes a suspiciously long amount of time ?

Not specifically.  If you're logging statements that take a while, you
can see this indirectly, but commits that just take much longer than usual.

If you turn on log_checkpoints, the "sync time" is broken out for you,
problems in this area can show up there too.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: TPC-C implementation for postgresql?
Next
From: Craig Ringer
Date:
Subject: Re: Slow update query