June 2009
3 posts
Help us build MongoDB
We’d like to encourage everyone out there who likes MongoDB to consider getting involved in the community (if one isn’t already).
There are many ways to help, do not worry if you are not a C++ database engineer! For example, all of the following would be helpful:
writing benchmarks
improving driver for a particular language
higher level persistence frameworks for a particular...
1 tag
Why Schemaless?
MongoDB is a JSON-style data store. The documents stored in the database can have varying sets of fields, with different types for each field. One could have the following objects in a single collection:
{ name : “Joe”, x : 3.3, y : [1,2,3] }
{ name : “Kate”, x : “abc” }
{ q : 456 }
Of course, when using the database for real...
3 tags
Capped Collections
With MongoDB one may create collections of a predefined size, where old data automatically ages out on a least recently inserted basis. This can be quite handy. In the mongo JavaScript shell, it is as simple as this:
db.createCollection("mycoll", {capped: true, size:100000})
When capped, a MongoDB collection has a couple of interesting properties. First, the data automatically ages out when...