What Is Database Migration Service And How Does It Work?

What Is Database Migration Service And How Does It Work?

What Is Database Migration Service And How Does It Work?

Database Migration Service

Database Migration Service is a service that helps you migrate or transfer your database from one source to the other. AWS DMS is also one such service that allows you to transfer your data from your on-premises environment to the AWS Cloud with more effectiveness, security and very low downtime (the time data on your database cannot be availed by the user).


How Does It Work?

The AWS Database migration service(AWS DMS) functions on most of the known platforms such as Oracle, Amazon Aurora, SQL, MySQL, SAP ASE, IBM DB2 LUW, MariaDB and MongoDB. The tools allow the migration among both homogenous and heterogeneous platforms. The AWS Schema Conversion Tool helps in migration assessment and conversion by converting the source code into the compatible code at the target.  Those codes left due to complexity are marked and notified for manual conversion. The process begins with an assessment of the existing framework and then the migration commences. In this way, the DB migration consumes less time and gets simplified. You can also easily cope with errors as most of the process replicates the data, without losing its source picture and the errors, if any, are disclosed in the AWS CloudWatch dashboard.


AWS DMS Best Practices

  • To quicken and smoothen the database migration you can use a few tips or best practices. These will help you to quickly migrate the DB with minimum downtime or process failure.


  • Select the type and size of the target server, depending on the class and size of the intended replication.


  • Use the AWS schema conversion tool to make the replication compatible with the target endpoint.


  • Make an assessment of the tables you will require to change in order to migrate in an error-free manner.


  • Identify and divide the objects into chunks, determine their compatibility, assess source system capacity, and then commence the process.


  • Do not load multiple tasks or tables simultaneously.


  • Do not run backup during the process. Better make a backup before the process begins.


  • Use primary and secondary indexing techniques.


  • DMS replicates tables by default. Check and remove the duplicate tables from the queue.


  • Keep the pipeline running and resolve any issues causing the clogging.


  • Use the Command Line Interface to line up the tasks according to urgency. The DMS will start the task as soon as you create it, so line them up through the command-line interface.


  • Check if the storage provided by default during the replication is sufficient for the intended data.


  • The large object files or LOBs should be loaded separately to avoid clogging.


  • Look for error messages on the Amazon CloudWatch dashboard.


  • Make the logs available for AWS DMS at all times during the migration process in order to avoid unnecessary replication of data.

you know more visit here https://pushtii.com/blog/ 


No Comments

Post A Comment



thirteen − 2 =