Appropriate uses for row-caching

As entire rows are stored in RAM with row-caching, it is important to note that some data models are intrinsically better for caching than others. Tables modeled with slim or narrow rows (Gilmore 2011) per partition are very efficiently cached. However, partitions with wide rows or rows with lots of data in collections are best left in tables with row-caching disabled. Row-caching also works best when applied to datasets with access patterns that follow a gaussian (normal) distribution (Gilmore 2011).

Get Mastering Apache Cassandra 3.x - Third Edition 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.