Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2954

Inserting multi-megabyte values can cause large in-memory pages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.11, 3.4.0-rc2
    • None
    • Storage 2016-10-31

    Description

      Constructing a workload that:

      • Inserts 16MB values from 10 threads in parallel
      • Configures a memory_page_max of 5MB
      • Does not do checkpoints
      • Does not use explicit transactions

      Can lead to in-memory pages growing to over 1GB. That is bad for a number of reasons, including:

      • Reconciliation will need to allocate a large amount of memory when writing the page out.
      • Reconciliation will be slow, leading to application stalls.

      Attachments

        1. wt2950.png
          wt2950.png
          44 kB
        2. wt2950_single_thread.png
          wt2950_single_thread.png
          29 kB

        Issue Links

          Activity

            People

              alexander.gorrod@mongodb.com Alexander Gorrod
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: