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

Onpage value may be duplicated on the update chain for in-memory database

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      With durable history, we always write the latest version to disk. This causes us to duplicate the on-disk value on the update chain for the in-memory database if there are older versions we cannot discard.

      U@20 -> U@10

      Suppose we have an insert list like above and the oldest timestamp is 5, after reconciliation, we will have

      U@20 -> U@10 on the update chain and disk value U@20.

      We consume more memory after reconciliation.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            chenhao.qu Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: