split chunk
Splits each of the specified chunks into two chunks with an equal number of records. After the split, the chunks remain in the same shard.
Syntax
split chunk -chunk chunk_id_list
[-shardspace shard_space_list]Options
Table 2-98 GDSCTL split chunk Options
| Option | Description |
|---|---|
-chunk chunk_id_list |
Specify a comma-separated list of numeric chunk identifiers. |
-shardspace shard_space_list |
Specify a list of shardspace names in which to split the specified chunks. |
Usage Notes
This command can only be used with system-managed sharding. For user-defined sharding, ALTER TABLE is used to split a partition of the root (parent) table.
Merging of chunks is not supported.
Examples
Split chunks 3, 4, and 5.
GDSCTL> split chunk -chunk 3,4,5