top of page

Azure Database Migration Service (DMS) คืออะไร และใช้งานอย่างไร?

Mar 31, 2025
2 min read

📌 Azure Database Migration Service (DMS) คืออะไร?


Azure Database Migration Service (DMS) เป็นบริการของ Microsoft Azure ที่ช่วยให้ ย้าย (Migrate) Database จาก On-Premises หรือ Cloud อื่น ๆ ไปยัง Azure ได้อย่างราบรื่นและปลอดภัย


✅ ความสามารถหลักของ Azure DMS


🔹 รองรับการ Migrate Database หลากหลายประเภท เช่น

• SQL Server → Azure SQL Database / Azure SQL Managed Instance

• MySQL, PostgreSQL → Azure Database for MySQL/PostgreSQL

• Oracle, MongoDB → Azure Database for PostgreSQL/MongoDB

🔹 รองรับการ Migrate แบบ Offline และ Online

🔹 ช่วยลด Downtime ขณะ Migrate ระบบไปยัง Azure

🔹 มีเครื่องมืออัตโนมัติช่วยตรวจสอบ Compatibility ของ Database


📌 วิธีใช้งาน Azure DMS (Step-by-Step)


🔹 1. เตรียมความพร้อมก่อน Migration


✅ ตรวจสอบ Database Compatibility โดยใช้ Data Migration Assistant (DMA)

✅ เลือกประเภท Target Database ที่ต้องการใช้บน Azure

✅ เลือกวิธี Migration Mode (Offline หรือ Online)


🔹 2. สร้าง Azure Database Migration Service (DMS)


✅ ไปที่ Azure Portal

✅ ค้นหา Azure Database Migration Service

✅ คลิก Create Service และกำหนด Subscription, Resource Group และ Region

✅ ตั้งค่า Networking & Security เพื่อให้สามารถเชื่อมต่อกับ On-Premises Database ได้


🔹 3. สร้าง Database Migration Project


✅ เลือก Source Database (SQL Server, MySQL, PostgreSQL, Oracle ฯลฯ)

✅ เลือก Target Database บน Azure (เช่น Azure SQL Database, Azure SQL Managed Instance)

✅ ตั้งค่าการเชื่อมต่อ Source & Target Database


🔹 4. ดำเนินการ Migration


✅ เลือก Migration Mode

• Offline Migration → หยุดระบบก่อนย้ายข้อมูล (Downtime สูง)

• Online Migration → ย้ายข้อมูลแบบต่อเนื่อง (Downtime ต่ำ)

✅ เริ่มต้น Database Replication ไปยัง Azure

✅ ตรวจสอบ Migration Status & Error Logs ผ่าน Azure Portal


🔹 5. ตรวจสอบและ Optimize Database บน Azure


✅ ตรวจสอบว่า Data และ Schema ถูกต้องสมบูรณ์

✅ ปรับแต่ง Performance โดยใช้ Azure SQL Query Performance Insights

✅ ตั้งค่า Backup & Security Policy


📌 ใช้ Azure DMS กับอะไรได้บ้าง?


✅ SQL Server → Azure SQL Database / Azure SQL Managed Instance

✅ MySQL → Azure Database for MySQL

✅ PostgreSQL → Azure Database for PostgreSQL

✅ Oracle → Azure Database for PostgreSQL หรือ SQL Server

✅ MongoDB → Azure Cosmos DB for MongoDB


📌 สรุป


✔ Azure DMS ช่วยให้ย้าย Database ไปยัง Azure ได้ง่ายขึ้น

✔ รองรับ Database หลากหลายประเภท (SQL Server, MySQL, PostgreSQL, Oracle, MongoDB ฯลฯ)

✔ มีทั้ง Online และ Offline Migration ให้เลือกตามความต้องการ

✔ ช่วยลด Downtime และปรับปรุงประสิทธิภาพหลังจาก Migration


หากต้องการคำแนะนำเพิ่มเติมเกี่ยวกับการใช้ Azure Database Migration Service ติดต่อ sales@monetize.co.th

© 2017, Monetize Technologies Company Limited. or its affiliates. All rights reserved.

  • Grey Facebook Icon
  • Grey YouTube Icon
  • Grey Instagram Icon
bottom of page