pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ondřej Světlík <osvetlik@flexibee.eu>
To: pgsql-admin@postgresql.org
Subject: Re: Autovacuum of pg_shdepend
Date: Wed, 4 May 2016 21:09:07 +0200
Message-ID: <572A48D3.9040906@flexibee.eu> (raw)
In-Reply-To: <20160504152518.GA102195@alvherre.pgsql>
References: <20160504152518.GA102195@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Dne 4.5.2016 v 17:25 Alvaro Herrera napsal(a):
> 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.
>


Thank you, Alvaro,

we have already tried this, but we are not permitted to alter system 
tables. Changing allow_system_table_mods doesn't seem safe enough, is 
there another way to achieve this?

Oh, I forgot to mention this is 9.4.7.

Thanks,

Ondřej


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (10+ messages)  latest in thread

Message-ID: <572A48D3.9040906@flexibee.eu>
Permalink:  ../572A48D3.9040906@flexibee.eu/
Also on:    postgresql.org/message-id/572A48D3.9040906@flexibee.eu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: osvetlik@flexibee.eu
  Subject: Re: Autovacuum of pg_shdepend
  In-Reply-To: <572A48D3.9040906@flexibee.eu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox