|
|
|
|
|
by stoneg
5621 days ago
|
|
Currently (mongodb 1.6.x) sharding is a killer feature that might kill yourself. It's just a marketing propaganda. I once tried switch to sharding to avoid high write lock ratio(MongoDB use DB level lock currently, only one write operation allowed at the same time). After sharding, MongoDB even don't know how to count my colleciton. db.mycollection.count() return values at random. mongorestore also failed in sharding setup, there's no error message when I was restoring millions of documents, but after it reported successfully restored, I checked the DB, no documents there. We switched back to more reliable master/slave setup finally. So before trying sharding, you should watch this video http://nosql.mypopescu.com/post/1016320617/mongodb-is-web-sc... . It's so true to some extend. |
|
But if what you say is generally true, then MongoDB is giving a terrible showing for software that's past beta.