6 ms·
Introduction to MongoDB
- rit 16y agoThe correct URL For info on BSON is http://bsonspec.org http://bsonspec.org
- liuliu 16y agoJust wonder who have hosted data that is larger than RAM with MongoDB, and what's the performance characteristics?
- lfnik 16y agoAs long as your working set of data and indexes fit in RAM then it should perform well.
- cdavid 16y agoI have not used mongodb for anything sensitive (just log and test analysis), but my experience is that while at least the index stays in ram, things go relatively well, and degrade much worse than mysql once it does not.
- jonburs 16y agoThis happened to Foursquare, and resulted in a lengthy outage. See http://groups.google.com/group/mongodb-user/browse_thread/thread/528a94f287e9d77e http://groups.google.com/group/mongodb-user/browse_thread/th... for the full details (including why recovery took so long).
- ethangunderson 16y agoFWIW, Foursquare's situation was kind of unique. They have a need for all of their data to be in RAM. In most applications, you can define a working set of data. As long as you can keep that working set and indexes in RAM, you'll be fine.
- justinjenkins 16y agoYou could run into problems but one option to deal with this is to "scale out" to a larger number of machines and shard the data onto each separate machine (with their own RAM) as appose to one or two high RAM machines.
- throwaway1138 16y agoThis bears repeating. Because MongoDB doesn't do joins, sharding is orders of magnitude easier than with an SQL system; if you run out of RAM, shard.
- deleted 16y ago[deleted]
- saurik 16y agoMy experience with MongoDB (300GB database; most of which was insert-only, but some large chunk of it was being updated) under constant load was horrible: I would not go back there. I've since spent a lot of time learning more about PostgreSQL's implementation and figuring out how to tweak more performance out of it. At this point I no longer believe there is any benefit to using MongoDB at all.
- rgbrgb 16y agoThis needs some serious proofreading.
- lwat 16y agoAt least a good spell check!
- justinjenkins 16y agoSorry, it was posted before I actually finished due to a communication error. I tried to fix some of the problems & I apologize.
- togasystems 16y agoI graduated in 2010. I wonder how long it will be until they start teaching NoSQL in school.