Re: How to avoid transaction ID wrap

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to avoid transaction ID wrap
Дата
Msg-id 28061.1149781428@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to avoid transaction ID wrap  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: How to avoid transaction ID wrap  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> I was recently involved in a project where we had to decrease the 
> checkpoint_timeout . The problem was, that the database was performing 
> so many transactions that if we waiting for 5 minutes, checkpoint would 
> take entirely too long.

Seems like the correct fix for that is to make the bgwriter more
aggressive.  Narrowing the checkpoint spacing is a pretty horrid answer
because of the resulting increase in full-page-image WAL traffic.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: ADD/DROP INHERITS
Следующее
От: David Fetter
Дата:
Сообщение: Re: [PATCHES] drop if exists remainder