Re: synchronous_commit=off doesn't always return immediately - Mailing list pgsql-general

From Tom Lane
Subject Re: synchronous_commit=off doesn't always return immediately
Date
Msg-id 16291.1248360298@sss.pgh.pa.us
Whole thread Raw
In response to synchronous_commit=off doesn't always return immediately  (tomrevam <tomer@fabrix.tv>)
Responses Re: synchronous_commit=off doesn't always return immediately  (tomrevam <tomer@fabrix.tv>)
List pgsql-general
tomrevam <tomer@fabrix.tv> writes:
> I set synchronous_commit to off and expected trivial inserts (single row,
> 6-8 columns) to always return quickly. However, I see that during
> checkpoints they sometimes take over a second.

What sort of disk hardware have you got?  It sounds overstressed.

It might help to increase wal_buffers.

            regards, tom lane

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: comparing NEW and OLD (any good this way?)
Next
From: Tom Lane
Date:
Subject: Re: ERROR: unexpected data beyond EOF in block of relation "RelationName"