Tuesday, March 3, 2015

NoSQL Types

At this point we are little bit familiar NoSQL databases, CAP Theorem and BASE.

Let's see, what we can do with NoSQL.
NoSQL comes in different flavours. We broadly define four categories of NoSQL.

  1. Column Families or wide column store
  2. Document Store
  3. Key/ value Store
  4. Graph Data store
Let's check each of them in the next section,
  1. Column Families or wide column store - we know about matrix transpose. Where columns become rows and rows become columns. We can see this type NoSQL database in the same way. These type of databases work on the strategy of storing data as columns of data instead of rows.
  2. Document Store - most interesting part of this kind of database is that you can simply put the data in database as the way you put the same in the memory. Interestingly these database model follows XML, BSON or JSON data models that is easily mapped with Object Oriented Programming Languages like Java.
    This kind is perfect semi-structured information storing. So, this can be used in Web Applications where semi-structured data is very common.
  3. Key/ value Store - this is the simplest of all NoSQL databases cause it simply works on a key-value pair way. Again we can see this one as a HashMap<String, Object> or HashMap<Integer, Object> in Java.
  4. Graph databases - this kind of NoSQL databases works on node, property and relations between nodes. Social Networking is the platform for NoSQL graph databases to play key role.
    Interesting point to note here is that, although being part of NoSQL world, Graph Databases support ACID transactions.
Each type has its own pros and cons. In next sections we will know about them. Here is a list of all NoSQL databases and their types for your reference NoSQL databases.

Hope this gets you little bit of information on Big Data. If you liked this article, please reshare with your network...
Prev     Next
Palash Kanti Kundu

No comments:

Post a Comment