Enable unpacking of deltas and the base page during the merging process

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-11-21
    • 5

      Currently, both deltas and the base page need to be unpacked before merging can generate a full page. This process is less problematic for internal pages because the keys on internal pages are independent. In such cases, the unpacked keys simply act as pointers to the base image and deltas.

      However, this becomes an issue for leaf pages. Leaf pages use prefix compression, meaning that larger keys depend on preceding keys. Consequently, if we unpack them before merging, we need to copy each key individually, which adds overhead.

      Ideally, deltas and the base image should only be unpacked progressively during the merging process itself to optimize space performance and avoid unnecessary copying.

            Assignee:
            Zunyi Liu
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: