Stay organized with collections Save and categorize content based on your preferences.
Migration is a process of moving data and metadata from a source database to a destination database. After your migration is completed, the destination database becomes the primary database that dependent applications can read and write to, and the source database can be shut down.
Database Migration Service helps you migrate your data to Google Cloud. The service supports database migrations into Cloud SQL and AlloyDB for PostgreSQL instances. Database Migration Service streamlines networking, manages the initial snapshot and ongoing replication, and provides status updates throughout the migration process.
With Database Migration Service, you can:
The following diagram shows the key features of Database Migration Service in the context of Google Cloud architecture:
Figure 1. The key features of Database Migration Service (click to enlarge). Migration typesMigrations can be categorized into the following types:
Continuous migrationContinuous (sometimes referred to as ongoing or online) migration is a continuous flow of changes from your source to your destination that follows an initial full dump and load. When the destination is ready for reads and writes, you finalize replication between the source and the destination. The destination Cloud SQL instance or AlloyDB for PostgreSQL cluster is then ready to be used as a standalone primary instance. Doing the switch when the source and destination are in sync gives you minimal downtime.
One-time migrationA one-time migration is a single point-in-time snapshot of the database. Database Migration Service takes the snapshot from the source and applies it to the destination. This process is a dump and load, where the destination is ready to be used when the load completes. Any applications that depend on the source database can experience downtime during the migration process because there can be no new writes to this database while the migration is in progress.
Homogeneous migrationsHomogeneous migrations take place when you migrate data between the same database technology. For example, from MySQL to Cloud SQL for MySQL.
For more information, see Homogeneous migrations.
Heterogeneous migrationsUnlike homogeneous migrations, in heterogeneous migrations, such as Oracle to Cloud SQL for PostgreSQL, the database technology of the source and destination are different.
For more information, see Heterogeneous migrations.
Minimal downtimeDatabase Migration Service supports low downtime, continuous, serverless migrations for both homogeneous and heterogeneous migrations. The serverless architecture of Database Migration Service takes an initial snapshot of the source database to capture the current state of the data. Once the snapshot is complete, Database Migration Service loads the snapshot onto the destination database, and continuous data replication begins. Data replication is a continuous operation because it tracks and copies any changes made to the original database in real-time. It's based on Change Data Capture (CDC), a process that identifies and captures only the changes, such as inserts, updates, deletes that you made to the database after the initial snapshot is taken.
Such an approach minimises downtime for the following reasons:
For heterogeneous migrations, Database Migration Service converts the schema and objects from your source database into a format that is compatible with your destination database. Conversion workspaces offer the following features:
For more information, see Gemini-powered conversion.
Security and encryptionDatabase Migration Service migrates data securely by using SSL/TLS certificates to encrypt network connections and customer-managed encryption keys (CMEK) for continuous migrations.
For more information, see Security and encryption.
Observability metricsDatabase Migration Service shows several diagrams that can help you understand the current state and progress of your migration job. Most migration scenarios let you filter the information in these diagrams for each database included in your migration job.
Figure 1. Sample observability diagrams in Database Migration Service. (click to enlarge)For more information, see the migration job metrics pages that apply to your migration scenario.
Use casesDatabase Migration Service enables the following use cases:
Learn more about available migration scenarios:
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-07 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-07 UTC."],[[["Database Migration Service facilitates the transfer of data and metadata from a source database to a destination database, eventually allowing for the source database to be decommissioned."],["This service supports migrations to Cloud SQL and AlloyDB for PostgreSQL, offering features like networking management, initial snapshot handling, ongoing replication, and status updates."],["It offers continuous migration for minimal downtime, as well as one-time migrations for a snapshot transfer, supporting both homogeneous (same database technology) and heterogeneous (different database technologies) migrations."],["The service ensures data security through SSL/TLS encryption for network connections and customer-managed encryption keys (CMEK) during continuous migrations."],["Database Migration Service provides conversion features for heterogeneous migrations, such as automated initial schema conversion, an interactive SQL editor, Gemini-assisted conversion features, and customizable directives."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4