There are mainly four types of NoSQL databases based on data models. Let us take a look at them one by one.
It is the most basic type of NoSQL implementation. Here value of any data is stored with a matching key without any structure or relation. It is suitable for storing basic information like user profiles, user sessions, shopping cart data, etc.
Amazon DynamoDB (Cloud)
A document-based model is nothing but a key-value store, where the document is stored in the value part and retrieved by the associated key. These documents can be XML, JSON or in any other form, having a hierarchical and self-defining structure.
It is suitable for storing nested information, CMSs, e-commerce applications, etc.
A column-based DBMS model stores related data in a family of columns. The important point to note is that different rows can have different columns and new columns can also be added to any row at any point of time. So, it is not necessary to maintain the same columns for all the rows.
It is suitable for storing large volumes of unstructured and non-volatile data. These are mostly used for log aggregation, blogging platforms, etc.
Amazon SimpleDB (Cloud)
A graph database is a different flavor compared to the other three types of NoSQL storage. It stores entities with their relationships. Entities are known as nodes (having their own properties) and relations are known as edges. This is like a tree structure where all the nodes are connected based on their relationships.
Graph databases are suitable in scenarios where we have data with strong relationships. Some of the implementations are social networks, recommendation engines, geospatial data, etc.
I would recommend to consult with somebody knowledgeable in the subject before choosing what NoSQL database to go with because “the most popular” solution might not be fit for solving your specific problem.
If you’re looking for comprehensive NoSQL database tutorials and learning opportunities, check out our various NoSQL database training options.