Database Migration Service documentation
Database Migration Service helps you migrate your data to Google Cloud. The service streamlines networking
workflows, manages the initial snapshot and ongoing replication,
and provides a status of the migration operations.
With Database Migration Service, you can perform minimal downtime migrations whether you keep the same database
engine (homogeneous migrations) or switch to a different database engine (heterogeneous migrations).
Start your proof of concept with $300 in free credit
-
Get access to Gemini 2.0 Flash Thinking
-
Free monthly usage of popular products, including AI APIs and BigQuery
-
No automatic charges, no commitment
Keep exploring with 20+ always-free products
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses,
and more.
Training
Training and tutorials
About the Database Migration Service API
In this guide, you learn best practices and setup information for using the Database Migration Service API.
Training
Training and tutorials
About the gcloud SDK
In this guide, you learn how to use the gcloud command-line tool to manage connection profiles and migration jobs in Database Migration Service.
Use case
Use cases
Best practices for homogeneous database migrations
Learn tips for migrating data across compatible database engines.
Use case
Use cases
Prepare PostgreSQL for migration with Database Migration Service
Learn how to setup your source PostgreSQL database so that Database Migration Service can migrate data from this database into Cloud SQL.
Use case
Use cases
PostgreSQL migration with Database Migration Service
Learn 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.
Use case
Use cases
Database Migration Service connectivity: a technical introspective
Do 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.
Use case
Use cases
Close the gap: Migration completeness when using Database Migration Service
Learn 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.
Use case
Use cases
Migrate MySQL data to Cloud SQL using Database Migration Service
In this training offering, you use hands-on labs to migrate MySQL data to Cloud SQL using Database Migration Service.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\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)"]]