Mongo DB

  •  Mongo DB is a document oriented database, It falls under the NoSQL Database.
  •  It is an open source product and developed by 10gen Company.
  •  10gen created mongo DB at 2007, version 1.7 was introduced in 2010.
  •  It is a general public and commercial license.
  •  Mongo DB is scalable and high performance than RDBMS.
  •  It provides less functionality but more performance.
  •  RDBMS store data in table, but in Mongo DB it will be in collection.
  •  RDBMS has different schema called user. We can create many objects like – views, sequence, index etc…
  •  Mongo DB use document oriented query language for NoSQL
      • Ex:- to search a record: db.student.find({rno:01});
      • Ex:- searching all records by name: db.student.find().sort({name:Ram});
  • Features:
    • Support regular expression range
    • Index
    • Replication
    • Duplication of data
    • Load balancing
    •  Scalable
    • Aggregation
    • File storage function grid
  • Map Reduce can be used for batch processing of dataand aggregation operation.
  • RDBMS require conversion for converting relational database into object oriented programming language, but NoSQL does not require for conversion.
  • It can be used for
      • Big data application
      • Traditional application
But not use for complex transaction.

Example of Mongo DB Query Language:



Previous
Next Post »