NOSQL means Not Only SQL. This is such a data management system which is non relational. It is also a scalable database format. It is also an open source database system. It provides flexible schemas and scale easily with a huge amount of data and high user loads.
Before we discuss about NOSQL, let’s talk about CAP theorem.
Consistency: If data is written, any future read request should contain that data. That states that every read receives the most recent write or an error.
Availability: All reads contain data, but it might not be the most recent.
Partition Tolerance: The system continues to operate despite an arbitrary number of messages being dropped by network between nodes.
Here we will discuss about the features of NOSQL database
There are generally four types of NOSQL database. They are:
Let’s talk elaborately.
Example: Couch base server, Mark logic, MangoDB etc.
Graphical database stores the collected data as nodes, which are similar to rows in a relational database and edges which represent connection between nodes. Graph databases are used in social media platforms, reservation systems, and customer relationship management. Example: Allerograph, IBMGraph, Neo4j etc.
Key value database is a simple type of database that contains keys and values. It is used in Web applications and session management.
Example: Aerospike, Radis and Riak.
It store data in table, rows and dynamic columns.
Example: Accumulo, Amazon simpleDB, HBase etc.
There are many advantages of NOSQL. They are described below:
In spite of these advantages there are also some disadvantages of NOSQL. They are: