Re: Checkpoint Tuning Question

Поиск
Список
Период
Сортировка
От Dan Armbrust
Тема Re: Checkpoint Tuning Question
Дата
Msg-id 82f04dc40907081130l33233109mc804de82f0a4528c@mail.gmail.com
обсуждение исходный текст
Ответ на Checkpoint Tuning Question  (Dan Armbrust <daniel.armbrust.list@gmail.com>)
Ответы Re: Checkpoint Tuning Question
Список pgsql-general
On Wed, Jul 8, 2009 at 1:23 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Dan Armbrust <daniel.armbrust.list@gmail.com> writes:
>> With checkpoint_segments set to 10, the checkpoints appear to be
>> happening due to checkpoint_timeout - which I've left at the default
>> of 5 minutes.
>
> Well, you could increase both those settings so as to put the
> checkpoints further apart, and/or increase checkpoint_completion_target
> to spread the checkpoint I/O over a larger fraction of the cycle.
>
>                        regards, tom lane
>

Sorry, didn't mean to get off list.

Wouldn't increasing the length between checkpoints result in the
checkpoint process taking even longer to complete?

The way my system processes and buffers incoming data, having
infrequent (but long and disruptive) checkpoints is bad, since it
causes the throughput to suffer so bad - my buffers can't hold the
flood, and I have to drop data.  If I can reduce the impact of the
checkpoints, and have them occur more frequently, they my buffers
should be able to hold the incoming data during the short durations
that I have slow queries.

I'll go experiment with checkpoint_completion_target.

Thanks,

Dan

В списке pgsql-general по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: PostgreSQL and Poker
Следующее
От: Madison Kelly
Дата:
Сообщение: now() + '4d' AT TIME ZONE issue