What does “Document-oriented” vs. Key-Value mean when talking about MongoDB vs Cassandra?

StackOverflow https://stackoverflow.com/questions/3046390

  •  27-09-2019
  •  | 
  •  

Question

What does going with a document based NoSQL option buy you over a KV store, and vice-versa?

Was it helpful?

Solution

The biggest difference is that a document-oriented database supports secondary indexes, K/V does not. In general, document-oriented dbs tend to allow richer queries, allowing things like range queries, sorting, and other types of "advanced" operations.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top