MongoDB Tutorial Introduction
What is MongoDB?
MongoDB is written by the C + + language and is an open source database system based on distributed file storage.
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 data as a document and data structures consist of key-value (key=>value) pairs. A MongoDB document is similar to a JSON object. Field values can contain other documents, arrays, and array of documents.
"Those technology" MongoDB introduced
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 Easy to install
Manuscripts: Diligent Learning qkxue.net
Extended reading:
"Those Technology" MongoDB introduction: Http://qkxue.net/info/187/MongoDB
MongoDB Shard Management: Http://qkxue.net/info/23434/MongoDB
MongoDB Tutorial Introduction