Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
As the doc said here https://docs.mongodb.com/manual/core/write-performance/#document-growth-and-the-mmapv1-storage-engine
```
For the MMAPv1 storage engine, if an update operation causes a document to exceed the currently allocated record size, MongoDB relocates the document on disk with enough contiguous space to hold the document. Updates that require relocations take longer than updates that do not, particularly if the collection has indexes. If a collection has indexes, MongoDB must update all index entries. Thus, for a collection with many indexes, the move will impact the write throughput.
```
Would this affect WiredTiger ? The official doc said nothing about it and we don't know if we frequently push something into an array of a document and cause the document growth, would it cause performance issues ?