Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Apache Cassandra :Is a a key-value or a column-oriented (or tabular) database management system?

avatar
Expert Contributor

Can anyone clarify this :

Apache Cassandra is a key-value or a column-oriented (or tabular) database management system?

1 ACCEPTED SOLUTION

avatar
Super Guru

@Amit Dass

Both, Cassandra and HBase are columnar.

Key-Value stores store keys value pairs, generally in buckets, exactly like a hash table data structure. Example is Redis, Memcache, etc.

Column stores seem to store data in related rows, but they actually serialize the data into columns.

++++

If any response addressed your question, please vote and accept best answer.

View solution in original post

2 REPLIES 2

avatar
Master Guru

@Amit Dass Yes it is a key value store similar to Apache HBase. Think of it as a map. To get a "column" you need to know how to find it. That is through the rowkey design. the rowkey+column name provide you the "Map" to the column of where it physically resides.

avatar
Super Guru

@Amit Dass

Both, Cassandra and HBase are columnar.

Key-Value stores store keys value pairs, generally in buckets, exactly like a hash table data structure. Example is Redis, Memcache, etc.

Column stores seem to store data in related rows, but they actually serialize the data into columns.

++++

If any response addressed your question, please vote and accept best answer.