Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了 MongoDB 过度使用空间的问题。我有一个使用 8 GB 空间的集合。我试图使用 mongo 命令“db.repairDatabase()”来压缩这个空间,但它变得最糟糕。该系列现在使用 11 GB 的空间!我发现“compact”命令以这种方式可能很有用,但它将空间使用增加到 17 GB!
谁能帮我解决这个问题?