Cassandra Primary vs Partitioning vs Clustering Keys

Irtiza Hafiz
Dev Genius
Published in
4 min readSep 11, 2020

--

Photo by Sidorova Alice on Unsplash

There are multiple types of keys in Cassandra. Namely:

  1. Primary Key
  2. Partitioning Key
  3. Clustering Key

Let’s go over each of these to understand them better.

Primary Key

--

--