Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32511

Does WiredTiger have performance issue when update a large array of a document

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 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 ?

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            narychen Roben
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: