You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2019/11/17 21:09:00 UTC

[jira] [Created] (PHOENIX-5577) Uncovered columns are retrieved one-by-one in local index scans.

Lars Hofhansl created PHOENIX-5577:
--------------------------------------

             Summary: Uncovered columns are retrieved one-by-one in local index scans.
                 Key: PHOENIX-5577
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5577
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Lars Hofhansl


See RegionScannerFactory.getWrappedScanner(...) -> new RegionScanner(...).nextRaw(...) -> IndexUtil.wrapResultUsingOffset(...)

For a batched get this issues a Get back to the same region. While the Get is local, it still needs to setup a scanner and seek to the right key each time. This is pretty inefficient. Local indexes could be much, much faster at read time for larger scans.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)