How do I know whether autovacuum is enabled in PostgreSQL?

https://access.redhat.com/solutions/506533
SOLUTION IN PROGRESS - 已更新 2014年七月10日15:10 -
English
环境

  • Red Hat Enterprise Linux 6
  • postgresql
问题
  • How do I know whether autovacuum is enabled?
  • "autovacuum = on" is commented out in the postgresql.conf. What is the default value, on or off?
决议
  • autovacuum is on by default. To confirm, look for the following output in pg_log/postgresql-.log during startup:
Raw
LOG:autovacuum launcher started

  • check autovacuum launcher process by ps
【How do I know whether autovacuum is enabled in PostgreSQL?】Raw
# ps aux|grep autovacuum root64640.00.0 103252828 pts/0R+07:520:00 grep autovacuum postgres 277540.00.0 602780804 ?SsJul030:28 postgres: autovacuum launcher process

    推荐阅读