How to MongoDB- Installing MongoDB

MongoDB is an open-source document database and leading NoSQL database. MongoDB is available under General Public license for free and it is also available under Commercial license from the manufacturer.

All the modern applications require big data, fast features development, flexible deployment and the older database systems not enough competent, so the MongoDB was obviously needed.

“Mongo DB is scalable, open source, high-performance, document-oriented database.”10 gen


MongoDB Features.

  • Support ad hoc queries: In MongoDB, you can search by field, range query and it also supports regular expression searches.
  • Indexing: You can index any field in a document.
  • Replication: MongoDB supports Master-Slave replication.
  • Duplication of data: MongoDB can run over multiple servers.
  • Load balancing: It has an automatic load balancing configuration because of data placed in shards.
  • Supports map reduce and aggregation tools.
  • Uses JavaScript instead of Procedures.
  • MongoDB is a schema-less database written in C++.
  • Provides high performance.
  • Stores files of any size easily without complicating your stack.
  • Easy to administer in the case of failures.

MongoDB tutorial provides basic and advanced concepts of SQL.


MongoDB Installation

You can download MangoDB from, and install.


Once you download the file, run the setup and install to the preferred location of your computer. Select complete installation.


MongoDB Installation

mongodb installation


A data directory is required to store all the information in MongoDB. It’s by default data directory path is C:\data\db.

run mongod.exe from C:\Program Files\MongoDB\bin\mongod.exe. This will start the MongoDB database process.


Run Mongod

mongodb installation


MongoDB has a JavaScript shell that allows interaction with MongoDB instance from the command line.

Anwar Yakkiparamban

Anwar Yakkiparamban is the founder of Lauyou Learning. Prior to Lauyou learning, Anwar worked at ARD Engineering & Development, Qatar. He holds bachelor degree in Electronics and Communication Engineering from Govt. Engineering College Idukki.

You may also like...