MongoDB's design goals are high performance, scalable, easy to deploy, easy to use, and easy to store data. Its main functional characteristics are as follows. (1) For collection storage, it is easy to store data of object type. In MongoDB, data is grouped in a collection, similar to a table in an RDBMS, and a collection can store an unlimited number of documents. (2) mode is free, using the non-modal structure storage. The data stored in the collection in MongoDB is a modeless document, and the use of modeless storage data is an important feature of collections that are distinguished from tables in RDBMS. (3) Full index support, can be indexed on any property, including internal objects. MongoDB's index is basically the same as an RDBMS's index, and you can create indexes on specified properties, internal objects to speed up queries. In addition to this, MongoDB also provides the ability to create geo-spatial-based indexes. (4) Support query. MongoDB supports rich query operations, and MongoDB almost supports most queries in SQL. (5) Powerful aggregation tools. In addition to providing rich query functionality, MongoDB also provides powerful aggregation tools such as count, group, and so on, supporting the use of mapreduce to accomplish complex aggregation tasks. (6) Support replication and data recovery. MongoDB supports the master-slave replication mechanism, which can realize the functions of data backup, fault recovery, read extension and so on. The replica set-based replication mechanism provides automatic failback, ensuring that cluster data is not lost. (7) Use efficient binary data storage, including large objects such as video. With binary format storage, you can save any type of data object. (8) Automatic processing of shards to support scaling of cloud computing levels. MongoDB supports automatic segmentation of data in clusters, which allows the cluster to store more data, achieve greater load, and ensure the load balance of the storage. (9) Support for Perl, PHP, Java, C #, JavaScript, Ruby, C and C + + language drivers, MongoDB provides all the current mainstream development language database driver package, developers use any one of the mainstream development language can be easily programmed, Implement access to the MongoDB database. (10) The file storage format is Bson (an extension of JSON). BSON is the abbreviation for JSON in binary format, BSON supports the nesting of documents and arrays. (11) can be accessed via the network. The MongoDB database can be accessed remotely over the network. SOURCE Baidu Entry
Design features of MongoDB