mongodb修改Read/Write tickets
2022-05-11 21:34 abce 阅读(164) 评论(0) 编辑 收藏 举报进入数据库修改:
use admin db.adminCommand( { setParameter: 1, wiredTigerConcurrentReadTransactions: 256 } ) db.adminCommand( { setParameter: 1, wiredTigerConcurrentWriteTransactions: 256 } )
或者在配置文件中修改:
# Two options below can be used for wiredTiger and inMemory storage engines setParameter: wiredTigerConcurrentReadTransactions: 256 wiredTigerConcurrentWriteTransactions: 256