MongoDB 运行 在 MacOs High Sierra 中写入操作非常慢

MongoDB running in MacOs High Sierra is with write operations very slow

我在我的 macbook 上 运行 MongoDB 3.0 使用 Sierra 进行提案开发,但在将其更新为 High Sierra 后,写入操作变得非常缓慢。我已经尝试 google 关于此事但没有任何结果。我已将我的存储更改为 WiredTiger 没有任何反应。有没有人更新并遇到了我在这里遇到的同样问题?

我把我的实际 mongo.conf:

systemLog:

  destination: file

  path: /usr/local/var/log/mongodb/mongo.log

  logAppend: true

storage:

  dbPath: /usr/local/var/mongodb

  engine: "wiredTiger"

net:

  bindIp: 127.0.0.1

谢谢

这恰好是 Apple 的新文件系统 (APFS) 的问题:

MongoDB 3.6 is not tested on APFS, the new filesystem in macOS 10.13 and may encounter errors.

来源:the mongodb documentation