Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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.
First I've noticed FTDC writing every ~8seconds, so I set diagnosticDataCollectionEnabled: false. But there still remain writes into WiredTiger.wt (.turtle and index) every minute.
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.
(Btw. I'm a nub, never really worked with mongo)

question from:https://stackoverflow.com/questions/65897050/configuring-mongodb-wtcheck-tthread-writes-on-disk-into-wiredtiger-wt

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
773 views
Welcome To Ask or Share your Answers For Others

1 Answer

storage.journal.commitIntervalMs ( default=100ms , you can increase up to 500ms )


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...