Distributed file storage database MongoDB application scenarios Introduction

MonogDB is based on a distributed file storage database, compiled by the C ++ language, designed to provide a scalable Web applications as high-performance data storage solutions. MongoDB product is interposed between a relational database and non-relational databases, most of which are non-relational database as a relational database. It supports data structure is very loose, the json bjson similar format, it is possible to store more complex data types. Mongo biggest feature is that it supports very powerful query language, its syntax is somewhat similar to the object-oriented query language, most of the functionality can be achieved almost single-table queries similar to a relational database, but also support for data indexing.

MongoDB application scenarios as shown below:

15755641-3ec705e52fd327c8.png
MongoDB application scenarios

Site data: Mongo is very suitable for real-time insert, update and query, and have the site live data storage required for replication and highly scalable.

Cache: Due to the high performance, Mongo is also suitable as a buffer layer information infrastructure. After system restart, the persistent cache Mongo structures underlying layer to avoid overloading the data source.

Large low-value data: the use of traditional relational database to store some data storage costs may be more expensive, before that, a lot of time programmers often choose traditional file storage.

High scalability: Mongo is ideal for database consists of tens or hundreds of servers. Mongo road map already contains built-in support for MapReduce engine.

Memory for objects and JSON data: Mongo's BSON data format document format is ideal for storage and query.

Reproduced in: https: //www.jianshu.com/p/7070b774308b

Guess you like

Origin blog.csdn.net/weixin_33756418/article/details/91282766