我通过mongod.conf中的setings启用WiredTiger引擎有问题
我正在使用Centos 7,这是我的配置
我正在使用Centos 7,这是我的配置
#/etc/mongod.conf storage: wiredTiger: engineConfig: cacheSizeGB: 2 collectionConfig: blockCompressor: snappy dbPath: "/var/lib/mongo" systemLog: destination: file path: "/var/log/mongodb/mongod.log" logAppend: true #timeStampFormat: iso8601-utc processManagement: fork: true pidFilePath: "/var/run/mongodb/mongod.pid" net: bindIp: 10.0.1.136,127.0.0.1 port: 27017 wireObjectCheck : true unixDomainSocket: enabled : true security: keyFile: "/etc/mongo.rs1.key" authorization: "enabled" replication: oplogSizeMB: 2048 replSetName: rs1
Mongo开始但是enginge是mmapv1 原文链接:https://www.f2er.com/linux/396289.html