I have a pg_toast table which has a lot of dead tuples accumulating. The autovacuum job on it runs for a very long time. I wanted to tune the autovacuum config, to make it more aggressive.
When i'm trying to set the config I get the following error:
ERROR: permission denied: "pg_toast_16432" is a system catalog
Query used:
ALTER TABLE pg_toast.pg_toast_16432 SET (autovacuum_vacuum_scale_factor = 0);
Postgres version: 11
Can someone please suggest how to tune autoconfig on toast tables?