Skip to main content

Cluster Key

This page provides a comprehensive overview of cluster key operations in Databend, organized by functionality for easy reference.

Cluster Key Management

CommandDescription
SET CLUSTER KEYCreates or replaces a cluster key for a table
ALTER CLUSTER KEYModifies an existing cluster key
DROP CLUSTER KEYRemoves a cluster key from a table
RECLUSTER TABLEReorganizes table data based on the cluster key
note

Cluster keys in Databend are used to physically organize data in tables to improve query performance by co-locating related data.

Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today