Last active
February 4, 2023 16:25
-
-
Save bricss/bd92d1ce6738a8cc6f72 to your computer and use it in GitHub Desktop.
MongoDB config sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net: | |
ipv6: true | |
storage: | |
dbPath: "C:/MongoDB/data" | |
directoryPerDB: true | |
journal: | |
enabled: true | |
wiredTiger: | |
engineConfig: | |
cacheSizeGB: 2 | |
journalCompressor: zstd | |
collectionConfig: | |
blockCompressor: zstd | |
indexConfig: | |
prefixCompression: true | |
systemLog: | |
destination: file | |
logAppend: true | |
logRotate: reopen | |
path: "C:/MongoDB/log/mongod.log" | |
timeStampFormat: iso8601-utc | |
traceAllExceptions: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment