Sql Server assessments
This section describes individual premigration assessments for migration tasks that use a Microsoft SQL Server source endpoint.
Topics
- Check if recovery model for database is simple
- Check if tables in task scope contain computed columns
- Check if tables in task scope have column store indexes
- Check if memory optimized tables are a part of the task scope
- Check if temporal tables are a part of the task scope
- Check if delayed durability is enabled at the database level
- Check if accelerated data recovery is enabled at the database level
- Check if table mapping has more than 10K tables with primary keys
- Check if the source database has tables or schema names with special characters.
- Check if the source database has column names with masked data
- Check if the source database has encrypted backups
- Check if the source database has backups stored at a URL or on Windows Azure.
- Check if the source database has backups on multiple disks
- Check if the source database has at least one full backup
- Check if the source database has sparse columns and columnar structure compression.
- Check if the source database instance has server level auditing for SQL Server 2008 or SQL Server 2008 R2
- Check if the source database has geometry columns for full LOB mode
- Check if the source database has columns with the Identity property.
- Check if the DMS user has FULL LOAD permissions
- Check if the DMS user has FULL LOAD and CDC or CDC only permissions
- Check whether the ignoreMsReplicationEnablement ECA is set when using MS-CDC with on-premises or EC2 databases
- Check if the DMS user has the VIEW DEFINITION permission.
- Check if the DMS user has the VIEW DATABASE STATE permission on the MASTER database for users without the Sysadmin role.
- Check if the DMS user has the VIEW SERVER STATE permission.
Check if recovery model for database is simple
API key: sqlserver-check-for-recovery-model
This premigration assessment validates the source endpoint recovery model. AWS DMS requires that the recovery model
be set to Bulk logged
or Full
for ongoing replication.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Prerequisites for using ongoing replication (CDC) from a SQL Server source.
Check if tables in task scope contain computed columns
API key: sqlserver-check-for-computed-fields
This premigration assessment checks for the presence of computed columns. AWS DMS doesn't support replicating changes from SQL Server computed columns.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if tables in task scope have column store indexes
API key: sqlserver-check-for-columnstore-indexes
This premigration assessment checks for the presence of tables with columnstore indexes. AWS DMS doesn't support replicating changes from SQL Server tables with columnstore indexes.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if memory optimized tables are a part of the task scope
API key: sqlserver-check-for-memory-optimized-tables
This premigration assessment checks for the presence of memory-optimized tables. AWS DMS doesn't support replicating changes from memory-optimized tables.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if temporal tables are a part of the task scope
API key: sqlserver-check-for-temporal-tables
This premigration assessment checks for the presence of temporal tables. AWS DMS doesn't support replicating changes from temporal tables.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if delayed durability is enabled at the database level
API key: sqlserver-check-for-delayed-durability
This premigration assessment checks for the presence of delayed durability. AWS DMS doesn't support replicating changes from transactions that use delayed durability.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if accelerated data recovery is enabled at the database level
API key: sqlserver-check-for-accelerated-data-recovery
This premigration assessment checks for the presence of accelerated data recovery. AWS DMS doesn't support replicating changes from databases with accelerated data recovery.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if table mapping has more than 10K tables with primary keys
API key: sqlserver-large-number-of-tables
This premigration assessment checks for the presence of more than 10,000 tables with primary keys. Databases configured with MS-Replication can experience task failures if there are too many tables with primary keys.
This assessment is only valid for a full-load and CDC migration, or a CDC-only migration. This assessment is not valid for a full-load only migration.
For more information about configuring MS-Replication, see Capturing data changes for self-managed SQL Server on-premises or on Amazon EC2.
Check if the source database has tables or schema names with special characters.
API key: sqlserver-check-for-special-characters
This premigration assessment verifies whether the source database has table or schema names that include a character from the following set:
\\ -- \n \" \b \r ' \t ;
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has column names with masked data
API key: sqlserver-check-for-masked-data
This premigration assessment verifies whether the source database has masked data. AWS DMS migrates masked data without masking.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has encrypted backups
API key: sqlserver-check-for-encrypted-backups
This premigration assessment verifies whether the source database has encrypted backups.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has backups stored at a URL or on Windows Azure.
API key: sqlserver-check-for-backup-url
This premigration assessment verifies whether the source database has backups stored at a URL or on Windows Azure.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has backups on multiple disks
API key: sqlserver-check-for-backup-multiple-stripes
This premigration assessment verifies whether the source database has backups on multiple disks.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has at least one full backup
API key: sqlserver-check-for-full-backup
This premigration assessment verifies whether the source database has at least one full backup. SQL Server must be configured for full backup, and you must run a backup before replicating data.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has sparse columns and columnar structure compression.
API key: sqlserver-check-for-sparse-columns
This premigration assessment verifies whether the source database has sparse columns and columnar structure compression. DMS doesn't support sparse columns and columnar structure compression.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database instance has server level auditing for SQL Server 2008 or SQL Server 2008 R2
API key: sqlserver-check-for-audit-2008
This premigration assessment verifies whether the source database has enabled server-level auditing for SQL Server 2008 or SQL Server 2008 R2. DMS has a related known issue with SQL Server 2008 and 2008 R2.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has geometry columns for full LOB mode
API key: sqlserver-check-for-geometry-columns
This premigration assessment verifies whether the source database has geometry columns for
full Large Object (LOB) mode when using SQL Server as a source.
We recommend using limited LOB mode or setting the InlineLobMaxSize
task setting to use inline LOB mode
when your database includes geometry columns.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the source database has columns with the Identity property.
API key: sqlserver-check-for-identity-columns
This premigration assessment verifies whether the source database has a column with the IDENTITY
property.
DMS doesn't migrate this property to the corresponding target database column.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the DMS user has FULL LOAD permissions
API key: sqlserver-check-user-permission-for-full-load-only
This premigration assessment verifies whether the DMS task's user has permissions to run the task in FULL LOAD mode.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the DMS user has FULL LOAD and CDC or CDC only permissions
API key: sqlserver-check-user-permission-for-cdc
This premigration assessment verifies whether the DMS User has permissions to run the task in
FULL LOAD and CDC
or CDC only
modes.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check whether the ignoreMsReplicationEnablement
ECA is set when using MS-CDC with on-premises or EC2 databases
API key: sqlserver-check-attribute-for-enable-ms-cdc-onprem
Check whether the ignoreMsReplicationEnablement
extra connection attribute
(ECA) is set when using MS-CDC with on-premises or EC2 databases.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the DMS user has the VIEW DEFINITION permission.
API key: sqlserver-check-user-permission-on-view-definition
This premigration assessment verifies whether the user specified in the endpoint settings has the VIEW DEFINITION
permission.
DMS requires the VIEW DEFINITION
permission to view object definitions.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the DMS user has the VIEW DATABASE STATE permission on the MASTER database for users without the Sysadmin role.
API key: sqlserver-check-user-permission-on-view-database-state
This premigration assessment verifies whether the user specified in the endpoint settings has the VIEW DATABASE STATE
permission.
DMS requires this permission to access database objects in the MASTER database.
DMS also requires this permission when the user doesn't have sysadmin privileges.
DMS requires this permission to create functions, certificates, and logins,
and to grant credentials.
For more information, see Limitations on using SQL Server as a source for AWS DMS.
Check if the DMS user has the VIEW SERVER STATE permission.
API key: sqlserver-check-user-permission-on-view-server-state
This premigration assessment checks if the user specified in the extra connection attributes (ECA) has the
VIEW SERVER STATE
permission. VIEW SERVER STATE
is a server-level permission that
allows a user to view server-wide information and state. This permission provides access to dynamic management views (DMVs) and dynamic management functions (DMFs)
that expose information about the SQL Server instance. This permission is required for the DMS user to have access to CDC resources.
This permission is required to run a DMS task in FULL LOAD and CDC
or CDC only
modes.
For more information, see Limitations on using SQL Server as a source for AWS DMS.