Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6412

Consider batching uncovered column merge for local indexes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Currently uncovered columns are merged row-by-row, performing a Get to the data region for each matching row in the index region.

      Each Get needs to seek all the store scanners, and doing this per row is quite expensive.

      Instead we could batch inside the RegionScannerFactory.getWrappedScanner() -> RegionScanner.nextRaw() method. Collect N index rows and then execute a single skip scan on the data region. 

      I might be able to get to that, but there's someone who is interested in taking this up I would not mind

      Attachments

        1. 6412-hack.txt
          10 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              Unassigned Unassigned
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: