Migrating Greenplum® clusters
You can migrate your database from a third-party Greenplum® or PostgreSQL cluster to Yandex MPP Analytics for PostgreSQL using Yandex Data Transfer. This method enables you to:
- Migrate the database without interrupting user service.
- Migrate from older Greenplum® versions to newer versions.
- Eliminate the need for an intermediate VM or public internet access to your Managed Service for PostgreSQL target cluster.
For more information, see Problems addressed by Yandex Data Transfer.
Note
Data Transfer enables you to transfer the state of the source database to the Yandex MPP Analytics for PostgreSQL target without keeping it up-to-date (the Snapshot transfer type). Changes occurring on the source after the transfer is completed will not be transferred.
To migrate your database, you need to directly transfer the data, acquire a write lock for the old database, and switch over the load to the database cluster in Yandex Cloud.
Required paid resources
- Yandex MPP Analytics for PostgreSQL cluster: Computing resources allocated to hosts, storage and backup size (see Yandex MPP Analytics for PostgreSQL pricing).
- Public IP addresses if public access is enabled for cluster hosts (see Virtual Private Cloud pricing).
Getting started
Create a Greenplum® target cluster whose computing and storage capacity match those of the source database environment.
The source and target database names must be the same.
Transferring data
-
Prepare the source cluster:
-
Create a source endpoint with the following settings:
-
Database type:
GreenplumorPostgreSQL -
Endpoint parameters → Connection settings:
Custom installationConfigure the source cluster connection settings.
-
-
Create a target endpoint with the following settings:
-
Database type:
Greenplum -
Endpoint parameters → Connection settings:
Managed Service for Greenplum clusterSpecify the target cluster ID.
-
-
Create a Snapshot-type transfer configured to use the new endpoints.
-
Wait for the transfer status to change to Completed.
For more information about transfer statuses, see Transfer lifecycle.
-
Switch the source cluster to
read-only
mode and move the workload to the target cluster. -
To reduce the consumption of resources you do not need, delete them:
Greenplum® and Greenplum Database® are registered trademarks or trademarks of Broadcom Inc. in the United States and/or other countries.