Re: [GENERAL] autovacuum holds exclusive lock on table preventing itfrom to be updated

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [GENERAL] autovacuum holds exclusive lock on table preventing itfrom to be updated
Дата
Msg-id 20170619174232.7ltssvo6axg2iejb@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [GENERAL] autovacuum holds exclusive lock on table preventing itfrom to be updated  (Dmitry O Litvintsev <litvinse@fnal.gov>)
Список pgsql-general
Dmitry O Litvintsev wrote:
> Hi
>
> Since I have posted this nothing really changed. I am starting to panic (mildly).

...

> vacuum_cost_delay = 50ms

Most likely, this value is far too high.  You're causing autovacuum to
sleep for a very long time with this setting.  Hard to say for certain
without seeing the cost_limit value and the other related parameters,
but it's most certainly what's causing you pain.  The default of 20ms is
already too high for most users.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Dmitry O Litvintsev
Дата:
Сообщение: Re: [GENERAL] autovacuum holds exclusive lock on table preventing itfrom to be updated
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [GENERAL] autovacuum holds exclusive lock on table preventing itfrom to be updated