Assuming that I am not using logical replication...
I'm not clear on how the low level replication interacts with other low level operations like vacuum and analyze.
I'm not clear on whether replicas tend towards being block level copies of their primary server, with changes made by vacuum on the primary being replicated on the replica. Or if replicas are more responsible for self maintenance.
Background
We have an RDS instance that is growing around 2 TB per year. Today we noticed some of our existing queries are running very slow.
With a sudden change happening to a query on a very large table that grows really consistently, my first instinct is to check for code changes and my second is to check table stats.
But this has pointed to a gap in my knowledge when it comes to vacuum / analyze.