How can I tell if PostgreSQL's Autovacuum is running on UNIX?

前端 未结 3 1720
鱼传尺愫
鱼传尺愫 2021-02-06 20:55

How can one tell if the autovacuum daemon in Postgres 9.x is running and maintaining the database cluster?

3条回答
  •  青春惊慌失措
    2021-02-06 21:30

    You can also run pg_activity to see the currently running queries on your database. I generally leave a terminal open with this running most of the time anyway as it's very useful.

提交回复
热议问题