Re: Vacuum stops with misleading max_fsm_pages error

Поиск
Список
Период
Сортировка
От Matthew O'Connor
Тема Re: Vacuum stops with misleading max_fsm_pages error
Дата
Msg-id 4624C7E5.7060506@zeut.net
обсуждение исходный текст
Ответ на Re: Vacuum stops with misleading max_fsm_pages error  ("Kieran Cooper, Lyris UK" <kieran@lyris.co.uk>)
Список pgsql-admin
Kieran Cooper, Lyris UK wrote:
>> What is it about autovacuum that isn't working for you?
>
> Hi Matthew. I have to admit that I haven't tested full yet, but here's
> the scenario:
> When Lyris sends a mailing there is an intense amount of database
> activity - particularly on two tables. When I had auto vacuum set up,
> the database just wasn't responding fast enough, so the mailing speed
> dropped as Lyris dynamically adjusted based on the speed of db response.
> I guess what I need to do is tweak the intervals and the sleep time so
> that vacuum backs off when the database is really busy - do you have any
> thoughts on what settings I should try in order to acheive that?


The sleep intervals are one thing, but what you probably really want to
play with are they vacuum cost delay and limit settings.  This is
throttle down how much IO autovacuum can consume.

http://www.postgresql.org/docs/8.2/interactive/runtime-config-autovacuum.html

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

Предыдущее
От: "Milen A. Radev"
Дата:
Сообщение: Re: Checking a size of a given database
Следующее
От: "Alexander B."
Дата:
Сообщение: waiting status