Using the PostgreSQL extension tds_fdw to validate data migration from SQL Server to Amazon Aurora PostgreSQL
Database Blog
This article discusses using the PostgreSQL tds_fdw extension to validate data migration from SQL Server to Amazon Aurora PostgreSQL, especially for tables without primary keys.
- Data validation is crucial during database migrations
- Alternative validation strategies include:
- Count comparison
- Temporary primary key
- Foreign Data Wrapper (FDW) techniques
- Third-party comparison tools
- The method involves:
- Installing tds_fdw extension in Aurora PostgreSQL
- Creating a foreign server linking to SQL Server
- Creating a foreign table matching source table structure
- Using EXCEPT ALL query to compare data between source and target
- Helps identify row-level and column-level discrepancies during migration
The approach provides a robust method for validating data migrations, especially for tables lacking primary keys.
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
Jan 30
2024
2024
Use the tds_fdw extension to migrate data from SQL Server to PostgreSQL
Jun 10
2026
2026
How to migrate from Oracle to Amazon Aurora PostgreSQL using AWS CloudFormation (Part 1)
Jul 1
2024
2024
AWS DMS homogenous migration from PostgreSQL to Amazon Aurora PostgreSQL
Jun 3
2026
2026
Migrating data from Oracle to Amazon Aurora DSQL
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.