Re: Autovacuum of pg_shdepend

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Autovacuum of pg_shdepend
Дата
Msg-id 20160504152518.GA102195@alvherre.pgsql
обсуждение исходный текст
Ответ на Autovacuum of pg_shdepend  (Ondřej Světlík <osvetlik@flexibee.eu>)
Ответы Re: Autovacuum of pg_shdepend  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Autovacuum of pg_shdepend  (Ondřej Světlík <osvetlik@flexibee.eu>)
Список pgsql-admin
Ondřej Světlík wrote:
> Hello,
>
> we have a strange problem with autovacuum. We have three workers, but
> usually only one works and two are waiting as they are all trying to process
> table pg_shdepend which is shared between all databases.

Ooh, interesting bug.

As a workaround I suggest connecting to all of your databases except one
and disabling autovacuum for pg_shdepend.  Then the table will be
processed in the one database where you left it enabled, and the other
workers will take care of the rest of the tables.

I'll think about a real fix.

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


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

Предыдущее
От: Ondřej Světlík
Дата:
Сообщение: Autovacuum of pg_shdepend
Следующее
От: Victor Yegorov
Дата:
Сообщение: Re: Autovacuum of pg_shdepend