Let us assume that we have a single table (column family) for a cluster to keep things simple.
Assumptions and Storage Formula
We will make the following assumptions for this example:
100 columns per row.
10,000 write operations per second and 500 read operations per second (95 percent writes and 5 percent reads).
For the sake of simplicity, we will … Read More →
Intro to Cassandra Data Model
Non-relational, sparse model designed for high scale distributed storage
Data Model – Example Column Families
Data Model – Super & Composite column
Don’t think of a Relational Table
Instead, think of a nested, sorted map data structure
SortedMap<RowKey, SortedMap<ColumnKey, ColumnValue>>
• Physical model is more similar to sorted map than relational How?
Map gives efficient key lookup & … Read More →