Cluster Key
This page provides a comprehensive overview of cluster key operations in Databend, organized by functionality for easy reference.
Cluster Key Management
| Command | Description |
|---|---|
| SET CLUSTER KEY | Creates or replaces a cluster key for a table |
| ALTER CLUSTER KEY | Modifies an existing cluster key |
| DROP CLUSTER KEY | Removes a cluster key from a table |
| RECLUSTER TABLE | Reorganizes table data based on the cluster key |
Related Topics
note
Cluster keys in Databend are used to physically organize data in tables to improve query performance by co-locating related data.