Create distributions, key ranges and tables and see cluster info
AUTO INCREMENT
argument creates a sequence.
START
keyword.REDISTRIBUTE KEY RANGE
command is similar to MOVE KEY RANGE
, but with one key difference: REDISTRIBUTE
moves the key range in smaller chunks to minimize downtime for write operations.
BATCH SIZE
is an integer value that controls the number of keys moved in each batch during redistribution. Default batch size is 500.
You can also use optional keywords CHECK
and APPLY
. By default, command will check for the ability to move keys, then perform the actual movement. With CHECK
, you can perform a dry-run.
With APPLY
, you can skip checks.
where_clause
is used to filter the results based on specific conditions. It allows you to specify criteria for selecting the information to be shown.