Stay organized with collections Save and categorize content based on your preferences.
Promotion means that the destination AlloyDB for PostgreSQL instance is disconnected from the source, and is promoted from a replica instance to a primary instance.
For continuous migrations, you can initiate the promotion process after it's time to move reads and writes to the destination.
To promote a migration without loss of information, follow these steps:
Click the migration job that represents the migration that you want to promote. The Migration job details page appears.
After the full dump phase has completed and the migration job is in CDC phase, the option for promotion is available.
Immediately after transitioning to the CDC phase, depending on the size of the dump, there may be a long replication delay because the AlloyDB for PostgreSQL destination instance catches up on changes that occurred during the dump and load.
Wait for the replication delay to trend down significantly, ideally on the order of minutes or seconds. The replication delay is available for review on the migration job page.
Promote in progress
. At this point, you cannot stop or undo the promotion process.Completed
.When you promote migration jobs that have failed or were manually stopped during CDC phase, data on the source and the destination can be inconsistent.
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."],[[["Promotion of an AlloyDB for PostgreSQL migration job converts the destination instance from a replica to a primary instance, disconnecting it from the source."],["The promotion option becomes available after the full dump phase is completed and the migration is in the CDC phase, but it is ideal to wait until the replication delay is minimal."],["Before promoting, all writes, scripts, and client connections to the source database must be stopped to prevent data loss."],["After the promotion process is initiated, it cannot be stopped or undone, and the destination instance becomes the primary writable instance."],["Promoting a failed or manually stopped migration during the CDC phase can result in data inconsistencies between the source and destination databases."]]],[]]
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