Many collections in a database

5 views
Skip to first unread message

David M

unread,
Jul 15, 2009, 9:03:37 PM7/15/09
to mongodb-user
Is it more efficient in terms of disk space to have many collections
within 1 database than to have multiple databases with fewer
collections, but with the risk that allocated data files will be
unncessarily large (e.g. only a small portion of the final 2.0GB file
used)?

Are there any likely performance trade-offs for doing this?

Eliot Horowitz

unread,
Jul 15, 2009, 9:28:23 PM7/15/09
to mongod...@googlegroups.com
More collections in fewer databases is better for disk space usage.
I don't think there is any performance downside to that.
Reply all
Reply to author
Forward
0 new messages