Re: Excessive WAL generation and related performance issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Excessive WAL generation and related performance issue
Дата
Msg-id 3627.1397517449@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Excessive WAL generation and related performance issue  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Excessive WAL generation and related performance issue  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-14 14:33:03 -0700, Joe Conway wrote:
>> checkpoint_segments = 96
>> checkpoint_timeout = 10min

> I bet you'll see noticeably - while still not great - better performance
> by setting checkpoint_timeout to an hour (with a corresponding increase
> in checkpoint_segments).
> Have you checked how often checkpoints are actually created? I'd bet
> it's far more frequent than every 10min with that _segments setting and
> such a load.

My thoughts exactly.  It's not hard to blow through WAL at multiple
megabytes per second with modern machines.  I'd turn on checkpoint logging
and then do whatever you need to do to get the actual intercheckpoint time
up to 10-15 minutes at least.
        regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Including replication slot data in base backups
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Excessive WAL generation and related performance issue