A company is planning to migrate a highly active on-premises Microsoft SQL Server database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration must convert all SQL Server database schemas, stored procedures, and triggers, and must be executed with minimal downtime. The database contains several tables with frequent update activities. A Solutions Architect is designing the migration process using the AWS Schema Conversion Tool (AWS SCT) and AWS Database Migration Service (AWS DMS) with Change Data Capture (CDC). Which strategy should the Solutions Architect recommend to perform this migration successfully?
- AUse AWS SCT to convert the SQL Server schema and stored procedures to PostgreSQL, and apply the schema to the target Aurora PostgreSQL DB cluster. Create an AWS DMS task configured for Full Load plus CDC, using the default source endpoint configurations without enabling MS-Replication or Change Data Capture (CDC) on the SQL Server instance.
- Use AWS SCT to convert the database schema, stored procedures, and triggers, and apply the converted schema to the target Aurora PostgreSQL DB cluster. Configure the source SQL Server database to use the Full Recovery model, perform a full backup, enable MS-Replication or Change Data Capture (CDC) on the source database, and configure the AWS DMS task to perform a Full Load and continuous Change Data Capture (CDC).Cevap
- CReplatform the database by using SQL Server Native Backup and Restore to copy the backup files directly to Amazon S3, and restore them into Amazon RDS for SQL Server. Use AWS SCT on the restored database to convert the schema and stored procedures, and directly migrate the database code and tables to Aurora PostgreSQL.
- DUse AWS SCT to convert the SQL Server schema and apply the schema directly to the Aurora PostgreSQL primary instance. Configure AWS DMS to run a Full Load task targeting the Aurora Read Replica, then enable Aurora Replica Auto Scaling to handle continuous replication workloads from the source SQL Server database.
Cevap
The correct strategy requires converting the schema and database code from SQL Server to PostgreSQL using the AWS Schema Conversion Tool (AWS SCT) and applying it to the target Aurora PostgreSQL DB cluster. For the ongoing data replication (CDC) via AWS DMS, the source SQL Server database must be configured with the Full Recovery model, a full backup must be taken to initiate the log sequence chain, and MS-Replication or MS-CDC must be enabled to allow DMS to read the database transaction logs.
The correct strategy requires converting the schema and database code from SQL Server to PostgreSQL using the AWS Schema Conversion Tool (AWS SCT) and applying it to the target Aurora PostgreSQL DB cluster. For the ongoing data replication (CDC) via AWS DMS, the source SQL Server database must be configured with the Full Recovery model, a full backup must be taken to initiate the log sequence chain, and MS-Replication or MS-CDC must be enabled to allow DMS to read the database transaction logs.
Adım Adım Çözüm
Anahtar Kavram
Heterogeneous database migration from Microsoft SQL Server to Amazon Aurora PostgreSQL requires schema conversion via AWS SCT and CDC prerequisites on the source SQL Server database (Full Recovery model, backups, and MS-Replication/MS-CDC) to enable continuous replication via AWS DMS.