Advertisements
Home > Big Data, NoSQL > What is Document Stores?

What is Document Stores?

In my last article I explained Key-Value Stores. I’ll explain about Document Stores which is one of the subcategory of NoSQL Databases. As name explains this category is store of semi-structured documents which supports formats like JSON. Attractively rather than calling rows they call individual row as document.

What do you mean by Document in Document Store?

Simply document is nothing but a ROW in your table or collection(nothing but table in MongoDB)..!!. Characteristically, it’s a minute different for different Document Stores Products. But naturally documents end up being based on the whole concept of a JavaScript Object Notation(JSON) objects. Each document has properties because an object has properties and these properties have values like simple scalar or can also be an array. Document can have another embedded document or a reference link to another document from different table/database but finally they themselves are JSON objects. Object containing an object which kind of association to a document containing a document which is kind of a agreeable option for hierarchal storage or representation of the documents. Document Stores end up working awesome for content management applications like blogs, metadata management, etc. And with that in mind the whole idea of calling these things as a documents start to making sense to you.

But people are looking at document store are specialized key-value stores and yes they are accurately focused key-value stores. But there is same argument for most of the NoSQL database but it’s clear that document store is being getting used in certain area. That’s why document store ended up being voted as most popular by developers, startups and the people who fund startups.

Document Store database are widely used for storing semi-structured JSON formatted documents like Twitter, Facebook, Linked In streams and do further analysis on the top it to build operational business intelligence with the help of queries(most of document store databases supports query language), aggregation framework or map reduce.

Here is list of few Document Stores NoSQL Databases with their logos.

Below is graphical representation of schema in document store database.

Document Store NoSQL databases are most popular with developers because of following reasons.

  • Documents (JSON Objects) map nicely to programming language data types
  • Embedded documents and arrays reduce need for joins
  • Dynamically-typed (schemaless) for easy schema evolution
  • Indexing of keys from embedded documents and arrays
  • High availability
  • Easy scalability
  • Rich query language
  • Fully supported available to HTTP-based REST API, each document is addressable by its own URI and you can perform CRUD operations on your data with mobile applications and rich AJAX-style browser apps. It behaves terrible like a web server in terms of creating data, pulling data, fetching it, updating it, by using the standard HTTP verbs.

Hope this is useful information to all readers. I’ll explain Wide Column Stores in my next article.

Thanks for your precious time

Sandip

Advertisements
  1. February 11, 2013 at 3:56 pm

    I got what you mean, thanks for posting. Woh I am glad to find this website through google.

  2. source
    September 15, 2013 at 11:46 pm

    Very good posting!! But I’m not able to access graphical representation of schema.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: