What does “Document-oriented” vs. Key-Value mean when talking about MongoDB vs Cassandra?
Question
What does going with a document based NoSQL option buy you over a KV store, and vice-versa?
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