PostgreSQL Logical Replication Internals and Slot Management
Test your knowledge on logical decoding, replication slots, LSN tracking, and the intricacies of scaling Postgres data synchronization.
Sample Questions
Which process on the PostgreSQL publisher is responsible for sending WAL data to a logical subscriber?
- WALWriter
- WALSender
- Checkpointer
- Logger
Which system view allows an administrator to monitor the state and lag of logical replication slots?
- pg_replication_slots
- pg_stat_replication
- pg_logical_slots
- pg_subscription_rel
What is the purpose of the 'restart_lsn' column in pg_replication_slots for a logical slot?
- The LSN of the last transaction applied on the subscriber
- The LSN of the next transaction to be decoded
- The oldest LSN for which WAL files must still be retained on disk
- The LSN of the last manual checkpoint