In the previous chapter of this book, you learned a lot about the backup and recovery, which is essential for administration. So far, only logical backups have been covered; I am about to change that in this chapter.
This chapter is all about PostgreSQL's transaction log and what you can do with it to improve your setup and to make things more secure.
The following things will be covered:
- What the transaction log does and why it is needed
- Performing point-in-time-recovery
- Setting up streaming replication
- Replication conflicts
- Monitoring replication
- Synchronous versus asynchronous replication
- Understanding timelines
At the end of the chapter, you will be able to set up transaction log archiving and replication. Keep this in mind: this chapter can never be a comprehensive guide to replication; it is only a short introduction. Full coverage of replication would require...