Migrating Views from on-prem MySQL to RDS MySQL

0

I seem to be missing something, I ran a test run of DMS and all my tables were properly migrated. However none of my views came along for the ride. Is there a way to include the views in the migration. Are there are other things that are not migrated by default? Triggers, stored procedures, functions?

Thanks!

ben
已提問 3 年前檢視次數 573 次
2 個答案
0

DMS will only migrate the bare minimum components to perform the data migration i.e. table structure, primary key etc. It does not migrate foreign keys, views, procedures etc.

You are doing a homogeneous migration i.e. MySQL to MySQL. Can't you restore using a backup / restore? Any particular reason you are choosing DMS?

Check this link: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html

Edited by: VMG on Feb 2, 2021 12:57 PM

Edited by: VMG on Feb 2, 2021 12:58 PM

VMG
已回答 3 年前
0

Ok, I wasn't sure if DMS was something equivalent to mysqldump. I guess it's more for migrating between database engines.

Thanks!

ben
已回答 3 年前

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

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

回答問題指南