Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13670

Skip writing null-map and varlen table when possible.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • None
    • Docs Required, Release Notes Required

    Description

      Motivation.

      The nullmap is currently always written to the tuple layout for all columns
      even if there are no nullable columns described in the schema.
      The same is true and can be done for varlen table.

      Seems, we can extend this idea to every single tuple and still have the ability to compare key/value content fast as byte arrays.
      Apparently, this will work for rows of same schema version, but we shouldn't bother about the schema version,
      because anyway, old row will be upgraded to the newer version before comparison according to the live-schema concept.

      Description.

      Let's skip an empty nullmap and write just a flag instead.
      Let's skip an empty varlen table and write just a flag instead.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              agoncharuk Alexey Goncharuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m