Oracle materialized view replication to postgres using DMS CDC

0

I am migrating data from Oracle materialized view to PostgreSQL using DMS CDC. Initial load completed successfully. I do not see the changes are replicating. Is any one has performed this type of migration? If Yes please share the details/document.

2 回答
1

Dear Customer - Thanks for reaching out to us via AWS re:Post.

To begin with, I would like to inform you that AWS DMS supports only the migration (fullLoad) of materialized views to the target, the materialized views are migrated and created as "base tables" in the DMS target instance.

However, if you like to replicate the REFRESH of materialized views on source to target then it causes issues during CDC, as DMS currently does not support the on-going replication of materialized views.

As a way forward, you can use the base tables of the materialized views for on-going replication of changes to the target Oracle instance. Then if you need to use the materialized views on the Oracle target, you can recreate them using the migrated base tables.

Also, kindly note that AWS DMS doesn't support the ROWID data type or materialized views based on a ROWID column.

[+] https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.Limitations

I hope that I was able to address your concerns

AWS
专家
已回答 2 年前
0

instead of migrating materialized view from oracle to postgres target I would suggest create dms task only for underlying tables.

on target postgresql you can create materialized view so that it would have required data coming from underlying tables to populate. https://www.postgresql.org/docs/current/rules-materializedviews.html

If you migrate using DMS it will convert materialized view to table in postgresql and also it wont support migrating changes for this view.

AWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则