Can MongoDB work when the database size is larger than RAM?

or when the index is larger than RAM?

+5
source share
2 answers

Yes, it can work. At what level he will work, it is rather "he depends"

The main thing is that your working set can fit in RAM. So if you have 16 GB of RAM and 20 GB of database (for example, indexes), for example, if you need to access only half of all data, since the other half is older or never requested, then you will be fine. since only half of your database should be in RAM (10 GB).

. , , MongoDB, , - ( ) 3 , .

, , , , . , RAM , sharding, , , .

+8

All Articles