MongoDB 如何避免存儲引擎Cache 壓力?
1.TransactionLifetimeLimitSeconds 設為默認 60s;
2.提交 Read-Only 事務;
3.中止不需要的事務;
4.事務的修改的文檔大于 1000 Documents 且小于 16MB Oplog。