Migrate an on-premises Microsoft SQL Server database to Amazon Redshift using AWS DMS

0

dms allows to replicate sql server tables in redshift (CDC). Is it possible to do it with a view of a table?

已提問 1 年前檢視次數 374 次
3 個答案
0

Hi,

Using schema-binding or non-schema binding views as a data source in SQL Server is just supported for full-load only tasks.

Here's the full list of limitations on using SQL Server as a source in DMS https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.Limitations

Regards,

AWS
專家
Ziad
已回答 1 年前
0

You are only able to perform a Full Load from a view in SQL Server. I know with Oracle you can perform CDC from a materialized view but I do not know if that has been tested with SQL Server.

AWS
Tony_N
已回答 1 年前
0

Views do not have Primary Key (PK). Those keys are crucial for change data capture (CDC) to identify changes to rows. Due to non existence of primary keys CDC from views is not supported in DMS. You will need to convert to physical table with appropriate PKs. And depending on frequency of change to your base table data refresh these new tables and then run DMS CDC on them.

profile pictureAWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南