On Mar 26, 2015, at 10:40 AM, Graeme B. Bell <grb@xxxxxxxxxxxxxxxxx> wrote: > > I could be missing something obvious, but how does this stop e.g. checkpoints, autovacuum etc from occuring and generating new wal that the standby might like? It seems like stopping services accessing the DB is likely to cause a lengthy autovacuum to begin, for example. OK, fair point. But do you care? I care that all committed transactions are on the replica. I don't care if they're still in WAL or written to the backing files. Actually, think about that question, you don't either--WAL gets copied to the replica, then moved to the backing files. Checkpoints don't affect replication as far as I know. And autovacuum? Couldn't care less if its effects are replicated yet; when the replica becomes master, autovacuum will run on it. -- Scott Ribe scott_ribe@xxxxxxxxxxxxxxxx http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin