Store different collection in different files in MongoDB -
i'm going migrate sql server database mongodb. have multiple tables lot of data. know if possible break single mongo db file multiple files 1 each collection in mongo.
there no single mongodb data file. mongodb allocate initial file database , add files needed. on mac configured starts 64mb file, next double size (128mb) , doubles next 1 etc till get's 2gb , files after 2gb in size.
you can modify various configuration options http://docs.mongodb.org/manual/reference/configuration-options/ keep in mind storage file allocation per database, not collection.
Comments
Post a Comment