简体   繁体   English

配置 mongodb - WTCheck.tThread 在磁盘上写入 WiredTiger.wt

[英]configuring mongodb - WTCheck.tThread writes on disk into WiredTiger.wt

I've installed mongodb 4.4.3 on my Raspberry Pi and I've noticed there are some IO operations even though no client is connected and no queries from my side.我已经在我的 Raspberry Pi 上安装了 mongodb 4.4.3,我注意到即使没有连接客户端也没有来自我这边的查询,也有一些 IO 操作。
First I've noticed FTDC writing every ~8seconds, so I set diagnosticDataCollectionEnabled: false .首先,我注意到 FTDC 每隔约 8 秒写入一次,因此我设置了diagnosticDataCollectionEnabled: false But there still remain writes into WiredTiger.wt (.turtle and index) every minute.但是每分钟仍然有写入 WiredTiger.wt(.turtle 和索引)。
What does it do, is it some journal?它是做什么的,是什么杂志吗? Can I disable it?我可以禁用它吗?
It is my personal dev webserver, there won't be much writing/reading from my side, so I dont see the point in mongo doing some unnecessary writing, since it will be just slowly killing my SSD.这是我的个人开发网络服务器,我这边不会有太多的写入/读取,所以我不认为 mongo 做一些不必要的写入有什么意义,因为它只会慢慢地杀死我的 SSD。
(Btw. I'm a nub, never really worked with mongo) (顺便说一句。我是个小人物,从未真正与 mongo 合作过)

storage.journal.commitIntervalMs ( default=100ms, you can increase up to 500ms ) storage.journal.commitIntervalMs (default=100ms, 最多可以增加到 500ms )

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

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