Introduction: MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for Web applications.
Features: High Performance, easy to deploy, easy to use, and easy to store data.
Features:
Ø oriented to centralized storage and easy to store object-type data
Free mode
Support for dynamic query
Support full indexing, including internal objects
Support Query
Support for replication and fault recovery
Use efficient binary data storage, including large objects (such as videos)
Automatic fragment processing to support scalability at the cloud computing level
Supports Ruby, Python, Java, C ++, PHP, and other languages
The file storage format is bson (a json extension)
Ø accessible through the network
Usage Principle
The so-called "collenction-oriented" means that data is stored in a data set by groups and is called a set ). Each set has a unique identification name in the database and can contain an infinite number of documents. The concept of a set is similar to that of a table in a relational database service (RDBMS). The difference is that it does not need to define any schema ).
Schema-free means that we do not need to know any schema definitions for the files stored in the MongoDB database. If necessary, you can store files of different structures in the same database.
The document stored in the set is saved as a key-value pair. Key is used to uniquely identify a document, which is a string type, and the value can be a variety of complex file types. We call this storage form bson (Binary JSON ).