The following is my launch configuration parameters:
Pidfilepath=/data/mongo/data/shard1/log/shard1 pid
Dbpath=/data/mongo/data/shard1/data
The logpath=/data/mongo/data/shard1/log/shard1 log
Logappend=true
Bind_ip=0.0.0.0
Port=27001
The fork=true
WiredTigerCacheSizeGB=20
ReplSet=shard1
Shardsvr=true
MaxConns=20000
WiredTigerDirectoryForIndexes=true
CodePudding user response:
Normal wiredtiger btree index model is definitely more insert more slowConstant rate of insert RocksDB engine can be used
CodePudding user response:
May be memory footprint almost full, you use htop state