Is there a limit to the size of a single document inserted into a MongoDB shard?
淡淡烟草味
2017-05-17 10:04:23
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?
16 megabytes.
MongoDB Limits and Thresholds:
https://docs.mongodb.com/manu...
供参考。
Love MongoDB! Have fun!