WHAT IS NOSQL DATABASE

What is NoSQL?

NoSql (Not Only Sql) is a database which provides a mechanism for store and retrieve data in non-tabular way which used in RDBMS (Relational Database Management System). NoSql is very flexible and schema-less data model which support high-volume data accessibility in very fast manner. Due to non-relation it’s very flexible, Scalable, high availability and fault tolerance.

NoSql database is first alternative to relational database where schema is not fixed. Because NoSql support schema-less data model. Relational database not designed to agility challenges which modern applications need because modern applications require cheap storage and fast processing of data.

Mostly NoSql support JSON to store and retrieve data from their database engine. NoSql mostly used for Big Data, Distributed Computing.

NoSQL Database Types 

Types of NoSQL Databases


There are four general types of NoSQL databases, each with their own specific attributes: 

Key-Value store – Key-value database are designed for storing data in a schema-less way. In these database all data saved in key and a value, key is unique in a database and together with its value. Some key-value database support value type such as Integer.
Examples of this type of database include: Cassandra, DyanmoDB, Azure Table Storage (ATS), Riak, BerkeleyDB.

Column store – These database also known as wide-colum stores. These database are designed to work on large datasets. Column databases are designed for storing data tables as sections of columns of data. Column support very high performance and a highly scalable architecture. For example HBase, BigTable and HyperTable

Document database – Document database also known as semi-strunctured data. In document databases data stores in complex data structure with unique key known as a document. Document database designed for storing, retrieving and managing document-oriented information in very effectively manner.
Document can have different key-value pairs, key-array pairs, and nested documents. In document database unique key is used to retrieve the document from database engine.

Examples include: MongoDB and CouchDB.

Graph database – Graph database work based on graph theory. This database mostly use for store information about networkds like social connections etc. Graph database are designed for data which can easily represent in graph and need to show relations between them easily and effectively. 


Datamodel
Performance
Scalability
Flexibility
Complexity
Functionality
Key-value store
High
High
High
None
Variable (None)
Column Store
High
High
Moderate
Low
Minimal
Document Store
High
Variable (High)
High
Low
Variable (Low)
Graph Database
Variable
Variable
High
High
Graph Theory

Comments