Skip to main content
Version: User Guides (Cloud)

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.

The migration process is structured into these steps:

  1. Connect to data source: Enter your VectorDB instance URL and API key to establish a connection.

  2. Select source and target:

    • Choose one or more source collections for migration.

    • Select an existing Zilliz Cloud cluster as the target.

  3. Configure schema: Verify that field types are correctly mapped between Tencent Cloud VectorDB and Zilliz Cloud. For detailed mapping rules, refer to Mapping rules.

Pgs9wW56chr4CrbVTKmcQUHrn8b

Mapping rules

The following table summarizes how field types in Tencent Cloud VectorDB are mapped to Zilliz Cloud field types, along with details on any customization options.

VectorDB Field Type

Zilliz Cloud Field Type

Description

Primary key

Primary key

The primary key from Tencent Cloud VectorDB is automatically mapped as the primary key in Zilliz Cloud. When migrating data, you can enable Auto ID. However, if you do so, the original primary key values from your source collection will be discarded.

Dense vector

FLOAT_VECTOR

Dense vector fields are transferred as FLOAT_VECTOR with no modifications required.

JSON

Dynamic field

By default, Tencent Cloud VectorDB's JSON field is mapped as a dynamic schema in Zilliz Cloud. When migrating data, consider converting dynamic fields into fixed fields when their patterns have stabilized and you want to enforce strict data types and optimized index configurations for these fields.

string

VARCHAR

If a field in Tencent Cloud VectorDB's JSON field is of type string and you convert it to a fixed field, it becomes a VARCHAR type. Note: The maximum length for this field is fixed at 65,535 bytes and cannot be modified. The capacity calculation is determined by the actual field length.

uint64

INT32

If a field in Tencent Cloud VectorDB's JSON field is of type uint64 and you convert it to a fixed field, it becomes an INT32 type.

double

DOUBLE

If a field in Tencent Cloud VectorDB's JSON field is of type double and you convert it to a fixed field, it becomes a DOUBLE type.

array

ARRAY

If a field in Tencent Cloud VectorDB's JSON field is of type array and you convert it to a fixed field, it becomes an ARRAY type.

Before you start

  • The source Tencent Cloud VectorDB instance is accessible from the public internet.

  • If you have an allowlist configured in your network environment, ensure that Zilliz Cloud IP addresses are added to it. For more information, refer to Zilliz Cloud IPs.

  • 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

  1. Log in to the Zilliz Cloud console.

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

    HbbAbTbAPoCmUJxbCjbcTohKnXg

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

    TFe1bizp3oGx9MxmaBQccuCEnQh

  4. In the Select Source and Target step, configure settings for the source database 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.

    DOXobO4rdov3b8xuMlHcKXnZnFd

  5. In the Configure Schema step, set up field mappings between Zilliz Cloud and Tencent Cloud VectorDB:

    GIcZb36l1o8l40xjE2Rcg9l2nyb

    1. Confirm field mappings:

      • Zilliz Cloud automatically detects and displays your Tencent Cloud VectorDB fields alongside their corresponding target fields. For details on how these fields are mapped, refer to Mapping rules.

      • Verify that each Tencent Cloud VectorDB field is correctly paired with its corresponding target field. You can rename fields as needed, but note that the data type cannot be changed.

    2. Handle JSON fields:

      • Your Tencent Cloud VectorDB JSON fields appear in the Metadata section and are set as dynamic fields by default.

        📘Notes

        Dynamic fields store metadata in a JSON format, enabling more flexible and evolving data structures. For details, refer to Dynamic Field.

        Fixed fields are explicitly defined in your schema with a predetermined structure. They allow you to enforce specific data types and index configurations.

      • To convert a JSON field into a fixed field, select the field and click the Convert to Fixed Field icon. Note that Zilliz Cloud samples only 100 rows to extract fields from payloads. To add more fields, click the Settings icon.

      • For JSON fields converted to fixed fields, configure the following attributes:

        • Nullable: Decide whether a field can accept null values. This feature is enabled by default. For details, refer to Nullable & Default.

        • Default Value: Specify a default value for a field. For details, refer to Nullable & Default.

        • Partition Key: Optionally designate an INT64 or VARCHAR field as the partition key. Note: Each collection supports only one partition key, and the selected field cannot be nullable. For details, refer to Use Partition Key.

    3. (Optional) Adjust shards:

      • Click Advanced Settings to configure the number of shards for your target collection.

      • For datasets of around 100 million rows, a single shard is typically sufficient.

      • If your dataset exceeds 1 billion rows, contact us to discuss optimal shard configuration for your use case.

  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.

ALt3blv2MoUd04xhosXcYCWWnhg

Post-migration

After the migration job is completed, note the following:

  • Index Creation: The migration process does not automatically create indexes for vector fields when migrating from external data sources. You must manually create the index for each vector field. For details, refer to Index Vector Fields.

  • Manual Loading Required: After creating the necessary indexes, manually load the collections to make them available for search and query operations. For details, refer to Load & Release.

📘Notes

Once you have completed indexing and loading, 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:

  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.