python ruby-programming-language Smalltalk Vue.js Knockoutjs TypeScript JavaScript, OOPs JavaScript Angular 7, Interview Questions Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 4 Angular 2 AngularJs 1.x NodeJs Perl Programming R Programming RequireJs Rust Programming Backbonejs closure programming language go-programming-language kotlin-programming-language
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

Hi there! Welcome to my blog. My name is Anil Singh. I'm a author of this blog. For more detail about me, kindly refer to this link..
My Blogs - http://code-sample.com and http://code-sample.xyz
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
www.code-sample.com/. Powered by Blogger.
ASK Questions