PostgreSQL Autovacuum – Does Autovacuum Wake Up in Slave?

autovacuumpostgresql

I cannot find the answer to question what I wrote in the title. Postgres automatically wake vacuum by autovacuum, but when it's slave does slave wake up autovacuum process?

Best Answer

No. Vacuum only runs on the master. The results of vacuuming are WAL logged and so replicated through to the slave via the normal WAL replay mechanism.