How to improve MongoDB insert performance

前端 未结 4 458
粉色の甜心
粉色の甜心 2020-12-24 13:00

The result:

If you are operating on a dataset that is fault tolerant, or doing a one time process you can verify, changing WriteAcknowledge

4条回答
  •  失恋的感觉
    2020-12-24 13:20

    "There is not a substantial read rate on the database so Sharding would not improve matters, although perhaps I am wrong."

    An update involves a read. aka finding that forsaken _id -- so perhaps sharding might be helpful if not v helpful

提交回复
热议问题