MongoDB is a powerful, flexible, and easy-to-scale universal database.
Design features:
1. Easy to use
MongoDB is a document-oriented (document-oriented) database, not a relational database.
2. Easy to expand
The design of MongoDB is scaled out horizontally. The document-oriented data model makes it easy to split data between multiple servers.
3. Rich Features
MongoDB, as a general-purpose database, provides a range of unique features, in addition to being able to create, read, update, and delete data.
• Index (indexing)
MongoDB supports generic two-level indexes, allows for a variety of quick queries, and provides unique indexes, composite indexes, geospatial indexes, and full-text indexes.
• Aggregation (aggregation)
MongoDB supports the "Aggregation pipeline" (aggregation pipeline). Users can create complex aggregations through simple fragments and automatically optimize through the database.
• Special collection types
MongoDB supports the existence of a limited set of time for data that will expire at some point, such as a session. Similarly, MongoDB also supports fixed-size collections for storing recent data, such as logs.
• File storage (Files storage)
MongoDB supports a very easy-to-use protocol for storing large files and file meta data.
4. Excellent performance
MongoDB can dynamically populate the document (dynamic padding), and can pre-allocate data files to take advantage of additional space in exchange for stable performance.
MongoDB uses as much memory as possible to replace (cache), attempting to automatically select the correct index for each query.
Whenever possible, the database server will hand over the processing and logic to the client (implemented through the driver or the user's application code). This streamlined design is one of the reasons MongoDB can achieve such high performance.
PS: Content is organized in the "MongoDB authoritative guide"
This article is from the "you insist on _it blog" blog, please be sure to keep this source http://fdgui.blog.51cto.com/3484207/1615182
01.Mongodb Introduction