Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
当我尝试插入到集合中时,MongoDB提示错误(代码12520,消息“新文件分配失败”)。
我向同一数据库中的其他集合插入数据时是没有问题的,磁盘也有空间.
请问这种情况应该如何解决呢
有可能在插入已有集合时使用的是以前预分配的空间,或者文档删除后重复利用空间,而新集合需要重新分配空间所以会失败。先查一下磁盘空间:
df -h
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待