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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.11, 3.4.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Storage 2016-10-31

      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.

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

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

              Created:
              Updated:
              Resolved: