Database Migration Service는 데이터를 Google Cloud로 더 쉽게 마이그레이션할 수 있는 서비스입니다. Database Migration Service를 사용하면 MySQL 워크로드를 Cloud SQL로 리프트 앤 시프트할 수 있습니다.
어떤 소스가 지원되나요?
Amazon RDS 5.6, 5.7, 8.0
자체 관리형 MySQL(온프레미스 또는 완전히 제어하는 모든 Cloud VM) 5.5, 5.6, 5.7, 8.0
MySQL용 Cloud SQL 5.6, 5.7, 8.0, 8.4
Amazon Aurora 5.6, 5.7, 8.0
MySQL용 Microsoft Azure Database 5.7, 8.0
MySQL 8.0 소스의 경우 Database Migration Service는 다음 마이너 버전도 지원합니다.8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37, 8.0.39, 8.0.40, 8.0.41, 8.0.42
어떤 대상이 지원되나요?
MySQL용 Cloud SQL 5.6 및 5.7
MySQL용 Cloud SQL 8.0(8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37, 8.0.39, 8.0.40, 8.0.41, 8.0.42 등의 마이너 버전 포함)
특정 제한사항이 있는 MySQL용 Cloud SQL 8.4 예를 들어 MySQL 8.4 대상에는 실제 백업 파일을 사용하는 이전이 지원되지 않습니다. 자세한 내용은 알려진 제한사항을 참고하세요.
교차 버전 지원이 있나요?
Database Migration Service는 대상이 소스 데이터베이스와 동일한 버전이거나 한 버전 높은 버전인 경우 모든 주요 버전에서 MySQL-to-Cloud SQL 마이그레이션을 지원합니다. 예를 들어 MySQL 5.6 소스 데이터베이스를 MySQL용 Cloud SQL 5.6 또는 5.7 대상으로 마이그레이션합니다.
어떤 데이터, 스키마, 메타데이터 구성요소가 이전되나요?
Database Migration Service는 스키마, 데이터, 메타데이터를 소스에서 대상으로 마이그레이션합니다. 다음 데이터, 스키마, 메타데이터 구성요소가 모두 데이터베이스 마이그레이션의 일부로 마이그레이션됩니다.
데이터 이전
모든 데이터베이스/스키마의 모든 테이블
스키마 이전
이름 지정
기본 키
데이터 유형
서수 순위
기본값
null 허용 여부
자동 증가 속성
보조 색인
메타데이터 이전
저장 프로시저
함수
트리거
조회수
외래 키 제약조건
연속 마이그레이션 중 복제되는 변경사항은 무엇인가요?
DML 및 DDL 변경사항 (즉, 위에 나열된 모든 데이터, 스키마, 메타데이터의 변경사항)은 연속 마이그레이션 중에 업데이트됩니다.
이전되지 않는 항목
MySQL 데이터베이스를 마이그레이션할 때 사용자 및 권한에 관한 정보가 포함된 MySQL 시스템 데이터베이스는 마이그레이션되지 않습니다. 즉, 사용자 계정/로그인 정보는 대상 Cloud SQL 인스턴스에서 직접 관리해야 합니다.
Cloud SQL 대상 인스턴스에 사용자를 추가하려면 인스턴스로 이동하여 사용자 탭에서 사용자를 추가하거나 MySQL 클라이언트에서 사용자를 추가합니다.
Database Migration Service에서 마이그레이션을 만들려면 소스와 Cloud SQL 대상 인스턴스 간에 연결을 설정해야 합니다. 다양한 메서드가 지원됩니다.
특정 워크로드에 가장 적합한 방법을 선택합니다.
네트워킹 방법
설명
장점
단점
IP 허용 목록
Cloud SQL 인스턴스의 공개 IP 주소에서 들어오는 연결을 허용하도록 소스 데이터베이스 서버를 구성하여 작동합니다. 이 방법을 선택하면 Database Migration Service에서 마이그레이션 생성 중에 설정 프로세스를 안내합니다.
손쉬운 구성
단기 마이그레이션 시나리오 (POC 또는 소규모 데이터베이스 이전)에 권장됩니다.
방화벽을 구성하려면 IT의 지원이 필요할 수 있습니다.
소스 데이터베이스를 공개 IP에 노출합니다.
기본적으로 연결은 암호화되지 않습니다. 연결을 암호화하려면 소스 데이터베이스에서 SSL을 사용 설정해야 합니다.
클라우드 호스팅 VM을 통한 역방향 SSH 터널
보안 역방향 SSH 터널을 통해 대상에서 소스로의 연결을 설정합니다.
Google Cloud 프로젝트에 방어 호스트 VM과 소스에 연결된 머신(예: 네트워크의 노트북)이 필요합니다. Database Migration Service는 마이그레이션 생성 시 필요한 정보를 수집하고 설정 스크립트를 자동으로 생성합니다.
손쉬운 구성
맞춤 방화벽 구성이 필요하지 않습니다.
단기 마이그레이션 시나리오 (POC 또는 소규모 데이터베이스 이전)에 권장됩니다.
배스천 VM을 소유하고 관리합니다.
추가 비용이 발생할 수 있습니다.
VPC 피어링
이 방법은 VPC가 서로 통신하도록 구성하는 방식으로 작동합니다. 소스와 대상이 모두 Google Cloud에 호스팅된 경우에만 적용됩니다. 장기 실행 또는 대규모 마이그레이션에 권장됩니다.
Google Cloud 솔루션을 사용합니다.
손쉬운 구성
고대역폭
소스가 Google Cloud에 호스팅된 경우에만 사용할 수 있습니다.
VPN
공용 인터넷을 통한 보안 연결을 통해 내부 네트워크와 Google Cloud VPC를 연결하는 IPSec VPN 터널을 설정합니다. Google Cloud VPN 또는 내부 네트워크에 설정된 VPN 솔루션을 사용합니다.
강력하고 확장 가능한 연결 솔루션입니다.
중간에서 높은 대역폭
보안 기능 기본 제공
Google Cloud 솔루션으로 제공되거나 다른 서드 파티에서 제공합니다.
추가 비용
간단하지 않은 구성 (이미 적용된 경우 제외)
Cloud Interconnect
온프레미스 네트워크와 Google Cloud간에 가용성이 높고 지연 시간이 짧은 연결을 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[[["\u003cp\u003eDatabase Migration Service simplifies the process of migrating MySQL workloads to Google Cloud's Cloud SQL.\u003c/p\u003e\n"],["\u003cp\u003eThe service supports a variety of MySQL sources, including Amazon RDS, self-managed MySQL, Cloud SQL for MySQL, Amazon Aurora, and Microsoft Azure Database for MySQL, with specific version compatibility.\u003c/p\u003e\n"],["\u003cp\u003eDestinations for migration are primarily Cloud SQL for MySQL, including versions 5.6, 5.7, 8.0, and 8.4 with certain limitations on 8.4, and cross-version migrations are supported if the destination is the same or one major version higher than the source.\u003c/p\u003e\n"],["\u003cp\u003eDuring the migration, the service transfers all data, schema components like primary keys, data types, and metadata components, like stored procedures and triggers, and can replicate both DDL and DML changes.\u003c/p\u003e\n"],["\u003cp\u003eVarious networking methods are supported for establishing connectivity between the source and destination, including IP allowlisting, reverse SSH tunnels, VPC peering, VPN, and Cloud Interconnect, each with different pros and cons depending on the user requirements.\u003c/p\u003e\n"]]],[],null,["# Database Migration Service for MySQL FAQ\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nMySQL \\| [PostgreSQL](/database-migration/docs/postgres/faq \"View this page for the PostgreSQL version of Database Migration Service.\") \\| [PostgreSQL to AlloyDB](/database-migration/docs/postgresql-to-alloydb/faq \"View this page for the PostgreSQL to AlloyDB version of Database Migration Service.\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n- [What is Database Migration Service?](#whatisdms)\n- [Which sources are supported?](#sources)\n- [Which destinations are supported?](#destinations)\n- [Is there cross-version support?](#crossversion)\n- [Which data, schema, and metadata components are migrated?](#migrated)\n- [Which changes are replicated during continuous migration?](#replicated)\n- [What isn't migrated?](#notmigrated)\n- [Which networking methods are used?](#networking)\n- [What are the known limitations?](#limitations)\n\n\u003cbr /\u003e\n\nWhat is Database Migration Service?\n: Database Migration Service is a service that makes it easier for you to migrate your data to Google Cloud. Database Migration Service helps you lift and shift your MySQL workloads into Cloud SQL.\n\nWhich sources are supported?\n:\n\n\n - Amazon RDS 5.6, 5.7, 8.0\n - Self-managed MySQL (on premises or on any cloud VM that you fully control) 5.5, 5.6, 5.7, 8.0\n - Cloud SQL for MySQL 5.6, 5.7, 8.0, 8.4\n - Amazon Aurora 5.6, 5.7, 8.0\n - Microsoft Azure Database for MySQL 5.7, 8.0\n\n\n For MySQL 8.0 sources, Database Migration Service also supports the following minor versions:\n 8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37,\n 8.0.39, 8.0.40, 8.0.41, 8.0.42.\n\n\nWhich destinations are supported?\n:\n\n\n - Cloud SQL for MySQL 5.6 and 5.7\n - Cloud SQL for MySQL 8.0 including the following minor versions: 8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37, 8.0.39, 8.0.40, 8.0.41, 8.0.42.\n - Cloud SQL for MySQL 8.4 with certain limitations. For example, migrations that use physical backup files are not supported for MySQL 8.4 destinations. For more information, see [Known limitations](/database-migration/docs/mysql/known-limitations).\n\n\nIs there cross-version support?\n:\n\n Database Migration Service supports MySQL-to-Cloud SQL migrations across any major version, where the destination is the same version or one version higher than the source database. For example, migrate a MySQL 5.6 source database to either a Cloud SQL for MySQL 5.6 or 5.7 destination.\n\nWhich data, schema, and metadata components are migrated?\n\n: Database Migration Service migrates schema, data, and metadata from the source to the destination. All of the following data, schema, and metadata components are migrated as part of the database migration: \u003cbr /\u003e\n\n Data Migration\n\n - All tables from all databases/schemas.\n\n Schema Migration\n\n \u003c!-- --\u003e\n\n - Naming\n - Primary key\n - Data type\n - Ordinal position\n - Default value\n - Nullability\n - Auto-increment attributes\n - Secondary indexes\n\n Metadata Migration\n\n \u003c!-- --\u003e\n\n - Stored Procedures\n - Functions\n - Triggers\n - Views\n - Foreign key constraints\n\nWhich changes are replicated during continuous migration?\n:\n\n DML and DDL changes (that is, changes to all data, schema, and metadata listed above) are updated during\n continuous migrations.\n\nWhat isn't migrated?\n\n: When migrating a MySQL database, the MySQL system databases which contain information about users\n and privileges aren't migrated. This means that user account/login information must be managed in\n the destination Cloud SQL instance directly.\n\n To add users to the Cloud SQL destination instance, navigate to the instance and add users\n from the **Users** tab, or add them from the MySQL client.\n\n [Learn more about creating\n and managing MySQL users](https://cloud.google.com/sql/docs/mysql/create-manage-users).\n\nWhich networking methods are used?\n: To create a migration in Database Migration Service, connectivity must be established\n between the source and the Cloud SQL destination instance. There are a variety of methods supported.\n Choose the one that works best for the specific workload.\n\n\nWhat are the known limitations?\n: See [Known limitations](/database-migration/docs/mysql/known-limitations)."]]