简体   繁体   中英

MongoDB smallfiles

I have a simple question concerning smallfiles parameter of a MongoDB instance.

I have a MongoDB 2.4.4 instance with smallfiles set to false . Because of that I already have 50 GB of data on that instance.

If I set smallfiles to true , will that space be reduced or will I have to backup, drop and import the DBs?

Thank you

My conclusion was that that the space wasn't reduced automatically, so you need to backup, drop and import the DBs

Thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM