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: 'a[email protected]',
        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

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 Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.
^