DMS- I am trying to migrate 3 tables from a schema

0

I am trying to migrate 3 tables and my selection rule looks like this and I get an error where schema name is like 'EEOP_INTEG' and Source table name is like '[EEOP_USER, EEOP_ORG, EEOP_USER_ORG]', include

When I migrate only one table , I do not get any error, how do I get multiple tables from a schema Selection rules where schema name is like 'EEOP_INTEG' and Source table name is like 'EEOP_USER', include

2개 답변
1
수락된 답변

Please review the following link

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Selections.html

as you can see, you can use the "%" percent sign as a wildcard for all or part of the value for the schema-name and table-name parameter.

like

{
    "rules": [
        {
            "rule-type": "selection",
            "rule-id": "1",
            "rule-name": "1",
            "object-locator": {
                "schema-name": "Test",
                "table-name": "EEOP_%"
            },
            "rule-action": "include"
        }
    ]
}
profile picture
전문가
답변함 일 년 전
0

you cannot include multiple tables in single rule you can either use multiple selection rules separate for each table or use wildcards to include and/or exclude tables. wildcards are _ for single character % for multiple characters for more details refer to examples at https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Selections.html https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Wildcards.html

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인