Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6620733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:08:28+00:00 2026-05-25T21:08:28+00:00

The three types of NoSQL databases I’ve read about is key-value, column-oriented, and document-oriented.

  • 0

The three types of NoSQL databases I’ve read about is key-value, column-oriented, and document-oriented.

Key-value is pretty straight forward – a key with a plain value.

I’ve seen document-oriented databases described as like key-value, but the value can be a structure, like a JSON object. Each “document” can have all, some, or none of the same keys as another.

Column oriented seems to be very much like document oriented in that you don’t specify a structure.

So what is the difference between these two, and why would you use one over the other?

I’ve specifically looked at MongoDB and Cassandra. I basically need a dynamic structure that can change, but not affect other values. At the same time I need to be able to search/filter specific keys and run reports. With CAP, AP is the most important to me. The data can “eventually” be synced across nodes, just as long as there is no conflict or loss of data. Each user would get their own “table”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:08:29+00:00Added an answer on May 25, 2026 at 9:08 pm

    In Cassandra, each row (addressed by a key) contains one or more “columns”. Columns are themselves key-value pairs. The column names need not be predefined, i.e. the structure isn’t fixed. Columns in a row are stored in sorted order according to their keys (names).

    In some cases, you may have very large numbers of columns in a row (e.g. to act as an index to enable particular kinds of query). Cassandra can handle such large structures efficiently, and you can retrieve specific ranges of columns.

    There is a further level of structure (not so commonly used) called super-columns, where a column contains nested (sub)columns.

    You can think of the overall structure as a nested hashtable/dictionary, with 2 or 3 levels of key.

    Normal column family:

    row
        col  col  col ...
        val  val  val ...
    

    Super column family:

    row
          supercol                      supercol                     ...
              (sub)col  (sub)col  ...       (sub)col  (sub)col  ...
               val       val      ...        val       val      ...
    

    There are also higher-level structures – column families and keyspaces – which can be used to divide up or group together your data.

    See also this Question: Cassandra: What is a subcolumn

    Or the data modelling links from http://wiki.apache.org/cassandra/ArticlesAndPresentations

    Re: comparison with document-oriented databases – the latter usually insert whole documents (typically JSON), whereas in Cassandra you can address individual columns or supercolumns, and update these individually, i.e. they work at a different level of granularity. Each column has its own separate timestamp/version (used to reconcile updates across the distributed cluster).

    The Cassandra column values are just bytes, but can be typed as ASCII, UTF8 text, numbers, dates etc.

    Of course, you could use Cassandra as a primitive document store by inserting columns containing JSON – but you wouldn’t get all the features of a real document-oriented store.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read the implementation of three types of notifications possible in WP7 app -
I have been reading that lots of people use Redis or another key-value store/NoSQL
I only found three types of dialog in gVim: :let n = inputdialog(value for
NSXMLParser has three types of init. -> init -> initWith Data -> initWithContents of
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
i have an IList<Animals> farmAnimals; this list has three types, Cows Sheep Chickens how
The C standard states: ISO/IEC 9899:1999, 6.2.5.15 (p. 49) The three types char, signed
I like to distinguish three different types of conflict from a version control system
Please consider the following three .NET types: I have an interface, an abstract class,
I am aware that in .NET there are three timer types (see Comparing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.