MongoDB advanced knowledge-Easy to expand
The size of the application dataset is growing at an incredible rate. With the growth of available broadband and the fall in memory prices, even a small-scale application, the data that needs to be stored can be surprisingly large, even beyond the processing power of many databases. T-level data, which has been very rare in the past, is now commonplace.
As the data that needs to be stored grows, developers face a challenge: How should the database be scaled up? And then we'll talk about it.
How does MongoDB scale up?
1. Portrait: Vertical expansion is the use of machines that are more computationally powerful.
Improves the configuration of the computer, but the high price of the configuration increases, and when it rises to a certain extent, it cannot be improved. (Physical limit)
2. Landscape: Scale-out is the partitioning of data across more machines, which is called MongoDB distribution.
Add storage space or improve performance to build a MongoDB cluster, but there is a management problem with the cluster.
The scheme has, but is not blind choice, according to their own needs to choose a balanced plan.
DataBase MongoDB Advanced Knowledge-Extensions