I am sure most of you all are familiar with SQL database and have worked with MYSQL, Oracle or other SQL databases. And obviousely you must have heard of "NOSQL" as well. So in this blog post we'll see what this NoSQL is and the key differences between NoSQL and SQL.
What is "NOSQL"?
NOSQL stands for Not Only SQL.It is an approach to database design that can accomodate a wide variety of data models. NoSQL doesn't have a predefined schema and used for big data and real time web applications.
There are several types of database types.
1.Key-Value : Stores data as key value pairs
Ex: Redis, Riak, Memcached
2.Document : Stores data as documents (JSON,BSON,XML)
Ex: MongoDB
3.Column : Stores data in column families as rows have many columns assosiated with.
Ex: Cassendra
4.Graph : Stores entities(nodes) and relationships(edges) between them and represent it in a graph.
Ex: Neo4j
Benefits of NoSQL
3.Column : Stores data in column families as rows have many columns assosiated with.
4.Graph : Stores entities(nodes) and relationships(edges) between them and represent it in a graph.
Basically NoSQL databases are more more scalable and provides a comparatively superior performance.
Comments
Post a Comment