Skip to main content
Version: User Guides (BYOC)

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

migrate_from_vectordb

You can migrate source data to a Zilliz Cloud cluster of any plan tier, provided its CU size can accommodate the source data.

  1. Log in to the Zilliz Cloud console.

  2. Go to the target project page and select Migrations > Tencent Cloud VectorDB.

  3. In the Connect to Data Source step, enter Instance URL and API Key. Then, click Next.

  4. In the Select Source and Target step, configure settings for the source Elasticsearch cluster and target Zilliz Cloud cluster. Then, click Next.

    📘Notes

    Each source index you choose to migrate from Tencent Cloud VectorDB must include a vector field.

  5. In the Configure Schema step,

    1. In Schema Preview, verify the field mapping between your Tencent Cloud VectorDB collection and the corresponding Zilliz Cloud collection.

      📘Notes
      • The 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 a max_length range of 1 to 65,535 characters. When inserting or upserting entities, ensure that VARCHAR field values stay within this limit.

      • You may rename fields, but the data types are fixed and cannot be changed.

    2. In Advanced Settings, verify the settings of Dynamic Field and Partition Key.

      1. Dynamic Field: Enabled by default and cannot be modified. It stores scalar fields from the source collection, ensuring consistency and maintaining flexibility.

      2. 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.

    3. 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.

  6. 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.

📘Notes

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.

verify_collection

Cancel migration job

If the migration process encounters any issues, you can take the following steps to troubleshoot and resume the migration:

  1. On the Jobs page, identify the failed migration job and cancel it.

  2. Click View Details in the Actions column to access the error log.