Clustering keys

All keys in a Cassandra primary key that are not partition keys are clustering keys. Clustering keys serve two functions. First of all, they enforce the on-disk sort order in which the data is written. Secondly, they allow you to control the uniqueness of your data model.

Get Seven NoSQL Databases in a Week now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.