ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview,SQL Server,Ajax,jQuery Plugins,jQuery UI,SSRS,XML,HTML,jQuery demos,code snippet examples.

Breaking News

  1. Home
  2. Big Data
  3. NoSQL

NoSQL

There was a time we only understood the relational database. But with relational database we did not full fill our all types of requirements. Every time relational database is not the best solutions. That’s why different solutions have come. NoSQL is one of them. It is a database management mechanism which does not use relational tables. This article describes the introduction to NoSQL or basic overview of NoSQL. Summary of the article:
  • What is NoSQL?
  • History of NoSQL
  • Why NoSQL?
  • Taxonomy of SQL or NoSQL Database Types
  • NoSQL vs SQL
  • Limitation of NoSQL
What is NoSQL?
NoSQL stand for Not Relational SQL or Not Only SQL. Many people think that NoSQL means there is No SQL. But it is not true. Sound is same but the meaning is totally different.
NoSQL or Not Only SQL is a database management system. Like traditional RDMS (Relational Database Management System) it doesn’t use string based SQL queries to fetch data. It is not built on tables and does not use SQL to manipulate data. It provides a simple, lightweight mechanism to store and retrieve data that provides higher scalability and availability than RDMS. It uses looser consistency models to achieve horizontal scaling and higher availability. Consistency models are used in distributed systems like distributed shared memory systems or distributed data store.
This system is useful for huge quantity of data especially for Big Data.
History of NoSQL
At first Carlo Strozzi used the term NoSQL in 1998. Strozzi used it to name his lightweight and open-source relational database. In 2009 Eric Evans reintroduced NoSQL.
Why NoSQL?
A traditional RDMS usually deals with structured data. Currently we may have data in SMS, wave files, photos and video format. It is difficult to manage them by using traditional RDMS. NoSQL can handle structured, unstructured, unorganized and unpredictable data based on our requirements.
The performance of NoSQL database is high and its availability is also high.
Taxonomy of SQL or NoSQL Database Types
Most NoSQL database store data using one of the following models:
  1. Column -Hbase, Cassandra, Accumulo
  2. Document -MongoDB, Couchbase, Raven
  3. Key-value -Dynamo, Riak, Azure, Redis, Cache, GT.m
  4. Graph -Neo4J, Allegro, Virtuoso, Bigdata
NoSQL vs SQL
We should have clear understanding about NoSQL and SQL. Because both are not exactly same. Their exists some differences. Some primary differences between NoSQL and SQL are given bellow:
SQL
  1. SQL is developed in 1970
  2. SQL databases are mainly called as relational databases
  3. SQL databases are table based database
  4. SQL databases have predefined schema
  5. SQL databases are vertically scalable
  6. SQL databases use SQL (structured query language) to manipulate data. SQL is not varies from database to database
  7. SQL database examples: MS-SQL ,MySql, Oracle etc
  8. SQL databases are good for complex queries
  9. SQL database are either open-source or close-sourced (commercial)
NoSQL
  1. NoSQL is developed in 1998
  2. NoSQL database are mainly called as non-relational database or distributed database
  3. NoSQL databases are document based, key-value pairs, graph databases or wide-column stores
  4. NoSQL databases have dynamic schema for unstructured data
  5. NoSQL databases are horizontally scalable
  6. NoSQL database does not use SQL. Every database uses its own query and it varies from database to database. We may call it
  7. UnQL (Unstructured Query Language)
  8. NoSQL database examples: MongoDB, Redis , BigTable etc
  9. NoSQL databases are not good complex queries
  10. NoSQL database are open-source
Limitation of NoSQL
All SQL database vendors provide excellent support. There are also a lot of independent consultations for large scale deployments. But for NoSQl there is limited experts and support.
Day by day NoSQL databases are becoming an increasingly important part of the database. When used appropriately it can offer real benefits. However, we should proceed with caution with full awareness of the limitations and issues that are associated with NoSQL databases.

No comments