0Pricing
Advanced PostgreSQL: Indexing, Partitioning, Replication · Lesson

Logical Decoding and Change Data Capture

Use logical decoding to stream row-level changes out of PostgreSQL for CDC pipelines and event-driven systems.

What Is Logical Decoding

Logical decoding turns the write-ahead log into a readable stream of logical row changes. It is the foundation of both logical replication and external Change Data Capture (CDC).

Output Plugins

A plugin decides the format of the change stream. Built-in pgoutput powers logical replication; test_decoding emits human-readable text; tools like Debezium use their own.

All lessons in this course

  1. Cascading Replication
  2. Multi-Master Replication (BDR)
  3. Replication Slots and WAL Management
  4. Logical Decoding and Change Data Capture
← Back to Advanced PostgreSQL: Indexing, Partitioning, Replication