简体   繁体   English

MongoDB小文件

[英]MongoDB smallfiles

I have a simple question concerning smallfiles parameter of a MongoDB instance. 我有一个关于MongoDB实例的smallfiles参数的简单问题。

I have a MongoDB 2.4.4 instance with smallfiles set to false . 我有一个MongoDB 2.4.4实例,其smallfiles设置为false Because of that I already have 50 GB of data on that instance. 因此,该实例上已经有50 GB的数据。

If I set smallfiles to true , will that space be reduced or will I have to backup, drop and import the DBs? 如果将smallfiles设置为true ,该空间是否会减少,或者我是否必须备份,删除和导入数据库?

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 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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