All Products
Search
Document Center

DashVector:Create a partition

Last Updated:Mar 11, 2026

In DashVector, vectors in a collection can be partitioned for management. Partitions let you segment vectors into logical groups so that queries target only the relevant subset, reducing search scope and improving performance.

You can create partitions through the DashVector console, SDKs (Python, Java), or the HTTP API.

Prerequisites

Before you begin, ensure that you have:

Partition naming rules

Every collection includes a partition named default. This partition is created automatically and cannot be deleted.

Custom partition names must meet the following requirements:

RequirementDetail
LengthUp to 32 characters
Allowed charactersLetters, digits, underscores (_), commas (,), and hyphens (-)
Starting characterMust start with a letter
UniquenessMust be unique within a collection

Create a partition in the console

  1. Log on to the DashVector console.

  2. In the left-side navigation pane, click Clusters. Find your collection and click Details in the Operation column.

    Clusters page

  3. In the left-side bar, click Partition Management.

    Partition Management

  4. Click Create partition, enter a partition name, and then click Confirm.

    Create partition dialog box

Create a partition by using an SDK

  • For more information about how to create a partition by using the SDK for Python, see Create a partition.

  • For more information about how to create a partition by using the SDK for Java, see Create a partition.

Create a partition by using the HTTP API

Send a request to the DashVector HTTP API to create a partition. For the full API specification, see Create a partition (HTTP API).

Related topics