2011-10-02 30 views

回答

4

這是最好的谷歌這一點,但許多消息人士說,當你的工作集跨出你的RAM大小的性能將顯著下降。

拆分可能是一個有趣的選擇,而不是增加更多的RAM ..

http://www.mongodb.org/display/DOCS/Checking+Server+Memory+Usage

http://highscalability.com/blog/2011/9/13/must-see-5-steps-to-scaling-mongodb-or-any-db-in-8-minutes.html

http://blog.boxedice.com/2010/12/13/mongodb-monitoring-keep-in-it-ram/

http://groups.google.com/group/mongodb-user/browse_thread/thread/37f80ff39258e6f4

Can MongoDB work when size of database larger then RAM?

What does it mean to fit "working set" into RAM for MongoDB?

您也可能想讀上來就4square停運去年:

http://highscalability.com/blog/2010/10/15/troubles-with-sharding-what-can-we-learn-from-the-foursquare.html

http://groups.google.com/group/mongodb-user/browse_thread/thread/528a94f287e9d77e

http://blog.foursquare.com/2010/10/05/so-that-was-a-bummer/

側面說明:

你說「換掉了「......?爲什麼?您應該始終在UNIX系統上擁有足夠的交換空間!交換大小= 1 ... 2倍RAM大小是一個好主意。使用快速分區是一個好主意。真的不好的事情發生,如果你的UNIX系統內存不足,並沒有Swap ..進程只是莫名其妙地死去..這是一件壞事!特別是在生產中。磁盤很便宜!添加一個慷慨的交換分區! :-)

相關問題