Re: checkpoint segments

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: checkpoint segments
Дата
Msg-id 200505152026.02262.josh@agliodbs.com
обсуждение исходный текст
Ответ на checkpoint segments  ("David Parker" <dparker@tazznetworks.com>)
Ответы Re: checkpoint segments  (Alvaro Herrera <alvherre@surnet.cl>)
Список pgsql-performance
David,

> I've seen these messages in the log before, and am aware of the need to
> increase checkpoint_segments, but I wasn't aware that recycling a
> transaction log could be that damaging to performance. There may have
> been some local hiccup in this case, but I'm wondering if recycling is
> known to be a big hit in general, and if I should strive to tune so that
> it never happens (if that's possible)?

Yes, and yes.   Simply allocating more checkpoint segments (which can eat a
lot of disk space -- requirements are 16mb*(2 * segments +1) ) will prevent
this problem.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Re: PostgreSQL strugling during high load
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Postgresql Performance via the LSI MegaRAID 2x Card