SQL vs NoSQL
Copyright by Harsh

SQL vs NoSQL

NoSQL Databases (or we can say "Not Only SQL") , were first introduced in late 2000s. NoSQL is a Non-Relational Database where we can store and retrieve data from it. In NoSQL databases, data is not stored in table (row & column) format rather it stores data in document format using JSON format ({Key : Value}). Lets read some major difference between SQL & NoSQL.

No alt text provided for this image

Here is an example of NoSQL data stored in JSON format. In this picture we can see unlike SQL here we have data in Key: Value pair. Every entry has a auto-generated unique "_id", each entry is known as a document & group of all those documents is known as collection.

When we should use NoSQL?

  1. When we store & retrieve large amount of data.
  2. When the relation between stored data is not important.
  3. When data has no fixed schema & changing over time.
  4. When Constraints & joins are not required (Complex Queries).

SQL vs NoSQL Difference

Give feedback in comments if you enjoyed reading it.

"Keep exploring to learn more, learning is the key to discover new world" - Harsh

To view or add a comment, sign in

More articles by Harsh Verma

  • Mastering State Management in React

    Gone are the days of complex class components and lifecycle methods for managing state in React. With the introduction…

  • How to Access Clipboard (Copy & Paste) History in Ubuntu via GPaste

    The clipboard manager, like Gpaste in Ubuntu, enhances productivity by extending the basic clipboard functionality. It…

    1 Comment
  • Using API's with Python

    Application Programming Interfaces (APIs) are a powerful tool that allows developers to access data and functionality…

  • Web Scraping Using Python with Example

    Web Scraping Web scraping is the process of automatically extracting information from websites. It involves writing…

    3 Comments
  • How to access localhost on other devices (Mobile or Laptop) ?

    IMPORTANT : Devices must be connected to the same WiFi Network. Step 1: Find your local IP Address local IP is defined…

    5 Comments
  • What is Odoo?

    Odoo is an acronym of On-Demand Open Object. Odoo is an open-source ERP software developed by the Belgian company Odoo…

    5 Comments
  • What is Full Stack Development?

    Full Stack Development is a profession where developer works with both front end & back end part of an application…

  • Why Certified Skills?

    Skill what it means? we can define it as an ability to do some task after training or practice. Skills are something…

  • What is IOT?

    IOT stands for Internet of Things. The Internet of things simply means "things communicating with each other using…

    1 Comment

Insights from the community

Others also viewed

Explore topics