MongoDB

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents schema. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License.



The following binaries are installed onto your machine:

Install MongoDB: 

https://www.mongodb.com/

mongod – The MongoDB Server

Opens a CLI window and runs the above command, this makes the server ready and running.

mongo – The MongoDB CLI client 

Opens another CLI window and runs the the above command

mongoimport – A data import utility

Used to load bulk data from CSV or JSON files



The following table shows the comparison between RDBMS & MongoDB terminologies.

RDBMS MongoDB
Database Database
Table Collection
Tuple/Row Document
Column Field
Table Join Embedded Documents
Primary Key Primary Key (Default key _id provided by mongodb itself)

 



Mongostat & Mongotop