Re: admin control over cancelling autovacuum when blocked by a lock

Поиск
Список
Период
Сортировка
От Rui DeSousa
Тема Re: admin control over cancelling autovacuum when blocked by a lock
Дата
Msg-id ACF14079-4541-4300-978C-BEC42339B33F@crazybean.net
обсуждение исходный текст
Ответ на Re: admin control over cancelling autovacuum when blocked by a lock  (John Lumby <johnlumby@hotmail.com>)
Ответы Re: admin control over cancelling autovacuum when blocked by a lock  (MichaelDBA <MichaelDBA@sqlexec.com>)
Re: admin control over cancelling autovacuum when blocked by a lock  (John Lumby <johnlumby@hotmail.com>)
Список pgsql-admin


On Apr 30, 2019, at 9:27 AM, John Lumby <johnlumby@hotmail.com> wrote:

 it does do ANALYZE  -  in this context is that "DDL"?

I would consider that DDL and the application should avoid doing it; otherwise, you end up with blocking issues where both readers and writers are blocked unnecessarily.  The application issuing analyze on its own temp tables is fine and non blocking.  If you must analyze tables then I would limit which processes have access to those tables to avoid blocking issues.

I would look at your auto vacuum/analyze settings as oppose to the application issuing analyze commands as those are going to be a non blocking option.

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

Предыдущее
От: John Lumby
Дата:
Сообщение: Re: admin control over cancelling autovacuum when blocked by a lock
Следующее
От: MichaelDBA
Дата:
Сообщение: Re: admin control over cancelling autovacuum when blocked by a lock