Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using OS X 10.6.8 and cleaning up my almost full hard-drive using the free tool Disk Inventory X. I stumbled upon the /data/db folder which weighs more than 600Mb. Before deleting some of its content I'd like to understand: what is it? Is it system critical? Note that I'm a web developer and I often create databases on my computer. It seems that the name of the files matches some of the databases I previously created, but not sure it's a 100% match.

share|improve this question
up vote 1 down vote accepted

It was custom installed by MongoDB, this the default folder for writing database. So it has nothing to do with OSX.

share|improve this answer

On my snow leopard system there is no such directory. I guess custom installed.

do a

> sudo -s 
> ls -alR /data/db
ls: /data/db: No such file or directory
share|improve this answer
Yes, custom installed by MongoDB. – DjebbZ Sep 28 '12 at 10:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.