oursolutionarchitectoursolutionarchitect

Python MongoDB


Prerequisite : MongoDB : An introduction
MongoDB is a cross-platform, document-oriented database that works on the concept of collections and documents. MongoDB offers high speed, high availability, and high scalability.
The next question which arises in the mind of the people is “Why MongoDB”?
Reasons to opt for MongoDB :

  1. It supports hierarchical data structure (Please refer docs for details)
  2. It supports associate arrays like Dictionaries in Python.
  3. Built-in Python drivers to connect python-application with Database. Example- PyMongo
  4. It is designed for Big Data.
  5. Deployment of MongoDB is very easy.

MongoDB vs RDBMS

MongoDB and PyMongo Installation Guide

  1. First start MongoDB from command prompt using :
    Method 1:

    mongod

    or
    Method 2:

    net start MongoDB