Database Migration Service は、データを Google Cloudに簡単に移行できるサービスです。Database Migration Service を使用すると、MySQL ワークロードを Cloud SQL にリフト&シフトできます。
サポートされているソース
Amazon RDS 5.6、5.7、8.0
セルフマネージド MySQL(オンプレミスまたはお客様が完全に管理するクラウド VM 上)5.5、5.6、5.7、8.0
Cloud SQL for MySQL 5.6、5.7、8.0、8.4
Amazon Aurora 5.6、5.7、8.0
Microsoft Azure Database for MySQL 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 のマイナー バージョンもサポートしています。
サポートされているリンク先
Cloud SQL for MySQL 5.6 と 5.7
Cloud SQL for MySQL 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 を含む)。
Cloud SQL for MySQL 8.4(特定の制限あり)。たとえば、物理バックアップ ファイルを使用する移行は、MySQL 8.4 の宛先ではサポートされていません。詳細については、既知の制限事項をご覧ください。
クロス バージョンのサポートはありますか?
Database Migration Service は、移行元データベースと同じバージョンまたは 1 つ上のメジャー バージョンの MySQL から Cloud SQL への移行をサポートしています。たとえば、MySQL 5.6 ソース データベースを Cloud SQL for MySQL 5.6 または 5.7 の宛先に移行します。
移行されるデータ、スキーマ、メタデータ コンポーネント
Database Migration Service は、移行元から移行先にスキーマ、データ、メタデータを移行します。データベース移行の一環として、以下のデータ、スキーマ、メタデータ コンポーネントがすべて移行されます。
データの移行
安全なリバース SSH トンネルを介して、宛先からソースへの接続を確立します。プロジェクトに踏み台インスタンス VM と、ソースに接続できるマシン(ネットワーク上のノートパソコンなど)が必要です。 Google Cloud Database Migration Service は、移行の作成時に必要な情報を収集し、設定用のスクリプトを自動生成します。
簡単に構成できる。
カスタム ファイアウォールの構成は必要ありません。
短期的な移行シナリオ(POC または小規模なデータベース移行)に推奨されます。
Bastion VM はお客様が所有して管理します。
追加費用が発生する場合があります。
VPC ピアリング
この方法では、VPC が相互に通信するように構成します。これは、移行元と移行先の両方が Google Cloudでホストされている場合にのみ適用されます。長時間実行または大規模な移行に推奨されます。
Google Cloud ソリューション。
簡単に構成できる。
高帯域幅
ソースが Google Cloudでホストされている場合にのみ使用できます。
VPN
公共のインターネットを介した安全な接続を介して、内部ネットワークと VPC を接続する IPsec VPN トンネルを設定します。 Google Cloud 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)."]]