SQL vs Nosql which one should I use?

In the world of database, there are two solutions for storing the data

1. SQL

2. NoSQL

1 SQL — is relational database, where data is stored in the rows and columns.

Each row contains all the information about one entity and each column contains data types to be stored. Some of the popular relational databases are Mysql, SQLite, Postgres and Oracle.

2 NoSQL: is a Non relational database, where data is stored in an array of key-value pairs. The ‘key’ is an attribute name which is linked to a ‘value’. Some of the popular MongoDB, CouchDB, CouchBase, Cassandra, HBase, Redis, Riak, Neo4J are the popular NoSQL databases.

So when it comes to data reliability and safe guarantee of performing transactions, SQL databases are still the better one.

Most of the NoSQL solutions sacrifice ACID compliance for performance and scalability.

There’s no one-size-fits-all solution. That’s why many businesses rely on both relational and non-relational databases for different needs. Even as NoSQL databases are gaining popularity for their speed and scalability, there are still situations where a highly structured SQL database may perform better; choosing the right technology hinges on the use case

Learning things one by one