Re: Autovacuum of pg_shdepend

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Ondřej Světlík <osvetlik(at)flexibee(dot)eu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Autovacuum of pg_shdepend
Date: 2016-05-04 15:25:18
Message-ID: 20160504152518.GA102195@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Victor Yegorov 2016-05-04 18:52:04 Re: Autovacuum of pg_shdepend
Previous Message Ondřej Světlík 2016-05-04 15:08:34 Autovacuum of pg_shdepend