Is it possible to transform data during a migration with AWS's DMS

本秂侑毒 提交于 2019-12-24 05:33:31

问题


Is it possible to transform actual data while performing a migration with the AWS Data Migration Service? I'm trying to migrate data from PostgreSQL to DynamoDB and to append a prefix to the data that is brought over with DMS. From what I can tell, it looks like all of the transformation rules that are available in the migration task only apply to components of the table themselves (column names, table names, schema names).

Basically I would like something like this in Postgres ID:123 to become ID:pre_123 in Dynamo.


回答1:


You can set up an object mapping rule for a column to be “value” = “pre_${columnName}” or whatever the actual syntax is. More about mappings with examples is given in http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html




回答2:


To my knowledge, yes you can transform data with DMS.



来源:https://stackoverflow.com/questions/47893699/is-it-possible-to-transform-data-during-a-migration-with-awss-dms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!