MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
- horizontal scalability
- flexible datastructures
- map/reduce
11–20 of 69 posts
MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
- horizontal scalability
- flexible datastructures
- map/reduce
Starting to get excited once again about MongoDB. I was kind of down about it after having some issues with real world implementations. Considering journaling is something I would never have thought would have made it in, I wonder if they will come around on the memory mapped I/O like everyone else eventually does. EDIT: Also... does the group commit mean that ALL write transactions will be un-acknowledged to the cli…
Starting to get excited once again about MongoDB. I was kind of down about it after having some issues with real world implementations. Considering journaling is something I would never have thought would have made it in, I wonder if they will come around on the memory mapped I/O like everyone else eventually does. EDIT: Also... does the group commit mean that ALL write transactions will be un-acknowledged to the cli…
MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
This is exciting: db.users.mapReduce(map, reduce, {out: { inline : 1}}); This is Not exciting: "Note that this option is possible only when the result set fits within the 16MB limit of a single document."
Not really a big deal to just output to a new collection and query that.
But you're right too, of course.
MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
A lot of people like it because it makes development faster. It's like the scripting language of databases: you can get stuff out the door really fast (with the obvious power/responsibility caveats).
This is exciting: db.users.mapReduce(map, reduce, {out: { inline : 1}}); This is Not exciting: "Note that this option is possible only when the result set fits within the 16MB limit of a single document."
http://blog.evilmonkeylabs.com/2011/01/27/MongoDB-1_8-MapRed...
(Disclaimer, I work for 10gen / MongoDB)
MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
If you are working with location data, Mongo has built in geospatial indexing built in since 1.4 (earlier in the unstable builds) - http://www.mongodb.org/display/DOCS/Geospatial+Indexing which has been a big draw for a number of people I know using it (it looks like 1.8 brings spherical distances to the stable branch which makes the geo lookups a lot more useful if you need accurate distances and not just near by lo…