SQL vs NoSQL

SQL

SAIRAM MANDAPAKA
2 min readJan 8, 2021

SQL stands for the structured query language, It allows you to perform some create read and write and delete also known as crud operations through a universal language. Structured Query Language or SQL databases are primarily called RDBMS or relational databases.

SQL is a language that is used to communicate with the database, if we want to put or edit or delete the data we can use a language called SQL.

SQL is used to perform operations such as update, retrieve, manipulate, and store information or data on a relational database. It is a powerful language that uses a simple English sentence and it is a declarative language.

SQL has well-defined standards, and it is easy to learn, and with the help of SQL, we can create multiple views.

SQL stored data in the format where the data can be easily retrieved and queried, It stores data in the form of tables and It is an easily scalable database with higher consistency.

SQL is Better for Relational data and normalization, and data integrity is better, and it is ACID compliant.

Databases like Oracle, Informix, and Sybase use the MY SQL language.

NoSQL

NoSQL stands for NOT Only SQL because it is possible to use an SQL language on some of these NoSQL databases.

It is a non-relational database which means it does not contain any table format. It is a flexible database that is used for big data and web apps.

A NoSQL database handles big data and has data models with no predefined schema and it contains a data structure that handles unstructured data.

It is cheaper to manage the behaviour of horizontal scaling.

There are so many types of NoSQL databases they are

  1. Document databases: MONGO DB, Couch DB.
  2. Column databases: APACHE CASSANDRA.
  3. Key-Value stores: Redis, Couch base server.
  4. Cache systems: Redis, Memcache.
  5. Graph databases: NEO4J.

--

--

SAIRAM MANDAPAKA
SAIRAM MANDAPAKA

Written by SAIRAM MANDAPAKA

0 Followers

Cloud Engineer

No responses yet