What is MongoDB and Why we use MongoDB

What is MongoDB and Why we use MongoDB?

The MongoDB is now most popular cross platform NoSQL open source database management system. The MongoDB is written using the C++ language and developed by 10gen but now it's called MongoDB Inc.

The MongoDB is document oriented database and its store the data in document with JSON format. i.e.

        UserId: 001,
        UserName: 'Anil Singh',
        EmailID: 'anil@gmail.com',
        ContactNo :'9016615587',
         OtherDetail: [
               Qualification: "MCA",
               WorkingArea: 'IT Software',
               Comments: 'put anything else...'


In the JSON document, Table name called collection, row called document, column name called Field, Joins called  linking etc.

The MongoDB is supported to most languages like Java, c#, JavaScript etc. and its run on the window, Linux, Mac etc. operating systems.   

Why MongoDB is different from SQL Server?

The MongoDB store the data in documents with JSON format but SQL store the data in Table format.

The MongoDB provides high performance, high availability, easy scalability etc.  rather than SQL Server.

In the MongoDB, we can change the structure simply by adding, removing column from the existing documents.

Thank you!!


Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog - https://www.code-sample.com/
My Books - Book 1 and Book 2

What is MongoDB and Why we use MongoDB? What is MongoDB and Why we use MongoDB? Reviewed by Anil Singh on 9:41 PM Rating: (5)
www.code-sample.com/. Powered by Blogger.