Updated on 2026-08-04 GMT+08:00

Sharding

Scenarios

For a DDS cluster instance, you can shard a collection if it contains a large amount of data. Sharding distributes data across different machines to make full use of the storage space and compute capability of each shard.

When sharding a non-empty collection, the collection is locked, which can cause service processes to be blocked. Sharding a larger collection takes longer. Therefore, you must ensure that related workloads are in an off-peak period before performing the sharding operation.

Procedure