On production I have database of size 150 GB. Many rows are deleted from this table and Vacuum is applied on this. Now I need to release unused space from DB to disk for OS. So Vacuum Full needs to be applied. Streaming replication is configured on production server with three secondary nodes. What is best way ?
- Pause replication and run Vacuum FULL on master node. And then Start replication again.
- Stop replication and and recreate after Vacuum FULL on master node.