search

Home  >  Q&A  >  body text

Is there a limit to the size of a single document inserted into a MongoDB shard?

MongoDB sharding replica cluster mode, default chunkSize: 64MB; when the size of a single document inserted exceeds 100KB, the sharding will hang, and the cluster will also hang. May I ask the master, does MongoDB have a limit on the size of a single document?

淡淡烟草味淡淡烟草味2832 days ago789

reply all(1)I'll reply

  • 阿神

    阿神2017-05-17 10:06:23

    16 megabytes.

    MongoDB Limits and Thresholds:
    https://docs.mongodb.com/manu...

    供参考。

    Love MongoDB! Have fun!

    reply
    0
  • Cancelreply