[ 
https://issues.apache.org/jira/browse/PHOENIX-5648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003020#comment-17003020
 ] 

Swaroopa Kadam commented on PHOENIX-5648:
-----------------------------------------

Idea is to include the comparison logic on UngroupedAggregatedRegionObserver so 
that we avoid using phoenix query with IN clause which is a lot more time 
consuming than performing the comparison on server side, where we can have 
index and data table key available to compare the row. At this point, we are 
concerned about data transfer between client and server. WDYT?

> Improve IndexScrutinyTool's performance by moving comparison logic to server 
> side
> ---------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5648
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5648
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.0.0, 4.15.0, 4.14.3
>            Reporter: Swaroopa Kadam
>            Assignee: Swaroopa Kadam
>            Priority: Minor
>             Fix For: 4.15.1, 4.14.4
>
>
> If IndexScrutinyTool runs on a table with billion rows, it takes lots of 
> time. 
> One of the ways to improve the tool is to move the comparison to the 
> server-side. 



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

Reply via email to