Re: bgwriter, checkpoints, curious (seeing delays)

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: bgwriter, checkpoints, curious (seeing delays)
Дата
Msg-id 1267168816.2094.57.camel@hp-laptop2.gunduz.org
обсуждение исходный текст
Ответ на Re: bgwriter, checkpoints, curious (seeing delays)  (Tory M Blue <tmblue@gmail.com>)
Ответы Re: bgwriter, checkpoints, curious (seeing delays)
Список pgsql-performance
On Thu, 2010-02-25 at 23:01 -0800, Tory M Blue wrote:

> Checkpoint_timeout is the default and that looks like 5 mins (300
> seconds). And is obviously why I have such a discrepancy between time
> reached and requested.

If you have a high load, you may want to start tuning with 15 minutes,
and bump it to 30 mins if needed. Also you may want to decrease segments
value based on your findings, since increasing only one of them won't
help you a lot.

As I wrote before, pg_stat_bgwriter is your friend here.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Вложения

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

Предыдущее
От: Tory M Blue
Дата:
Сообщение: Re: bgwriter, checkpoints, curious (seeing delays)
Следующее
От: Greg Smith
Дата:
Сообщение: Re: bgwriter, checkpoints, curious (seeing delays)