Adding the fourth part in the series
|Deletions are marked like this.||Additions are marked like this.|
|Line 10:||Line 10:|
|For more detail, see Patrick !McFadin's three-part series:||For more detail, see Patrick !McFadin's data modeling series:|
|Line 15:||Line 15:|
|1. Apache Cassandra 2.0: Data Model on Fire: [[http://www.youtube.com/watch?v=oUEKMcTsbfU|Video]], [[http://www.slideshare.net/planetcassandra/c-summit-eu-2013-apache-cassandra-20-data-model-on-fire|Slides]]|
Cassandra is a partitioned row store, where rows are organized into tables with a required primary key.
The first component of a table's primary key is the partition key; within a partition, rows are clustered by the remaining columns of the PK. Other columns may be indexed independent of the PK.
This allows pervasive denormalization to "pre-build" resultsets at update time, rather than doing expensive joins across the cluster.
DataStax has a good introduction to data modeling in Cassandra here.
For more detail, see Patrick McFadin's data modeling series: