Tanzu Greenplum upgrade, or gpupgrade
, allows in-place upgrades from a major Greenplum Database 5.x version to a 6.x major version, with no changes to the cluster architecture and node count. The gpupgrade
utility removes the need for time-consuming backup and restore operations and the use of additional hardware.
You do not need to use gpupgrade
for Greenplum minor version upgrades (for example from 6.9 to 6.10), because minor version upgrades do not change system tables and require only a software update.
Key Features
Tanzu Greenplum upgrade includes several key features:
pg_upgrade and upstream workflow compatibility
Tanzu Greenplum upgrade is based on PostgreSQL pg_upgrade
which removes the need for specific or unique logic. It is also compatible with upstream workflow.
“Crash-only” Idempotence
If an error occurs during upgrade, it is possible to address it and simply re-run upgrade.
Data migration scripts
Tanzu Greenplum upgrade generates scripts to modify certain objects that pg_upgrade
cannot upgrade.
Step-By-Step Workflow
The user interface walks you through step-by-step, providing next actions to perform, along with suggestions for when errors occur.
Revert option
You can revert the environment during the upgrade process to its initial state.
In this documentation, we refer to the existing Greenplum Database 5 installation as the source cluster and to the new Greenplum Database 6 installation as the target cluster. They both reside in the same set of hosts.
gpupgrade Architecture
The gpupgrade
utility architecture contains the following processes:
-
Hub: Running on the master host, the hub process coordinates the agent processes and reports upgrade status information.
-
Agent: Running on each segment host in the Greenplum cluster, including the standby master, the
gpupgrade
agent processes respond to instructions from the hub to perform tasks such as pre-upgrade checks, runningpg_upgrade
on each segment on the host, and returning status information to the hub. -
CLI: Running on the master host, the cli issues the commands for the upgrade and allows progress visibility.
Content feedback and comments