Is it possible to reduce the journal file size

hi ,

By default journal file size is 100MB, is it possible to increase or decrease this size limit?

Thanks

Hi @Akshaya_Srinivasan,

The Wired Tiger journal file can grow “up” to 100Mb.

https://docs.mongodb.com/manual/core/journaling/#journal-file-size-limit

I don’t see a reason that you will need to make it smaller or bigger as those perform for internal consistency and fault tolerance use.

What you can potentially control is the compressor that compress data in those files to have motre journal data. However, better compression have some performance panelty as a stronger mechanism require more resources.

https://docs.mongodb.com/manual/core/journaling/#compression

Best
Pavel

1 Like