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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.11, 3.4.0-rc1
    • Labels:
    • Sprint:
      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_single_thread.png
          wt2950_single_thread.png
          29 kB
        2. wt2950.png
          wt2950.png
          44 kB

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-storage Backlog - Storage Team
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: