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

Consider batching uncovered column merge for local indexes

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment