Home icon

Comparison of test_decoding and pglogical plugins in Amazon Aurora PostgreSQL for data migration using AWS DMS

Database Blog



This AWS Database Blog article compares two PostgreSQL logical decoding plugins, `test_decoding` and `pglogical`, for data migration using AWS Database Migration Service (DMS). The article provides a comprehensive analysis of their performance, advantages, and use cases in different migration scenarios.

  • The study focused on tracking disk spills during logical replication and comparing plugin performance
  • Test scenarios examined load impacts on both non-CDC and CDC tables using different plugins
  • Key performance metrics were tracked using Amazon CloudWatch metrics

Key findings for each plugin:

  • `pglogical` advantages:
    • Filters non-CDC tables at replication slot
    • Reduces network throughput requirements
    • Better for workloads with selective table replication
  • `test_decoding` advantages:
    • Suitable when all tables need CDC replication
    • Preferred when capturing entire row data is critical
    • Works better with tables lacking primary key constraints

The authors recommend choosing the appropriate plugin based on specific migration requirements and following AWS migration best practices.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Dec 30
2024
Dynamic data masking in Amazon RDS for PostgreSQL, Amazon Aurora PostgreSQL, and Babelfish for Aurora PostgreSQL
Jul 1
2024
AWS DMS homogenous migration from PostgreSQL to Amazon Aurora PostgreSQL
Dec 27
2024
Amazon Aurora now supports PostgreSQL 16.6, 15.10, 14.15, 13.18, and 12.22
Jan 14
2025
Migrate spatial columns from Oracle to Amazon Aurora PostgreSQL or Amazon RDS for PostgreSQL using AWS DMS

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.