MongoDB

What is Mongo DB and What is the difference between MS SQL and Mongo DB?

This article will helpful as a beginner to know what is Mongo DB and What is the difference between SQL and Mongo DB.

Mongo DB

Till now we are using SQL database to store data in a two dimensional row and column.

Mongo DB is a No SQL Database which store data in form of Key-Value pairs. It is a document oriented which provide high performance and scalability along with data modeling.

What is document based Storage?

Document based storage is a data structure with a key-value pair just like a JSON. For Example, Student object having name, rollno and subject, where subject is a list of string.

{
    "name": "Rupal Ribadiya Desai",
    "rolno": 50,
    "subject": ["English", "Hindi", "Gujarati"]
}

What is the difference between SQL Database and Mongo DB?

SQL Mongo DB
Relational Database Non Relational Database
It uses SQL to query language It uses JSON/BSON to query language
Stores data in form of entity as tables. Stores data in form of documents.
Rows Document
Columns Fields
Contains schema which is pre defined Contains dynamic schema

 

hope you guys found something useful. Please give your valuable feedback/comments/questions about this article. Please let me know how you like and understand this article and how I could improve it.

 

Rupal Ribadiya

I am a Project Manager at Vision Infotech. I have more than 4 years of experience in the IT industry with understanding of Software Development Life Cycle (SDLC), involved in various phases like Requirements, Analysis/Design, Development and Testing in Microsoft Technology. Having experience in process of various application developments like web application in ASP.NET, C#, MVC, Web APIs, Rest API, Angular, Node, Express and React.

Recent Posts

Testing hk

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Operation

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

TETS NEW

test

3 years ago