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

Hey! I am Anil Singh. I am Active Blogger, Writer and Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
http://www.code-sample.com
http://www.code-sample.xyz

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.