phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bin Shi (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-5085) Disentangle BaseResultIterators from the backing Guidepost Data structure
Date Mon, 07 Jan 2019 18:22:00 GMT


Bin Shi commented on PHOENIX-5085:

[~dbwong] & [~karanmehta93], we're almost on the same page. 

At the current phase, to address this JIRA, the GuidePostsInfo can provide two create functions
(Factory Method) - one returns List<GuidePost> and another returns ArrayList<GuidePost>
interfaces (can leave it for implantation for the future), where GuidePost is a data structure
contains data from a row in stats table.  Define a SequenceAccessor factory which provides
a method get SequenceAccessor (interface) of Guideposts. A concrete class implements this
SequenceAccess interface and encapsulates the current implantation of guideposts data structure
using prefix encoding.


At the next phase, we'll define RandomAccessor factory and RandomeAccess interface, implement
different guideposts data structure (Segment Tree). Add more APIs and helper functions, such
as what described in ["Phoenix deep dive" slides|].
 # Use [Segment Tree|]
(Plus some characteristics from B+ Tree) PHOENIX-4925
 # Disentangle the granularity of guideposts from that of the cached guideposts (PHOENIX-4927)
 # Mount/unmount guideposts for a particular tenant or key range
 # Guideposts Chunk is always encoded/decoded as a whole, so we can choose different compression
algorithms depending on the data.
 # Support Range Scan. Given <start key, End Key>, return List<GuidePost> decompressed
on which we can perform binary search, or return estimated # rows and # bytes

> Disentangle BaseResultIterators from the backing Guidepost Data structure
> -------------------------------------------------------------------------
>                 Key: PHOENIX-5085
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Daniel Wong
>            Assignee: Daniel Wong
>            Priority: Major
>              Labels: Statistics, StatsImprovement
> Disentangle BaseResultIterators.getParallelScans from the backing Guidepost Data structure. 
This will provide the abstraction for possible new stats data structures in
>  Will heavily affect changes in and  [~Bin Shi] [~karanmehta93]

This message was sent by Atlassian JIRA

View raw message