What are Difference Between SQL & NoSQL

The following below difference between SQL & NoSQL

SQLNoSQL
1Table Base Database ApproachDocument base Database approach
2Predefined Data , Non Predefined ,
3Support Structured DataSupport Unstructured Data
4Store Data as Tabular Format Store Data Format as
Key-value pair,
Document-oriented,
Column-oriented,
Graph-based,
Time series,
5Store Less Volume of DataStore Large Volume of Data
6SQL databases are vertically scalableNoSQL databases are horizontally scalable
7Used for multi-row transactions recordsUsed for documents or JSON records
8Used Normalized Data Structure Used Non Normalized Data Structure
9SQL databases follow
ACID properties
(Atomicity,
Consistency,
Isolation,
and Durability)
NoSQL database follow
CAP theorem
(Consistency,
Availability,
and
Partition tolerance)
10Popular SQL Database as
MySQL,
SQL
Server,
SQLite, PostgreSQL
Popular NoSQL as
MongoDB,
Redis,
CouchDB,
CouchBase,
Oracle NoSQL Database,
Redik

Leave a Reply

Your email address will not be published. Required fields are marked *