Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpB0A-0000bx-Kx for pgsql-general@arkaria.postgresql.org; Fri, 04 Jun 2021 14:40:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lpB09-00051U-J6 for pgsql-general@arkaria.postgresql.org; Fri, 04 Jun 2021 14:40:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpB09-00050Q-7b for pgsql-general@lists.postgresql.org; Fri, 04 Jun 2021 14:40:45 +0000 Received: from mx3.stadt-zuerich.ch ([194.56.33.12]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpB04-00086p-3z for pgsql-general@lists.postgresql.org; Fri, 04 Jun 2021 14:40:44 +0000 IronPort-SDR: FOr6GtDB95GG22y9UJaKqKU6eSCBkC2VbG3EGHEZwvdtkE5RR41oFh2RlKtwRb4Cb7c59tdikg 7Pxvem+vU7MuOI/QBPCQsb+a8e7XQwkHpbua74My2pMIwcMFcX8NmGUm7uEL+YMY7SnnJ4vp6M p3yI03q/C0A4RkeA/gDtyWGh1KZYjfIrQbJOmOjmSo3Wap7HNgfC+D7OHUGWjJBKXJBq/cVgnb g1T7GrRk/ul55MnssMbImjwiQYZRLC1p5UJaZX9wZuj+6LqruztBaVUf4NjY3L0u4KbF+dZv2A rkA= X-IronPort-AV: E=Sophos;i="5.83,248,1616454000"; d="scan'208,217";a="53626281" Received: from unknown (HELO SZHM27375.global.szh.loc) ([10.7.49.70]) by mx3.prm.szh.zone with ESMTP/TLS/AES256-GCM-SHA384; 04 Jun 2021 16:40:39 +0200 Received: from SZHM27370.global.szh.loc (10.7.50.50) by SZHM27375.global.szh.loc (10.7.49.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 4 Jun 2021 16:40:38 +0200 Received: from SZHM27370.global.szh.loc ([fe80::25ce:879f:5795:3325]) by SZHM27370.global.szh.loc ([fe80::25ce:879f:5795:3325%10]) with mapi id 15.01.2176.009; Fri, 4 Jun 2021 16:40:38 +0200 From: "Zwettler Markus (OIZ)" To: "pgsql-general@lists.postgresql.org" Subject: autovacuum on pg_catalog tables Thread-Topic: autovacuum on pg_catalog tables Thread-Index: AddZT5UPEdaXXKxeRii5KrovoTFbUQ== Date: Fri, 4 Jun 2021 14:40:38 +0000 Message-ID: Accept-Language: de-CH, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.48.249] Content-Type: multipart/alternative; boundary="_000_b3fbaca128484f059c9c78b8a3c1ad88zuerichch_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_b3fbaca128484f059c9c78b8a3c1ad88zuerichch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I would like to start a more aggressive autovacuum on pg_catalog tables lik= e pg_largeobject. So I tried as a superuser: # alter table pg_catalog.pg_largeobject_metadata set (autovacuum_vacuum_sca= le_factor =3D 0, autovacuum_vacuum_threshold =3D 5000); ERROR: permission denied: "pg_largeobject_metadata" is a system catalog (How) Is it possible to change such table attributes on pg_catalog tables? Thanks, Markus --_000_b3fbaca128484f059c9c78b8a3c1ad88zuerichch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I wo= uld like to start a more aggressive autovacuum on pg_catalog tables like pg= _largeobject.

 

So I= tried as a superuser:

 

# al= ter table pg_catalog.pg_largeobject_metadata set (autovacuum_vacuum_scale_f= actor =3D 0, autovacuum_vacuum_threshold =3D 5000);

ERRO= R:  permission denied: "pg_largeobject_metadata" is a system= catalog

 

(How= ) Is it possible to change such table attributes on pg_catalog tables?=

 

Than= ks, Markus

 

 

--_000_b3fbaca128484f059c9c78b8a3c1ad88zuerichch_--