I have a postgres solution on aws/rds with a master and a read replica.
master slave
hot_standby on on
transaction_read_only on on
pg_is_in_recovery() true true
Having the master set in this way the vacuum and analyze process don't work.
Any idea how to change this setting?
thank you!
Best Answer
Ideally the parameter
hot_standby
should beon
only for slave server andpg_is_in_recovery()
should befalse
for master server.You can follow below steps to make these changes:
hot_standby
is set toon
you can change it tooff
and then restart the server.Hope this will help.