Re: Slow INSERT - Mailing list pgsql-performance

From Tom Lane
Subject Re: Slow INSERT
Date
Msg-id 1472.1088524977@sss.pgh.pa.us
Whole thread Raw
In response to Re: Slow INSERT  (Michal Taborsky <michal@taborsky.cz>)
List pgsql-performance
Michal Taborsky <michal@taborsky.cz> writes:
> I've read the discussion in "Trying to minimize the impact of
> checkpoints" thread and I get it, that there is nothing I can do about
> it. Well, we'll have to live with that, at least until 7.5.

You could experiment with the checkpoint interval (checkpoint_timeout).
A shorter interval will mean more total I/O (the same page will get
written out more often) but it should reduce the amount of I/O done by
any one checkpoint.  You might find that the extra overhead is worth it
to reduce the spikes.

But 7.5 should provide a much better answer, yes.

            regards, tom lane

pgsql-performance by date:

Previous
From: Michal Taborsky
Date:
Subject: Re: Slow INSERT
Next
From: "Gavin M. Roy"
Date:
Subject: Re: postgres 7.4 at 100%