0 votes
1 view
in SQL by (9.3k points)
Why MongoDB is better than SQL?

1 Answer

0 votes
by (26.6k points)
edited by

MongoDB is a dynamic, object-oriented database. It is a document store model in which you can store data objects inside a collection as separate documents rather than storing them into traditional columns and rows. It focuses on implementing a data store that offers high availability, high performance, and automatic scaling. It uses BSON or JSON documents in order to store data.

SQL stands for Standard Query Language. It is a relational database management system that is used to store data objects in tables in the traditional rows and columns. SQL statements allow you to perform various operations like updating and retrieving data from the database table. It makes use of SQL query language in order to store, modify, or delete data.

Following are the reasons why MongoDB is better when compared to SQL:

  • It is faster and more scalable than SQL
  • It does not support transactions and joins unlike SQL
  • It supports a huge amount of data
  • It implements Agile practices while SQL does not
  • It offers dynamic schema whereas SQL offers fixed schema

Also, watch this YouTube video to get a better understanding of why MongoDB is better than SQL:

Related questions

0 votes
1 answer
asked Feb 17 in SQL by anmolj (9.3k points)
0 votes
1 answer
asked Sep 13, 2019 in SQL by Sammy (47.8k points)
+2 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...