AW: autovacuum is ON in the system but commented out in postgresql.conf

From: "Subramanian,Ramachandran" <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: AW: autovacuum is ON in the system but commented out in postgresql.conf
Date: 2026-05-13 13:21:30
Message-ID: 3baba9eb5f6747ef84251942951edcf5@alte-leipziger.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

So autovacuum is by default ON and that is why even though it is commented out in the postgresql.conf it is still active.

Is my understanding of your answer correct ?

LG

Ram

BTW

postgres(at)lx90177:/var/lib/pgsql/work/scripts$ psql -f a
source | sourcefile | sourceline | pending_restart
---------+------------+------------+-----------------
default | | | f
(1 row)

postgres(at)lx90177:/var/lib/pgsql/work/scripts$ psql -c " show autovacuum"
autovacuum
------------
on
(1 row)

postgres(at)lx90177:/var/lib/pgsql/work/scripts$ cat ~/AUFGABEN-VERWAL/data/postgresql.conf | grep autovacuum
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
#log_autovacuum_min_duration = 10min # log autovacuum activity;
#autovacuum = on # Enable autovacuum subprocess? 'on'
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
#autovacuum_naptime = 1min # time between autovacuum runs
#autovacuum_vacuum_threshold = 50 # min number of row updates before
#autovacuum_vacuum_insert_threshold = 1000 # min number of row inserts
#autovacuum_analyze_threshold = 50 # min number of row updates before
#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
#autovacuum_vacuum_insert_scale_factor = 0.2 # fraction of inserts over table
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
# autovacuum, in milliseconds;
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
# autovacuum, -1 means use
postgres(at)lx90177:/var/lib/pgsql/work/scripts$

Freundliche Grüße

i. A. Ramachandran Subramanian
Zentralbereich Informationstechnologie

Alte Leipziger Lebensversicherung a.G.

Hallesche Krankenversicherung a.G.

Alte Leipziger Lebensversicherung a.G., Alte Leipziger-Platz 1, 61440 Oberursel
Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape, Wiltrud Pekarek, Udo Wilcsek
Sitz Oberursel (Taunus) · Rechtsform VVaG · Amtsgericht Bad Homburg v. d. H. HRB 1583 · USt.-IdNr. DE 114106814


Hallesche Krankenversicherung a.G., Löffelstraße 34-38, 70597 Stuttgart
Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape,
Wiltrud Pekarek, Udo Wilcsek
Sitz Stuttgart · Rechtsform VVaG · Amtsgericht Stuttgart HRB 2686 · USt.-IdNr. DE 147802285
Beiträge zu privaten Kranken- und Pflegekrankenversicherungen unterliegen nicht der Versicherungsteuer (§ 4 Nr. 5 VersStG) · Versicherungsleistungen sowie Umsätze aus Versicherungsvertreter-/Maklertätigkeiten sind umsatzsteuerfrei


Die Pflichtangaben der ALH Gruppe gemäß § 35a GmbHG bzw. § 80 AktG finden Sie hier: https://www.alte-leipziger.de/impressum

______________________

ALH Gruppe
Alte Leipziger-Platz 1, 61440 Oberursel
Tel.: +49 (6171) 66-4882
Fax: +49 (6171) 66-800-4882
E-Mail: ramachandran(dot)subramanian(at)alte-leipziger(dot)de
www.alte-leipziger.de
www.hallesche.de

Von: David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Gesendet: Mittwoch, 13. Mai 2026 14:31
An: Subramanian,Ramachandran IT-md-db <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>
Cc: pgsql-novice(at)lists(dot)postgresql(dot)org
Betreff: Re: autovacuum is ON in the system but commented out in postgresql.conf

On Wednesday, May 13, 2026, Subramanian,Ramachandran <ramachandran(dot)subramanian(at)alte-leipziger(dot)de<mailto:ramachandran(dot)subramanian(at)alte-leipziger(dot)de>> wrote:
I see the autovacuum is on , but when I look at postgresql.conf all the relevant lines are commented out. How should I understand this ?
Every setting is comment yet every setting must have a value - I’d assume that means I’m seeing the default setting. The comments at the top of the file should confirm this assumption. As should the documentation.

David J.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Laurenz Albe 2026-05-13 13:35:27 Re: AW: autovacuum is ON in the system but commented out in postgresql.conf
Previous Message David G. Johnston 2026-05-13 12:30:36 Re: autovacuum is ON in the system but commented out in postgresql.conf