AWS Database Migration Service – How Does it Function

When migrating databases from on-premises systems to the cloud or from one cloud provider to another, the most optimized solution is DMS AWS, the Database Migration Service of Amazon Web Service. Organizations can choose between one-time replication or continual movement of changed data as in Change Data Capture provided both the source and target databases are always kept in sync. DMS AWS is the ideal platform to move data from relational databases, NoSQL databases, and data warehouses.


DMS AWS is a replication software that is based in the cloud and can only function if a link is established between the source and the target databases. This is essential for DMS to know from where to move the data and to which database. Once this linking is completed, the next step is to define the activity that will assist in loading the data from the source to the target.  

What helps is that the entire data migration process with DMS AWS is automated and can be completed without any human intervention by the DBAs. This is possible even when the keys and the tables required to carry out migration are not present in the target database. However, in such cases, tables, indexes, views, and triggers have to be created in the target database with the AWS Schema Conversion (AWS SCT) tool.

Once the data is migrated with the DMS AWS, businesses get all the benefits of the cloud for their databases like heightened security, improved performance, cost efficiency, and usage elasticity.

What are the types of database migration with DMS AWS?

There are two types of database migration with DMS AWS.

Homogeneous Database Migration

Homogeneous database migration is implemented when the engines, the data codes and types, and the schema structures of the source and the target database are the same. This migration s a one-step process. After linking up the source and the target databases, all the data is migrated at one time.

For the migration to be successful, it is essential that the source database should either operate on an Amazon EC2 instance or an Amazon RDS database. Some of the possible database migration processes with DMS AWS are Oracle to Amazon RDS for Oracle, MySQL to Amazon RDS for MySQL, MySQL to Amazon Aurora, and Microsoft SQL Server to Amazon RDS for SQL Server.

Heterogeneous Database Migration

This type of migration takes place when the database engines, the data types and codes, and the schema structure of the source and the target database are different. The migration here is a two-step process. First, the AWS SCT tool is used to convert the data codes and schema structure of the source database to one that matches the format of the target database. Once this step is done, migration with DMS AWS is carried out.


The type of migration chosen depends on the individual needs of organizations. 

Comments

Popular posts from this blog

Why Should You Migrate Databases with Amazon DMS

Why Should You Decide for Database Oracle Replication

Using the ETL Tool for Amazon Web Service Database Migration