Specifying schema conversion settings for migration projects
Schema conversion settings let you customize two things: how DMS Schema Conversion converts source database objects into target-compatible SQL, and which schemas and databases appear in the schema conversion view. Settings that apply to all conversion paths are documented in the sections below. For settings specific to a conversion path, see the corresponding topic in the navigation.
Common conversion settings
The following two settings apply to every conversion path. Each setting shows the AWS Management Console label followed by the API and AWS CLI parameter name in parentheses.
- Comments in converted SQL code
(
ShowSeverityLevelInSql) -
Controls the minimum severity level of action items for which DMS Schema Conversion inserts a comment into the converted SQL output. Only action items at or above the chosen level receive a comment.
Values:
Console label API/CLI value Action items that receive a comment Errors only CRITICALCritical errors that prevent the object from working Errors and warnings HIGHCritical errors and high-severity warnings All messages MEDIUMCritical, high, and medium-severity action items LOWAll action items except informational notes INFOAll action items, including informational notes Default:
CRITICAL - Use generative AI to convert schemas
(
EnableGenAiConversion) -
When enabled, DMS Schema Conversion uses a generative AI model to convert SQL constructs that rule-based logic cannot handle. This reduces the number of action items that require manual resolution.
Type: Boolean (
true|false)Default:
falseNote
Generative AI features in DMS Schema Conversion are available only in supported AWS Regions. If your primary Region is not supported, this setting has no effect. For a list of supported Regions and cross-region inference routing, see Cross-region inference in DMS Schema Conversion.
Note
Generative AI conversion is supported only for specific conversion paths. For a list of supported paths and the SQL elements within scope, see Converting database objects with generative AI.
Tree view settings
Tree view settings differ from the other schema conversion settings. They do not change the converted SQL. Instead, they control which schemas and databases appear in the source and target database panes of the schema conversion view. This determines what you can select for conversion. Tree view settings apply to every conversion path.
Important
You can configure tree view settings only in the AWS Management Console. You cannot set them with the AWS Database Migration Service API or the AWS CLI.
You configure tree view settings in the Tree view section of the Settings page. To open this page, follow the AWS Management Console steps in Modifying settings. Then choose Tree view. You set each of the following controls independently for the source pane and the target pane.
- Hide empty schemas
-
Hides schemas that contain no objects. Select this control to remove empty schemas from the pane. This lets you focus on the schemas that have objects to convert.
Default: Selected. DMS Schema Conversion hides empty schemas unless you clear this control.
- System databases or schemas
-
Hides the system databases or schemas that you choose. DMS Schema Conversion provides a list of the common system objects for your source or target engine. Select the ones that you want to hide.
For a PostgreSQL source, the list includes objects such as
pg_catalogandinformation_schema. For a MySQL target, the list includes objects such asmysqlandperformance_schema.Default: DMS Schema Conversion preselects the standard system objects for your source or target engine.
- User-defined databases or schemas
-
Hides the databases or schemas whose names you enter. Separate two or more names with a comma. Use the percent sign (%) as a wildcard to match any number of characters in a database or schema name.
Default: None.
Modifying settings
Note
You cannot modify settings while any schema conversion operation is running on the same project.