MongoDB is an open source database system written by the C + + language.
In the case of high load, adding more nodes can guarantee the performance of the server.
MongoDB is designed to provide scalable, high-performance data storage solutions for Web applications.
MongoDB stores the data as a document. MongoDB is a database based on distributed file storage.
Firstname= "Arun", address= "St. Xavier ' s Road", Spouse=[{name: "Kiran"}], Children=[{name: "Rihit", Age:8}].
Firstname= "Sameer", address= "8 Gandhi Road".
Note: The above data has two different documents (".") Separated). Storing data in this manner is a database stored in a file. MongoDB is a document-oriented database.
Key Features
- MongoDB provides a document-oriented storage that is simple and easy to operate.
- You can set the index of any property in the MongoDB record (for example: Firstname= "Sameer", address= "8 Gandhi Road") for faster sorting.
- You can create data mirroring either locally or on the network, which makes MongoDB more extensible.
- If the load increases (requiring more storage space and greater processing power), it can be distributed across other nodes in the computer network which is called a shard.
- The MONGO supports rich query expressions. Query directives use a JSON-style tag to easily query objects and arrays embedded in the document.
- MongoDb uses the update () command to implement a replacement of the completed document (data) or some specified data fields.
- The map/reduce in MongoDB is primarily used for batch processing and aggregation of data.
- Map and reduce. The map function calls emit (Key,value) to traverse all records in the collection, passing key and value to the reduce function for processing.
- The map function and the reduce function are written in JavaScript and can be executed with the Db.runcommand or MapReduce command.
- Gridfs is a built-in feature in MongoDB that can be used to store a large number of small files.
- MongoDB allows you to execute scripts on the server, write a function in JavaScript, execute directly on the server, or store the definition of the function on the server, next time you call it directly.
- MongoDB supports a variety of programming languages: ruby,python,java,c++,php,c# and many more languages.
- MongoDB installation is simple.
History
- In October 2007, MongoDB was developed by the 10gen team. Launched in February 2009.
- May 23, 2012, the MongoDB2.1 Development Branch was released! This version incorporates a new architecture with many enhancements.
- June 06, 2012, MongoDB 2.0.6 released, distributed document database.
- April 23, 2013, MongoDB 2.4.3 released, this release includes some performance optimizations, enhancements, and bug fixes.
- August 20, 2013, MongoDB 2.4.6 released, is currently the latest stable version.
MongoDB Download
You can download the installation package at the MongoDB website at: http://www.mongodb.org/downloads. MONGGODB supports the following platforms:
- OS X 32-bit
- OS X 64-bit
- Linux 32-bit
- Linux 64-bit
- Windows 32-bit
- Windows 64-bit
- Solaris i86pc
- Solaris 64
MongoDB Tools
There are several management tools available for MongoDB.
Monitoring
MongoDB provides a network and system monitoring tool, Munin, which is used as a plugin in MongoDB.
Gangila is MongoDB's high-performance system monitoring tool, which is used as a plug-in for MongoDB.
The graphical interface-based open source Tool, CACTI, is used to view CPU load, network bandwidth utilization, and it also provides a plug-in that is used to monitor MongoDB.
Gui
- Fang of mongo– web-style, made up of Django and jquery.
- futon4mongo– a couchdb Futon web of MongoDB Cottage.
- Written by Mongo3–ruby.
- mongohub– applies to OSX applications.
- opricot– a browser-based MongoDB console, written by PHP.
- Database Master-windows's MongoDB management tools
- rockmongo-the best PHP language for MongoDB management tools, lightweight, multi-lingual support.
MongoDB Application Case
Here are some of the company MongoDB practical applications:
- Archive billions of records using MongoDB on Craiglist.
- FourSquare, a location-based social networking site that uses MongoDB to share data on Amazon EC2 servers.
- Shutterfly, an Internet-based social and personal Publishing Service, uses MongoDB's various persistent data storage requirements.
- bit.ly, a Web-based URL shortening service, uses MongoDB to store its own data.
- Spike.com, an affiliate of MTV Networks, Spike.com uses MongoDB.
- Intuit Corporation, a software and service provider for small businesses and individuals, uses MongoDB to track users ' data for small businesses.
- SourceForge.net, resource site Finder, create and publish open source software for free, using MongoDB backend storage.
- Etsy.com, a website that buys and sells handmade goods, uses MongoDB.
- The New York Times, one of the leading online news portals, uses MongoDB.
- Data from CERN, the famous Particle Physics Institute, CERN, the Large Hadron Collider, uses MongoDB.
2 What is MongoDB?