Skip to content

Commit 5d252ca

Browse files
authored
Merge pull request #175576 from shriram-muthukrishnan/mybranch-toadd-newdoc
Added a new doc for customers to identify the right set of migration tools for migrations into Azure MySQL
2 parents 94660d5 + bd71a8a commit 5d252ca

File tree

5 files changed

+57
-0
lines changed

5 files changed

+57
-0
lines changed

articles/mysql/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,8 @@
593593
href: flexible-server/sample-scripts-azure-cli.md
594594
- name: Migration
595595
items:
596+
- name: Choose the right tools for migration to Azure Database for MySQL
597+
href: how-to-decide-on-right-migration-tools.md
596598
- name: Migrate data from MySQL on-premises to Azure Database for MySQL >
597599
href: migrate/mysql-on-premises-azure-db/01-mysql-migration-guide-intro.md
598600
- name: Migrate data with mysqldump or phpmyadmin

articles/mysql/flexible-server/index.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ landingContent:
120120
linkLists:
121121
- linkListType: how-to-guide
122122
links:
123+
- text: Choose the right tools for migration to Azure Database for MySQL
124+
url: ../how-to-decide-on-right-migration-tools.md
125+
- text: Migrate from single server to flexible server
126+
url: ../howto-migrate-single-flexible-minimum-downtime.md
123127
- text: Migrate online
124128
url: ../howto-migrate-online.md
125129
- text: Migrate RDS for MySQL using Data-in replication
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "Select the right tools for migration to Azure Database for MySQL"
3+
description: "This topic provides a decision table which helps customers in picking the right tools for migrating into Azure Database for MySQL"
4+
ms.service: mysql
5+
author: shriram-muthukrishnan
6+
ms.author: shriramm
7+
ms.reviewer: maghan
8+
ms.topic: how-to
9+
ms.custom:
10+
ms.date: 10/12/2021
11+
---
12+
13+
# Select the right tools for migration to Azure Database for MySQL
14+
15+
[!INCLUDE[applies-to-mysql-single-flexible-server](includes/applies-to-mysql-single-flexible-server.md)]
16+
17+
## Overview
18+
19+
Migrations are multi-step projects that are tough to pull off. Migrating database servers across platforms involves more than data and schema migration. There are also several other components, such as server configuration parameters, networking, access control rules, etc., to move. These are required to ensure that the functionality of the database server in the new target platform mimics the source.
20+
21+
For detailed information and use cases about migrating databases to Azure Database for MySQL, you can refer to the [Database Migration Guide](migrate/mysql-on-premises-azure-db/01-mysql-migration-guide-intro.md). This document provides pointers that will help you successfully plan and execute a MySQL migration to Azure.
22+
23+
In general, migrations can be categorized as either offline or online.
24+
25+
- With an offline migration, the source server is taken offline and a dump and restore of the databases is performed on the target server.
26+
27+
- With an online migration (migration with minimal downtime), the source server allows updates, and the migration solution will take care of replicating the ongoing changes between the source and target server along with the initial dump and restore on the target.
28+
29+
If your application can afford some downtime, offline migrations are always the preferred choice, as they are simple and easy to execute. However, if your application can only afford minimal downtime, an online migration is the best choice. Migrations of the majority of OLTP systems, such as payment processing and e-commerce, fall into this category.
30+
31+
## Decision table
32+
33+
To help you with selecting the right tools for migrating to Azure Database for MySQL, consider the detail in the following table.
34+
35+
| Scenarios | Recommended Tools | Links |
36+
|-------|------|------------|
37+
| Offline Migrations to move databases >= 1 TB | Dump and Restore using **MyDumper/MyLoader** + High Compute VM | [Migrate large databases to Azure Database for MySQL using mydumper/myloader](concepts-migrate-mydumper-myloader.md) <br><br> [Best Practices for migrating large databases to Azure Database for MySQL](https://techcommunity.microsoft.com/t5/azure-database-for-mysql/best-practices-for-migrating-large-databases-to-azure-database/ba-p/1362699)|
38+
| Offline Migrations to move databases < 1TB | If network bandwidth between source and target is good (e.g: Highspeed express route), use **Azure DMS** (database migration service) <br><br> **-OR-** <br><br> If you have low network bandwidth between source and Azure, use **Mydumper/Myloader + High compute VM** to take advantage of compression settings to efficiently move data over low speed networks <br><br> **-OR-** <br><br> Use **mysqldump** and **MySQL Workbench Export/Import** utility to perform offline migrations for smaller databases. | [Tutorial: Migrate MySQL to Azure Database for MySQL offline using DMS - Azure Database Migration Service](../dms/tutorial-mysql-azure-mysql-offline-portal.md)<br><br> [Migrate Amazon RDS for MySQL to Azure Database for MySQL using MySQL Workbench](how-to-migrate-rds-mysql-workbench.md)<br><br> [Import and export - Azure Database for MySQL](concepts-migrate-import-export.md)|
39+
| Online Migration | **Mydumper/Myloader with Data-in replication** <br><br> **Mysqldump with data-in replication** can be considered for small databases( less than 100GB). These methods are applicable to both external and intra-platform migrations. | [Configure Data-in replication - Azure Database for MySQL Flexible Server](flexible-server/how-to-data-in-replication.md) <br><br> [Tutorial: Migrate Azure Database for MySQL – Single Server to Azure Database for MySQL – Flexible Server with minimal downtime](howto-migrate-single-flexible-minimum-downtime.md) |
40+
|Single to Flexible Server Migrations | **Offline**: Custom shell script hosted in [GitHub](https://github.com/Azure/azure-mysql/tree/master/azuremysqltomysqlmigrate) This script also moves other server components such as security settings and server parameter configurations. <br><br>**Online**: **Mydumper/Myloader with Data-in replication** | [Migrate from Azure Database for MySQL - Single Server to Flexible Server in 5 easy steps!](https://techcommunity.microsoft.com/t5/azure-database-for-mysql/migrate-from-azure-database-for-mysql-single-server-to-flexible/ba-p/2674057)<br><br> [Tutorial: Migrate Azure Database for MySQL – Single Server to Azure Database for MySQL – Flexible Server with minimal downtime](howto-migrate-single-flexible-minimum-downtime.md)|
41+
42+
## Next steps
43+
* [Migrate MySQL on-premises to Azure Database for MySQL](migrate/mysql-on-premises-azure-db/01-mysql-migration-guide-intro.md)
44+
45+
<br><br>

articles/mysql/index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ landingContent:
113113
linkLists:
114114
- linkListType: how-to-guide
115115
links:
116+
- text: Choose the right tools for migration to Azure Database for MySQL
117+
url: how-to-decide-on-right-migration-tools.md
116118
- text: Azure Database for MySQL migration guide
117119
url: migrate/mysql-on-premises-azure-db/01-mysql-migration-guide-intro.md
118120
- text: dbForge Studio for MySQL

articles/mysql/single-server/index.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ landingContent:
9696
links:
9797
- text: Configure server parameters
9898
url: ../howto-server-parameters.md
99+
- text: Choose the right tools for migration to Azure Database for MySQL
100+
url: ../how-to-decide-on-right-migration-tools.md
101+
- text: Migrate from single server to flexible server
102+
url: ../howto-migrate-single-flexible-minimum-downtime.md
99103
- text: Migrate using Data Migration Service
100104
url: ../howto-migrate-online.md
101105
- text: Migrate using dump and restore

0 commit comments

Comments
 (0)