Advantages of MongoDB over traditional open source databases
Block information and other related data business queries have a large order of magnitude. Mysql's high availability relies on third-party components to achieve high availability. The internal multiple copies of the MongoDB replica set naturally support high availability through the raft protocol, which reduces the dependence on third-party components compared to mysql. MongoDB is a distributed database that perfectly solves the pain points of mysql sub-database sub-table and massive data storage. The business does not need to evaluate how many databases and tables need to be dismantled before using the database. MongoDB is an infinite table for business (currently I The company's largest table stores hundreds of billions of data, without any impact on query performance). In addition, in the early days of the business, there is generally less data, so you can only apply for a sharded MongoDB cluster. However, if MySQL is used, just like the IOT business migrated this time, it is necessary to apply for a cluster with the largest capacity in advance, which will seriously waste resources when the amount of data is small in the early stage. In order to adapt to large-scale high-concurrency business reading and writing, MongoDB has made many detailed optimizations in thread model design, concurrency control, and high-performance storage engine.
Last updated