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 your database with zero downtime.
- Migrate from older to newer versions of Greenplum®.
- Eliminate the need for an intermediate VM or for exposing your Managed Service for PostgreSQL target cluster to the internet.
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, which includes the use of computing resources allocated to hosts, storage and backup size (see Yandex MPP Analytics for PostgreSQL pricing).
- Each transfer: use of computing resources and the number of transferred data rows (see Data Transfer pricing).
- Public IP addresses if public access is enabled for cluster hosts (see Yandex Virtual Private Cloud pricing).
Getting started
Create a Greenplum® target cluster with computing capacity and storage size matching the source database’s 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 installation.Configure the source cluster connection settings.
-
-
Create a target endpoint with the following settings:
-
Database type:
Greenplum. -
Endpoint parameters → Connection settings:
Managed Service for Greenplum cluster.Specify the target cluster ID.
-
-
Create a transfer of the Snapshot-type that will 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 transfer the workload over to the target cluster. -
To minimize resource consumption, delete the resources you no longer need:
Greenplum® and Greenplum Database® are registered trademarks or trademarks of Broadcom Inc. in the United States and/or other countries.