Skip to content

Instantly share code, notes, and snippets.

@comerford
Last active March 23, 2021 08:57
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save comerford/0dec74f0e3ee0e1e4ec1 to your computer and use it in GitHub Desktop.
Save comerford/0dec74f0e3ee0e1e4ec1 to your computer and use it in GitHub Desktop.
Config Files for MongoDB 3.0 Compression Testing
storage:
dbPath: "/data/db/300-mm"
directoryPerDB: true
journal:
enabled: true
systemLog:
destination: file
path: "/data/db/300-mm/mongodb.log"
logAppend: true
timeStampFormat: iso8601-utc
processManagement:
fork: true
net:
bindIp: 127.0.0.1
port: 27017
unixDomainSocket:
enabled : true
storage:
dbPath: "/data/db/300-wtn"
directoryPerDB: true
journal:
enabled: true
engine: "wiredTiger"
wiredTiger:
engineConfig:
cacheSizeGB: 24
journalCompressor: none
collectionConfig:
blockCompressor: none
indexConfig:
prefixCompression: false
systemLog:
destination: file
path: "/data/db/300-wtn/mongodb.log"
logAppend: true
timeStampFormat: iso8601-utc
processManagement:
fork: true
net:
bindIp: 127.0.0.1
port: 27017
unixDomainSocket:
enabled : true
storage:
dbPath: "/data/db/300-wts"
directoryPerDB: true
journal:
enabled: true
engine: "wiredTiger"
wiredTiger:
engineConfig:
cacheSizeGB: 24
journalCompressor: snappy
collectionConfig:
blockCompressor: snappy
indexConfig:
prefixCompression: true
systemLog:
destination: file
path: "/data/db/300-wts/mongodb.log"
logAppend: true
timeStampFormat: iso8601-utc
processManagement:
fork: true
net:
bindIp: 127.0.0.1
port: 27017
unixDomainSocket:
enabled : true
storage:
dbPath: "/data/db/300-wtz"
directoryPerDB: true
journal:
enabled: true
engine: "wiredTiger"
wiredTiger:
engineConfig:
cacheSizeGB: 24
journalCompressor: zlib
collectionConfig:
blockCompressor: zlib
indexConfig:
prefixCompression: true
systemLog:
destination: file
path: "/data/db/300-wtz/mongodb.log"
logAppend: true
timeStampFormat: iso8601-utc
processManagement:
fork: true
net:
bindIp: 127.0.0.1
port: 27017
unixDomainSocket:
enabled : true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment