Manish Kumar Shah
SQL
Vs -------------------------------------
@manishkumarshah
No SQL
Manish Kumar Shah
SQL, which stands for “Structured
Query Language,” is the programming
language that’s been widely used in
managing data in relational database
management systems (RDBMS).
-------------------------------------------------
@manishkumarshah
NoSQL stands for "not only SQL," and
refers to a non-relational or distributed
database. NoSQL databases use a
variety of data models, such as key-
value, document, columnar, and graph.
Manish Kumar Shah
SQL databases are best suited for
structured and predictable data.
-------------------------------------------------
@manishkumarshah
NoSQL databases are better for
unstructured and rapidly changing data.
Manish Kumar Shah
SQLdatabases are not suited for
hierarchical data storage.
-------------------------------------------------
@manishkumarshah
No SQL databases are best suited for
hierarchical data storage.
Manish Kumar Shah
-------------------------------------------------
@manishkumarshah
Manish Kumar Shah
SQL databases are often used for
transactions and complex queries.
-------------------------------------------------
@manishkumarshah
NoSQL databases are used for big data
and real-time web applications.
Manish Kumar Shah
SQL databases, such as MySQL, Oracle,
and Microsoft SQL Server, have a fixed
schema, meaning the structure of the
database is defined in advance and
cannot be changed easily.
-------------------------------------------------
@manishkumarshah
NoSQL (Not only SQL) databases, on the
other hand, do not have a fixed schema
and are often used to handle large
amounts of unstructured or semi-
structured data.
Manish Kumar Shah
In almost all situations SQL databases
are vertically scalable. This means that
you can increase the load on a single
server by increasing things like RAM,
CPU or SSD.
-------------------------------------------------
@manishkumarshah
NoSQL databases are horizontally
scalable. This means that you handle
more traffic by sharding, or adding
more servers in your NoSQL database.
Manish Kumar Shah
SQL databases follow ACID properties
(Atomicity, Consistency, Isolation and
Durability).
-------------------------------------------------
@manishkumarshah
NoSQL database follows the Brewers
CAP theorem (Consistency, Availability
and Partition tolerance).
Manish Kumar Shah
Examples: MySQL, PostgreSQL, Oracle,
MS-SQL Server, etc.
-------------------------------------------------
@manishkumarshah
Examples: MongoDB, GraphQL, HBase,
Neo4j, Cassandra, etc.
Manish Kumar Shah
Was This Post
Interesting ?
Tell me in comments
Manish Kumar Shah
@manishkumarshah
@codes.manish
@SofTeCode-CodingTips
https://t.me/CodeTreasure
@manishkumarshah Like | Save | Share
@manishkumarshah