标签:network system tin x86 pen file 版本 roc lin
不同的版本配置项可能不同:本文使用的 mongodb-win32-x86_64-2012plus-4.2.11-signed.msi
mongod.cfg 默认占用内存为 0.5*(物理内存-1)如内存8G => 0.5*(8-1)=> 3.5G
# mongod.conf # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ # Where and how to store data. storage: dbPath: D:\Program Files\MongoDB\Server\4.2\data journal: enabled: true # engine: wiredTiger # mmapv1: wiredTiger: engineConfig: cacheSizeGB: 1 # where to write logging data. systemLog: destination: file logAppend: true path: D:\Program Files\MongoDB\Server\4.2\log\mongod.log # network interfaces net: port: 27017 # bindIp: 127.0.0.1 bindIp: 172.16.3.40 #processManagement: #security: #operationProfiling: #replication: #sharding: ## Enterprise-Only Options: #auditLog: #snmp:
标签:network system tin x86 pen file 版本 roc lin
原文地址:https://www.cnblogs.com/vipsoft/p/14148114.html