Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
Moving Data Across Clusters
On this page
You can only share data or attach databases within a single cluster group, not across groups.
To move data between cluster groups, you can use one of the following methods:
Move a Table or a Subset of Data (ETL via Object Storage)
This method involves the following steps:
-
Export from the source cluster group: From a cluster in the source cluster group, write the table to S3/GCS/Azure Blob using
SELECT ... . INTO For example: SELECT * FROM src_db.src_tableINTO S3 's3://my-bucket/my-prefix/'CONFIG '{...}'CREDENTIALS '{...}';Variants exist for
INTO AZURE,INTO GCS, etc.for details refer SELECT -
Re-create the schema in target cluster group: In a cluster in the destination cluster group, create the destination table with matching DDL.
-
Load into target cluster group: In the destination cluster group, use a Pipeline (recommended) or
LOAD DATAfrom that bucket to load into the new table.CREATE PIPELINE p_move_table ASLOAD DATA S3 's3://my-bucket/my-prefix/'CONFIG '{...}'CREDENTIALS '{...}'INTO TABLE dest_db.dest_table;START PIPELINE p_move_table;For details on options available refer:
Move an Entire Database
If you want to move a whole database across cluster groups, you can:
Run BACKUP DATABASE from a cluster in the source cluster group to object storage.
Run RESTORE DATABASE from a cluster in the destination cluster group, pointing at that backup.
Last modified: