Stay organized with collections Save and categorize content based on your preferences.
Note: This page contains features related to Cloud SQL editions. For more information about Cloud SQL editions, see Introduction to Cloud SQL editions.This page shows you how to use the private VPC peering network connectivity method of Database Migration Service to upgrade a Cloud SQL Enterprise edition instance to Cloud SQL Enterprise Plus edition. Database Migration Service creates a new Cloud SQL instance and migrates data to that instance.
OverviewCloud SQL Enterprise Plus edition is ideal for applications that require maximum read and write performance. For more information about these improvements, see Performance enhancements.
To enable these enhancements for your existing Cloud SQL Enterprise edition instances, you must upgrade them to Cloud SQL Enterprise Plus edition using Database Migration Service.
Before you beginIn the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.Verify that billing is enabled for your Google Cloud project.
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.Verify that billing is enabled for your Google Cloud project.
Database Migration Service offers various source database options and network connectivity methods. Different sources work better with some connectivity methods than with others. On this page, we assume that you're using a Cloud SQL Enterprise edition instance in an environment where you can configure your network to add an inbound firewall rule. Because we can't know the specifics of your environment, we can't provide detailed steps when it comes to your networking configuration.
Retrieve information from the source instanceTo upgrade a source Cloud SQL Enterprise edition instance, you must retrieve the following information:
To retrieve information from the source Cloud SQL Enterprise edition instance, complete the following steps:
In the Google Cloud console, go to the SQL Instances page.
A connection profile contains information about the source Cloud SQL Enterprise edition database. Database Migration Service uses the information in the connection profile to migrate data from your source database to the destination Cloud SQL Enterprise Plus edition instance.
To create a connection profile, complete the following steps:
In the Google Cloud console, go to the Connection profiles page in Database Migration Service.
Click Create profile.
From the Database engine drop-down list, select Cloud SQL for MySQL.
From the Cloud SQL instance drop-down list, select the name of your Cloud SQL Enterprise edition instance.
Note: Cloud SQL generates the connection profile name and connection profile ID automatically with information about your source instance. We recommend that you don't change these values.In the Hostname or IP address field, replace the value with the private IP address that you copied in Retrieve information from the source Cloud SQL Enterprise edition instance.
To authenticate to your source instance, enter a username and password.
Note: Cloud SQL populates the Port field automatically with information about your source instance. If this field is empty, then enter the appropriate port number.Select the region where you want to save the connection profile.
Note: Connection profiles, like all resources, are saved in a region. Region selection doesn't affect which migration jobs can use connection profiles, or which regions can connect to the data location. But region selection can affect availability in the case of regional downtime.If you want to encrypt your data, then enable SSL/TLS encryption for the connection between the source and destination databases. Otherwise keep the default value of None.
Click Create.
Database Migration Service uses migration jobs to migrate data from your source Cloud SQL Enterprise edition database instance to the destination Cloud SQL Enterprise Plus edition instance.
Creating a migration job includes the following steps:
In the Google Cloud console, go to the Migration jobs page in Database Migration Service.
Click Create migration job.
In the Migration job name field, enter a name for the migration job, such as My Migration Job
.
From the Source database engine drop-down list, select Cloud SQL for MySQL. Database Migration Service selects the Destination database engine automatically.
Select the destination region where the Cloud SQL Enterprise Plus edition instance is created.
From the Migration job type drop-down list, select Continuous because you want ongoing changes in your source Cloud SQL Enterprise edition database to be migrated to the destination Cloud SQL Enterprise Plus edition instance.
Review the required prerequisites that are generated automatically to reflect how the environment must be prepared for a migration job. These prerequisites can include how to configure the source Cloud SQL Enterprise edition database and how to connect it to the destination Cloud SQL Enterprise Plus edition instance.
It's recommended to complete these prerequisites at this step, but you can complete them at any time before you test or start your migration job.
Click Save & continue.
From the Select source connection profile drop-down list, select the connection profile that you created.
Click Save & continue.
In the Password field, enter an alphanumeric password for the destination Cloud SQL Enterprise Plus edition instance. This is the password for the root
administrator account in the instance.
From the Database version drop-down list, select the destination instance from the list of supported Cloud SQL versions for the specified database engine.
Select Enterprise Plus.
From the Choose region and zone section, select the desired Google Cloud zone for the new Cloud SQL Enterprise Plus edition instance (or leave as Any).
Select the Private IP checkbox.
From the VPC drop-down list, select the VPC network that you noted in Retrieve information from the source Cloud SQL Enterprise edition instance.
Select the machine shape for the Cloud SQL Enterprise Plus edition instance. The disk size must be equal to or greater than the source database size.
Define the storage type and storage capacity for the Cloud SQL instance.
To create the new instance, click Create & Continue.
In the dialog that appears, click Create destination & continue. Creating the instance may take several minutes to complete.
Important: This procedure creates a Cloud SQL Enterprise Plus edition instance. You're charged according to the configuration that you select.Review the settings that you chose for the migration job.
Verify that the source has been configured correctly, that the source Cloud SQL Enterprise edition and destination Cloud SQL Enterprise Plus edition instances are able to communicate with each other, and that the migration job is valid:
Click Test job.
Verify that you see the Your migration job test was successful!
status.
If the test fails, then you can address the problem in the appropriate part of the flow, and return to re-test.
To create the migration job and start it immediately, click Create & start job.
In the dialog that appears, click Create & start.
In the Migration jobs page, verify that your migration job has a status of Starting
.
After a few minutes, confirm that the status changes to Running
.
To confirm that Database Migration Service used the migration job to migrate data from your source Cloud SQL Enterprise edition database instance to the destination Cloud SQL Enterprise Plus edition database instance, complete the following steps:
In the Google Cloud console, go to the SQL Instances page.
Click the read replica entry of your migration job.
Note: Make sure that the Cloud SQL edition for this entry is Enterprise Plus, and not Enterprise.At the prompt, to connect to the destination Cloud SQL Enterprise Plus edition database instance, use the gcloud sql connect
command.
gcloud sql connect DESTINATION_INSTANCE_NAME --user=root
Replace DESTINATION_INSTANCE_NAME with the name of the destination Cloud SQL Enterprise Plus edition instance.
show databases;
.use SOURCE_DATABASE_INSTANCE_NAME;
.show tables;
.select * from TABLE_NAME;
.Promoting the migration job replaces the source Cloud SQL Enterprise edition database instance with the destination Cloud SQL Enterprise Plus edition database instance as the primary database.
To promote the migration job, complete the following steps:
Return to the Migration jobs page.
Click the migration job that you want to promote. The Migration job details page appears.
Stop all writes to the source Cloud SQL Enterprise edition database.
Important: Before you stop writes to the source database, wait for the replication delay to be minimal. You must stop all writes to this database because, by promoting the migration job, the destination Cloud SQL Enterprise Plus edition database becomes your primary database. You can use a script to verify that writing is stopped. For more information, see Find write activities.Verify that the replication delay is minimal.
Click the migration job that you want to promote. This job has a status of Running
.
To promote the migration job, click Promote.
In the dialog that appears, click Promote.
Verify that the migration job has a status of Promote in progress
. After a few minutes, confirm that the status changes to Completed
.
Your new Cloud SQL Enterprise Plus edition database instance is ready to use.
Clean upTo avoid incurring charges to your Google Cloud account for the resources used on this page, use the Google Cloud console to delete your migration job, connection profile, source Cloud SQL Enterprise edition instance, and project if you don't need them.
What's nextExcept 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-14 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-14 UTC."],[],[]]
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