Migrating Databases with Amazon DMS

Amazon Web Service Database Migration Service – Amazon DMS - is a cloud-based platform that helps migration between data warehouses, NoSQL databases, relational databases, and data stores. Databases can be migrated from one cloud provider to another and on-premises databases to the cloud. The only stipulation for the functioning of Amazon DMS is that at least one of the end-points, the source or the target database, should be in the cloud.


Amazon DMS is a server that runs replication software and is a component of the AWS Cloud. Before migration, a connection has to be established between the source and the target so that DMSknows from where the data has to be extracted and where it should be loaded. Once the two databases are linked, a task has to be scheduled that runs on the server which migrates the data. Amazon DMS automatically creates the required primary keys and tables if they are not present in the target database. 

There are two types of database migration with Amazon DMS.

The first is Homogeneous database migration where the source and the target database engines along with the data types, data codes, and schema structures of the two are compatible. Examples of migration are Oracle to Amazon RDS for Oracle, MySQL to Amazon Aurora, MySQL to Amazon RDS for MySQL, or Microsoft SQL Server to Amazon RDS for SQL Server.

The second is Heterogeneous database migration where the database engines of the source and the target, as well as the data types, data codes, and schema structures, are different. Thus, it is necessary to first transform the schema structure and data codes of the source to match the target database. 


Comments

Popular posts from this blog

Using the Database Replication Tool

The Various Facets of SQL Migration

Making Amazon S3 a Target for DMS Amazon Web Service