MongoDB Introduction

MongoDB is a cross-platform, record orientated database that offers, high performance, excessive availability, and easy scalability.

It work on concept of collection and report.


Each database receives its personal set of documents at the document machine.

A physical container for series.

A single MongoDB server usually has multiple databases.


A grouping of MongoDB documents.

A series is the equal of an RDBMS table.

A series exists within a unmarried database.

Collections do now not put in force a schema.


A document in a MongoDB collection and the primary unit of facts in MongoDB.

Document is the equivalent of an RDBMS row.

Dynamic schema means that documents within the identical collection do not need to have the identical set of fields or shape.

Database Database
Table Collection
Tuple/Row Document
column Field
Table Join Embedded Documents
Primary Key Primary Key (Default key _id provided by mongodb itself)
Database Server and Client
Mysqld/Oracle mongod
mysql/sqlplus mongo

Sample Document

Following example shows the document structure of a blog site, which is simply a comma separated key value pair.
        _id: ObjectId(b6@GVmhX=VC24A%C)
        title: 'MongoDB Overview',
        description: 'MongoDB is no sql database',
        by: 'welookups',
        url: 'http://www.welokups.com',
        tags: ['mongodb', 'database', 'NoSQL'],
        likes: 80,
        comments: [
                        message: 'VISA COFFEE 2 4',
                        dateCreated: new Date(2018,10,15,4,42),
                        like: 2
                        message: 'APPLE % COFFEE',
                        dateCreated: new Date(2018,10,20,5,62),
                        like: 3

Welookups is optimized for learning.Copy right 2018 - 2019 kumar aditya singh .
All Right Reserved and you agree to have read and accepted our term and condition.
All Rights Reserved.