Migrate from Tencent Cloud to Zilliz Cloud
Tencent Cloud VectorDB is a vector database solution designed for similarity searches. Migrating data from Tencent Cloud VectorDB to Zilliz Cloud allows users to take advantage of Zilliz Cloud's enhanced capabilities for vector analytics and scalable data management.
This guide will help you migrate your data from Tencent Cloud VectorDB to Zilliz Cloud, including steps to establish the connection, configure data mappings, and troubleshoot potential issues.
Considerations
-
When you migrate data from Tencent Cloud VectorDB to Zilliz Cloud, vector fields are transferred directly, while scalar fields from Tencent Cloud VectorDB are stored as JSON in a dynamic field on Zilliz Cloud. For details on the dynamic field feature, refer to Enable Dynamic Field.
-
To ensure compatibility, Auto ID will be disabled and cannot be modified for each target collection on Zilliz Cloud.
-
Each migration task is limited to a single source Tencent Cloud VectorDB instance. If you have data in multiple source clusters, you can set up separate migration jobs for each one.
Before you start
-
The source Tencent Cloud VectorDB instance is accessible from the public internet.
-
You have obtained the necessary connection credentials for the source cluster: instance URL and API key.
-
You have been granted the Organization Owner or Project Admin role on Zilliz Cloud. If you do not have the necessary permissions, contact your Zilliz Cloud administrator.
Migrate from Tencent Cloud to Zilliz Cloud
You can migrate source data to a Zilliz Cloud cluster of any plan tier, provided its CU size can accommodate the source data.
-
Log in to the Zilliz Cloud console.
-
Go to the target project page and select Migrations > Tencent Cloud VectorDB.
-
In the Connect to Data Source step, enter Instance URL and API Key. Then, click Next.
-
In the Select Source and Target step, configure settings for the source Elasticsearch cluster and target Zilliz Cloud cluster. Then, click Next.
📘NotesEach source index you choose to migrate from Tencent Cloud VectorDB must include a vector field.
-
In the Configure Schema step,
-
In Schema Preview, verify the field mapping between your Tencent Cloud VectorDB collection and the corresponding Zilliz Cloud collection.
📘NotesThe Auto ID is disbaled and cannot be modified.
The record ID from Tencent Cloud VectorDB will be mapped to a
VARCHAR
field on Zilliz Cloud as the primary field, with amax_length
range of 1 to 65,535 characters. When inserting or upserting entities, ensure thatVARCHAR
field values stay within this limit.You may rename fields, but the data types are fixed and cannot be changed.
-
In Advanced Settings, verify the settings of Dynamic Field and Partition Key.
-
Dynamic Field: Enabled by default and cannot be modified. It stores scalar fields from the source collection, ensuring consistency and maintaining flexibility.
-
Partition Key: Disabled by default and cannot be modified. This is because scalar fields from Tencent Cloud VectorDB is stored as JSON in a dynamic field, which cannot serve as a partition key. In Zilliz Cloud, only scalar fields that are explicitly defined in the schema can be used as partition keys.
-
-
In Target Collection Name and Description, customize the target collection name and description. The collection name must be unique in each cluster. If the name duplicates an existing one, rename the collection.
-
-
Click Migrate.
Monitor the migration process
Once you click Migrate, a migration job will be generated. You can check the migration progress on the Jobs page. When the job status switches from IN PROGRESS to SUCCESSFUL, the migration is complete.
After migration, verify that the number of collections and entities in the target cluster matches the data source. If discrepancies are found, delete the collections with missing entities and re-migrate them.
Cancel migration job
If the migration process encounters any issues, you can take the following steps to troubleshoot and resume the migration:
-
On the Jobs page, identify the failed migration job and cancel it.
-
Click View Details in the Actions column to access the error log.