pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: autovacuum doesnt run on the pg_toast_id table
Date: Thu, 17 Jan 2019 14:52:41 -0300
Message-ID: <201901171752.2cdiwqezrwjk@alvherre.pgsql> (raw)
In-Reply-To: <CA+t6e1nd6odb2pzSASzzsUx6pTmTQ7EExjFuyRkmVh8cdm8QFw@mail.gmail.com>

On 2019-Jan-17, Mariel Cherkassky wrote:

> I tried to set the same threshold for the toasted table but got an error
> that it is a catalog table and therefore permission is denied.
> 2019-01-17 12:04:15 EST db116109  ERROR:  permission denied:
> "pg_toast_13388392" is a system catalog
> 2019-01-17 12:04:15 EST db116109  STATEMENT:  alter table
> pg_toast.pg_toast_13388392 set (autovacuum_vacuum_scale_factor=0.05);

The right way to do this is
  alter table main_table set (toast.autovacuum_vacuum_scale_factor = 0.05);

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




view thread (8+ messages)  latest in thread

Message-ID: <201901171752.2cdiwqezrwjk@alvherre.pgsql>
Permalink:  ../201901171752.2cdiwqezrwjk@alvherre.pgsql/
Also on:    postgresql.org/message-id/201901171752.2cdiwqezrwjk@alvherre.pgsql

 · 

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-performance@postgresql.org
  Cc: alvherre@2ndquadrant.com, mariel.cherkassky@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: autovacuum doesnt run on the pg_toast_id table
  In-Reply-To: <201901171752.2cdiwqezrwjk@alvherre.pgsql>

* 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