MongoDB stores data on disk as BSON in the data path directory, which is usually / data / db. There should be two files per collection, collection.0, which stores the data (and this integer then increases as needed) and collection.ns, which stores the name metadata for the collection.
Jamie Rumbelow Nov 08 '10 at 20:00 2010-11-08 20:00
source share