The file format is SSTable: http://wiki.apache.org/cassandra/ArchitectureSSTable
If you're getting into byte-level detail, I highly recommend you familiarize yourself with the read and/or write path first, because that deep in the bowels there are some non-obvious things going on where Cassandra differs from other database storage formats you might already be familiar with: https://wiki.apache.org/cassandra/ReadPathForUsers https://wiki.apache.org/cassandra/WritePathForUsers On Wed, Jun 15, 2016 at 4:30 AM Jonathan Ellis <jbel...@gmail.com> wrote: > It's a little more involved than that. I suggest inserting a single row in > a test table, then looking at the sstabledump output as a first step, then > compare with two rows in a single partition. Then you can code dive to see > what sstabledump is actually doing if you really need the byte-level > detail. > > On Wed, Jun 15, 2016 at 9:30 AM, Deepak Goel <deic...@gmail.com> wrote: > > > Hey > > > > Namaskara~Nalama~Guten Tag~Bonjour > > > > I tried searching for the fileformat of how cassandra stores its data, > but > > I couldn't find any... > > > > Suppose I have a database structure of the following format: > > > > RowID: Name: Age > > 1: Deepak : 33 > > 2: Deepak1: 34 > > 3: Deepak2: 35 > > > > How would this data actually stored in the data file of Cassandra? > > > > Would it be something like this: > > Deepak:1:33 > > Deepak1:2:34 > > Deepak2:3:35 > > > > Or, would it be: > > 1:Deepak :33 > > 2:Deepak1:34 > > 3:Deepak2:35 > > > > Thanks > > Deepak > > > > > > > > -- > > Keigu > > > > Deepak > > 73500 12833 > > www.simtree.net, dee...@simtree.net > > deic...@gmail.com > > > > LinkedIn: www.linkedin.com/in/deicool > > Skype: thumsupdeicool > > Google talk: deicool > > Blog: http://loveandfearless.wordpress.com > > Facebook: http://www.facebook.com/deicool > > > > "Contribute to the world, environment and more : > > http://www.gridrepublic.org > > " > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder, http://www.datastax.com > @spyced >