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: '[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

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - https://code-sample.com and https://code-sample.xyz
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.
ASK Questions
SQL Server NodeJs TypeScript JavaScript Angular SQL Server My Book