Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

How data is structured in newer versions

In versions of Apache Cassandra from 3.0 on, the underlying data is structured slightly differently. The Cassandra storage engine was rewritten as a part of this release, providing several benefits.

Consider the CQL query used as the basis for the prior example, where we queried our the hi_scores table for the player named Connor. If we were to look at the underlying data using the sstabledump tool, it would look something like this:

tools/bin/sstabledump data/data/packt/hi_scores-73a9df80637b11e8836561ec0efea4b2/mc-1-big-Data.db[ {   "partition" : {     "key" : [ "Connor" ],     "position" : 0   },   "rows" : [     {       "type" : "row",       "position" : 44,       "clustering" : [ "Frogger" ], "liveness_info" : { "tstamp" : "2018-05-29T12:28:07.988225Z" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content