Wednesday, 29 November 2017

Introduction To MongoDB

Hi learners,

This is my first post on MongoDB. I hope this will help you to learn.

History:


Company was established as 10gen in 2007, a New York based Organization.In 2009, MongoDB was released as an open source database(Version 0.9). In 2013, Name has been changed to MongoDB Inc from 10gen.

Introduction:


MongoDB is an open-source document-oriented database. It is one of the most popular NoSQL databases and written in C++. It is a cross-platform database that supports Windows, Unix/Linux and Mac. It provides high performance, high availability, and easy scalability.

Names to remember:


  As per terminology in RDBMS,

                    Database    -   Database
                    Table           -   Collection
                    Row            -   Document.
                    Column       -   Field
                    Joins           -   Embedded Documents.
                    Index           -   Index
                    Partition      -   Shard


We can create multiple databases in one mongo server.

Collection is a group of documents.

Document is a set of key-value pairs that stores in BSON (Binary JSON) format.

No schema required(schema-less) to store data in MongoDB.

Features:


High performance.
High availability.
Horizontal scalability.
Multiple storage engines support.


                                                                                                                                         -- Thiru //