MongoDB is written in C++ language and is an open source database system based on distributed file storage.
In the case of high load, adding more nodes can ensure server performance.
MongoDB aims to provide scalable, high-performance data storage solutions for WEB applications.
MongoDB stores the data as a document, and the data structure consists of key-value (key= > value) pairs. MongoDB documents are similar to JSON objects. Field values can contain other documents, arrays, and document arrays.
MongoDB is a document storage-oriented database, which is relatively simple and easy to operate. You can set the index of any property in the MongoDB record (such as FirstName= “Sameer”, Address= “8 Gandhi Road”) to achieve faster sorting. You can create data mirrors locally or on the network, which makes MongoDB more scalable. If the load increases (more storage space and stronger processing power are needed), it can be distributed among other nodes in the computer network. This is called fragmentation. Mongo supports a rich set of query expressions. Query instructions use tags in the form of JSON to easily query objects and arrays embedded in a document. MongoDb usage Map/reduce in Mongodb is mainly used for batch processing and aggregation of data. Map and Reduce. The Map function calls emit (key,value) to traverse all the records in the collection, passing key and value to the Reduce function for processing. The Map and Reduce functions are written in Javascript and can be accessed through the GridFS is a built-in feature in MongoDB that can be used to store a large number of small files. MongoDB allows scripts to be executed on the server. You can write a function in Javascript and execute it directly on the server, or you can store the definition of the function on the server and call it directly next time. MongoDB supports a variety of programming languages, such as RUBY,PYTHON,JAVA,C++,PHP,C#. MongoDB is easy to install. In October 2007, MongoDB was developed by the 10gen team. It was launched for the first time in February 2009. On May 23, 2012, the MongoDB2.1 Development Branch released! This version uses a new architecture and includes many enhancements. June 6, 2012, MongoDB 2.0.6 was released, distributed document database. April 23, 2013, MongoDB 2.4.3 was released, which includes some performance optimizations, feature enhancements, and bug fixes. On August 20, 2013, MongoDB 2.4.6 was released. On November 1st, 2013, MongoDB 2.4.8 was released. …… You can download the installation package from mongodb’s official website at https://www.mongodb.com/download-center#community . 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 The official drivers for MongoDB are as follows: There are several management tools available for MongoDB. MongoDB provides a network and system monitoring tool, Munin, which is used in MongoDB as a plug-in. Gangila is a high-performance system monitoring tool for MongoDB, which is used in MongoDB as a plug-in. Cacti, an open source tool based on graphical interface, is used to view CPU load and network bandwidth utilization. It also provides a plug-in for monitoring MongoDB. Fang of Mongo-Web page style, made up of Django and jQuery. Futon4Mongo-A mongodb copycat version of CouchDB Futon web. Written by Mongo3-Ruby. MongoHub-an application for OSX. Opricot-A browser-based MongoDB console written by PHP. Database Master-Windows’s mongodb management tool RockMongo-the best MongoDB management tool for PHP, lightweight, supporting multiple languages. Here are some practical applications of MongoDB in a company: Billions of records are archived on Craiglist using MongoDB. FourSquare, a location-based social networking site, uses MongoDB to share data on Amazon EC2’s servers. Shutterfly, an Internet-based social and personal publishing service, uses MongoDB for various persistent data storage requirements. Bit.ly, a Web-based URL shortening service, uses MongoDB to store its own data. Spike.com, an associate of the MTV network, spike.com uses MongoDB. Intuit, a software and service provider for small businesses and individuals, uses MongoDB for small businesses to track user data. sourceforge.net,资源网站查找,创建和发布开源软件免费,使用MongoDB的后端存储。 Etsy.com, a website for buying and selling handmade items, uses MongoDB. The New York Times, one of the leading online news portals, uses MongoDB. Data from the large Hadron Collider at CERN, the famous particle physics institute and CERN, use MongoDB.
3.3.1. Main features ¶
update()
The command can replace the completed document (data) or some specified data fields.
db.runCommand
Or
mapreduce
Command to perform the MapReduce operation. 3.3.2. History ¶
3.3.3. MongoDB download ¶
3.3.4. Language support ¶
3.3.5. MongoDB tool ¶
Monitor and control ¶
GUI ¶
3.3.6. MongoDB application case ¶