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

SQL: Avoid materializing rows when possible

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: cache, sql
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: