Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to create a task in AWS DMS and enable control tables

by | Jul 31, 2021

Looking for how to create a task in AWS DMS and enable control tables? We can help you with this!

Here at Bobcares, we handle similar requests from our customers as a part of our AWS Support Services.

Today let’s see how our Support Engineers help our customers to create a task in AWS DMS and enable control tables.

AWS DMS tasks and control tables

AWS Database Migration Service helps to migrate databases to AWS securely. An AWS DMS task is where all the work happens. We have to specify the source, target, and replication instance, along with the migration settings.

Before creating a task, always make sure to create a source endpoint, a target endpoint, and a replication instance. The Control tables provide information about the AWS DMS task. They are used only for change data capture (CDC) operations.

Create a task in AWS DMS and enable control tables

Now let’s see the steps followed by our Support Tech to create an AWS DMS task and enable control tables.

Creating a task in AWS DMS


  1. Log in to the AWS Management Console and open the AWS DMS console.

2. Then select Database migration tasks.

3. Select Create task.

4. On the Create Task page, specify the task options like source, and target endpoints and the Replication instance.

5. Then select any one of the following migration methods for Migration type:

Migrate existing data
Migrate existing data and replicate ongoing changes
Replicate data changes only

6. Then click on the Task Settings tab, and specify values for the target table, Include LOB columns in replication, and to enable logging.

7. For the target table, select any of the following:

Do nothing – In this mode, DMS assumes that the tables have been created already on the target. If a table doesn’t exist, DMS creates the table.
Drop tables on target – In this mode, AWS DMS drops the tables on the target and recreates them.
Truncate – In this mode, the DMS truncates all tables on target before the migration.

8. For Include LOB columns in replication, select any of the following:

Don’t include LOB columnsThis mode excludes all LOB columns from migration.
Full LOB mode – This mode migrates all LOBs regardless of size. We can specify the LOB chunk size. AWS DMS fetches LOBs in chunks controlled by the Max LOB size parameter.
Limited LOB mode – In this mode, we can specify the maximum LOB size and truncate LOBs to the value of the Max LOB size parameter. This mode is faster than the Full LOB mode.

9. Then select enable logging, note that by enabling logging, the task requires additional time to complete.

10. Then click on the Table mappings tab, here we can set values for schema and the mapping method.

Enable control tables

1. Click on the Advanced task settings.

2. Then, In the Create control table in target using schema field, enter a schema for the control table.

The tables will copy to the default location in the database if we didn’t enter anything in the schema field. The following are the default locations for each database engine:

MySQL, MariaDB- awsdms_control
SQL Server – dbo in target database
PostgreSQL,Amazon Redshift – Public
Oracle – the target schema
Amazon Redshift – Public

3. HistoryTimeslotInMinutes –  This option is to indicate the number of minutes that each record remains in the Replication history table.

4. Then enable the following for the control tables:

Apply exceptions – This table can’t be disabled. It contains the exceptions, errors, and information of  running the process
Replication status – This table gives details about the present task, which includes task status, memory consumption, etc.
Suspended tables – This table lists the suspended tables and the reason for the suspension.
Replication history – This table gives information about replication history.

5. Then select Create task.

6. Finally, run the task, and check the target database for the schema and tables.

To change the control table settings

If we want to change the control table settings for the task,

  1. Select Database migration tasks.
  2. Choose the task,
  3. Choose Actions.
  4. Then choose Modify.
  5. From the Advanced task settings tab, we can change the Control table settings.
  6. After finish, Save it.

[Need assistance for more AWS queries? We can help you]


To conclude, today we saw how our Support Techs help our customers to create a task in AWS DMS and enable control tables.



Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.