Re: Autovacuum of pg_shdepend

From: Victor Yegorov <vyegorov(at)gmail(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 18:52:04
Message-ID: CAGnEbojHefZpb=ywyJV1JAm5MA1epoOy9h7e0h5=_KSey6cSEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2016-05-04 18:08 GMT+03:00 Ondřej Světlík <osvetlik(at)flexibee(dot)eu>:

> 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.

I hit the same issue when we've migrated out all large objects (~200Gb
total), I've executed `vacuumlo` and then all autovacuums started to
process `pg_shdepend`.
They've been picking on this table over and over again from different
databases, but were stopping on the truncation phase due to other
autovacuums were waiting on the same table.

I ended up manually vacuuming this table in the database, that was cleaned
up, and also in the `postgres` DB. It fixed the case for me.
This was on 9.0.23 though.

--
Victor Y. Yegorov

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2016-05-04 19:07:07 Re: Autovacuum of pg_shdepend
Previous Message Alvaro Herrera 2016-05-04 15:25:18 Re: Autovacuum of pg_shdepend