stoty commented on PR #6327:
URL: https://github.com/apache/hbase/pull/6327#issuecomment-2411748959

   > @stoty @virajjasani is this something that Phoenix could use to make 
better query plans?
   
   Most of these statistics are not particularly relevant for Phoenix, as 
extreme row/cell sizes are less typical in Phoenix's relational model.
   
   However, I think this same infrastructure could be extended for key 
distribution, cardinality, and other statistics that are relevant for query 
plan optimization. Those would probably need some kind of pluggalble interface 
where Phoenix can process the rowkeys as its own PK components as the data is 
collected.
   
   Phoenix doesn't really do optimization based on table contents today, so 
there is a lot of room for improvement.
   
   Unfortunately, my knowledge on optimization techniques is also lacking, so I 
cannot tell whether this infrastructure has any flaws that would later limit 
Phoenix's ability to use it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to