Just keep in mind that while wal archiving and replication sound very similar they are intended for two different things. Wal Archiving = backup/DR/PITR/standby Replication = High availability/reporting You don’t need to set up archiving for streaming replication, although you may want to; I think scott explains that well. If something bad happens like a mistaken dml or ddl statement, that will get replicated (streaming replication works nice and fast;) and you can not go back to recover, unless you do something tricky with the keep_segments; don’t rely on that. Although, if you are even thinking about doing something tricky with the keep_segments then just setup archiving and forget about it. With archiving you can go back to ANY point in time. With replication you can have a new server w/data up and ready in seconds or off-load read queries for reporting. Use one, the other, or both! Hope that explains it? Let us know if not. -jason On April 14, 2014 at 10:58:29 AM, Scott Whitney (scott@xxxxxxxxxxx) wrote:
This transmission contains confidential and privileged information intended solely for the party identified above. If you receive this message in error, you must not use it or convey it to others. Please destroy it immediately and contact the sender at (303) 386-3955 or by return e-mail to the sender. |