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

SQL: Avoid materializing rows when possible

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • cache, sql

    Description

      We need to filter backup keys during query execution. Currently to achieve this we do the following:
      1) Get row link
      2) Materialize the row (!!!)
      3) Create H2 row (H2 wrapping)
      4) Then get key from H2 row (unwrapping)
      5) Calculate partition through affinity function

      What it might look like:
      1) Get row link
      2) Get partition from link

      This ticket is to implement row filtering on B+Tree level and avoid their materialization.

      Attachments

        1. IGNITE_6626.patch
          24 kB
          Vladimir Ozerov

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: