In Chapter 9, Handling Backup and Recovery, you learned a lot about 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
- Logical replication
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...