資料庫移轉服務可協助您將資料遷移至 Google Cloud。這項服務可簡化網路工作流程、管理初始快照和持續複製作業,並提供移轉作業的狀態。
無論您要保留相同的資料庫引擎 (同質遷移),還是改用不同的資料庫引擎 (異質遷移),都能透過資料庫移轉服務,在最短的停機時間內完成遷移作業。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
訓練
訓練與教學課程
關於資料庫移轉服務 API
本指南將說明使用資料庫移轉服務 API 的最佳做法與設定資訊。
訓練
訓練與教學課程
關於 gcloud SDK
本指南說明如何使用 gcloud 指令列工具,在資料庫遷移服務中管理連線設定檔和遷移工作。
用途
用途
遷移同質資料庫的最佳做法
瞭解如何跨相容的資料庫引擎遷移資料。
用途
用途
使用資料庫移轉服務準備 PostgreSQL 遷移作業
瞭解如何設定來源 PostgreSQL 資料庫,讓資料庫移轉服務能將資料從這個資料庫遷移至 Cloud SQL。
用途
用途
使用資料庫移轉服務遷移 PostgreSQL
瞭解如何使用資料庫移轉服務,將 PostgreSQL 執行個體及其資料庫遷移至 PostgreSQL 適用的 Cloud SQL。瞭解整個遷移程序的準備步驟和最佳做法。
用途
用途
資料庫移轉服務連線:技術簡介
深入瞭解資料庫移轉服務如何連線至來源資料庫和目的地資料庫,將資料從來源遷移至目的地。
用途
用途
縮小差距:使用資料庫移轉服務時的遷移完整度
瞭解資料庫移轉服務的適用範圍,以及如何確保使用這項服務時能完整遷移資料。
用途
用途
使用資料庫移轉服務將 MySQL 資料遷移至 Cloud SQL
在本訓練課程中,您將透過實作實驗室,使用資料庫移轉服務將 MySQL 資料遷移至 Cloud SQL。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-03 (世界標準時間)。
[[["容易理解","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-03 (世界標準時間)。"],[[["\u003cp\u003eDatabase Migration Service simplifies the process of migrating MySQL and PostgreSQL workloads to Cloud SQL and AlloyDB for PostgreSQL, as well as modernizing Oracle workloads to Cloud SQL for PostgreSQL or AlloyDB for PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003eThe service streamlines networking, manages data snapshots and replication, and provides status updates on migration operations.\u003c/p\u003e\n"],["\u003cp\u003eUsers can begin migrations with just a few clicks, benefiting from a single integrated experience for a quick start with Cloud SQL or AlloyDB for PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003eDatabase Migration Service minimizes downtime during the migration process through continuous data replication.\u003c/p\u003e\n"]]],[],null,["# Database Migration Service documentation\n========================================\n\n[Read product documentation](/database-migration/docs/overview)\nDatabase Migration Service helps you migrate your data to Google Cloud. The service streamlines networking\nworkflows, manages the initial snapshot and ongoing replication,\nand provides a status of the migration operations.\n\n\nWith Database Migration Service, you can perform minimal downtime migrations whether you keep the same database\nengine (homogeneous migrations) or switch to a different database engine (heterogeneous migrations).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nstorage\n\n### Homogeneous migrations\n\n-\n\n [From MySQL to Cloud SQL for MySQL](/database-migration/docs/mysql/migration-src-and-dest)\n\n-\n\n [From PostgreSQL to Cloud SQL for PostgreSQL](/database-migration/docs/postgres/migration-src-and-dest)\n\n-\n\n [From PostgreSQL to AlloyDB for PostgreSQL](/database-migration/docs/postgresql-to-alloydb/migration-src-and-dest)\n\n-\n\n [From SQL Server to Cloud SQL for SQL Server](/database-migration/docs/sqlserver/scenario-overview)\n\nstorage\n\n### Heterogeneous migrations\n\n-\n\n [From SQL Server to Cloud SQL for PostgreSQL](/database-migration/docs/sqlserver-to-csql-pgsql/scenario-overview)\n\n-\n\n [From SQL Server to AlloyDB for PostgreSQL](/database-migration/docs/sqlserver-to-alloydb/scenario-overview)\n\n-\n\n [From Oracle to Cloud SQL for PostgreSQL](/database-migration/docs/oracle-to-postgresql/scenario-overview)\n\n-\n\n [From Oracle to AlloyDB for PostgreSQL](/database-migration/docs/oracle-to-alloydb/scenario-overview)\n\ngroup_work\n\n### Reference and resources\n\n-\n\n [Supported sources](/database-migration/docs/supported-databases)\n\n-\n\n [Pricing](/database-migration/pricing)\n\n-\n\n [Quotas and limits](/database-migration/docs/quotas)\n\n-\n\n [Diagnose issues](/database-migration/docs/diagnose-issues)\n\n-\n\n [Release notes](/database-migration/docs/release-notes)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### About the Database Migration Service API\n\n\nIn this guide, you learn best practices and setup information for using the Database Migration Service API.\n\n\n[Learn more](/database-migration/docs/use-the-database-migration-service-api) \nTraining \nTraining and tutorials\n\n### About the gcloud SDK\n\n\nIn this guide, you learn how to use the gcloud command-line tool to manage connection profiles and migration jobs in Database Migration Service.\n\n\n[Learn more](/database-migration/docs/use-the-cloud-sdk) \nUse case \nUse cases\n\n### Best practices for homogeneous database migrations\n\n\nLearn tips for migrating data across compatible database engines.\n\n\n[Learn more](https://cloud.google.com/blog/products/databases/tips-for-migrating-across-compatible-database-engines) \nUse case \nUse cases\n\n### Prepare PostgreSQL for migration with Database Migration Service\n\n\nLearn how to setup your source PostgreSQL database so that Database Migration Service can migrate data from this database into Cloud SQL.\n\n\n[Learn more](https://cloud.google.com/blog/topics/developers-practitioners/preparing-postgresql-migration-database-migration-service) \nUse case \nUse cases\n\n### PostgreSQL migration with Database Migration Service\n\n\nLearn how to use Database Migration Service to migrate a PostgreSQL instance and its databases to Cloud SQL for PostgreSQL. Examine preparation steps and best practices for the whole migration process.\n\n\n[Learn more](https://cloud.google.com/architecture/postgresql-migration-with-database-migration-service) \nUse case \nUse cases\n\n### Database Migration Service connectivity: a technical introspective\n\n\nDo a deep-dive into the technical aspects of how Database Migration Service connects to both a source database and a destination database to migrate data from the source to the destination.\n\n\n[Learn more](https://cloud.google.com/blog/topics/developers-practitioners/database-migration-service-connectivity-technical-introspective) \nUse case \nUse cases\n\n### Close the gap: Migration completeness when using Database Migration Service\n\n\nLearn about what is and isn't included for Database Migration Service, and what you can do to ensure migration completeness when using Database Migration Service.\n\n\n[Learn more](https://cloud.google.com/blog/topics/developers-practitioners/closing-gap-migration-completeness-when-using-database-migration-service) \nUse case \nUse cases\n\n### Migrate MySQL data to Cloud SQL using Database Migration Service\n\n\nIn this training offering, you use hands-on labs to migrate MySQL data to Cloud SQL using Database Migration Service.\n\n\n[Learn more](https://www.cloudskillsboost.google/course_templates/629)"]]