Dec 4, 2026: Optima Clustering automatic clustering key selection (General availability)¶
With this release, automatic clustering key selection for Optima Clustering is generally available.
With automatic clustering key selection, Snowflake chooses the clustering key for a table, so you don’t have to pick clustering
keys for each of your tables. To enable it, use the CLUSTER BY AUTO clause when you create a table or alter an existing table:
The table then uses Optima Clustering. To enable automatic clustering key selection on a table that already has a clustering key, drop the clustering key first.
Snowflake aims to apply a clustering key only when it expects the key to improve query performance and to be worth the cost. Snowflake monitors performance after it applies a key and adjusts the key if performance regresses. You can replace an automatic clustering key with an explicit clustering key at any time, or drop the clustering key.
To tell whether Snowflake chose a table’s clustering key or you specified it, use the new IS_CLUSTER_BY_AUTO field. This field is
available in the output of the SYSTEM$CLUSTERING_INFORMATION function and the SHOW TABLES command, and in the TABLES views in the
ACCOUNT_USAGE, ORGANIZATION_USAGE, and INFORMATION_SCHEMA schemas.
Billing for automatically selected clustering keys differs from billing for manually selected clustering keys in three ways. The overlap factor is always 1, Snowflake doesn’t bill a one-time cost when Optima Clustering begins clustering a table by an automatically chosen clustering key, and Snowflake doesn’t bill for experimentation. Snowflake bills only after it selects and validates a clustering key. For details, see Costs for tables with an automatic clustering key.
For more information, see Automatic clustering key selection.