Skip to content

Star-tree Optimizations #7137

@Jackie-Jiang

Description

@Jackie-Jiang

Problems:

  1. Certain predicates (e.g. NOT_EQUAL) can select too many branches, limiting the performance of star-tree
  2. Star-tree does not support filters with OR

Potential solutions for 1:

  • During aggregation, negate the aggregation result of the non-selected branches from the star node branch. This solution could become complicated for multiple predicates.
  • Create a derived column for the predicate result, and apply star-tree on top of it. This solution can only work on the fixed predicate.
  • First use inverted index to do the filtering, then use pre-aggregated docs to cover the contiguous selected docs

Potential solution for 2:

  • Use bitmap to store the selected docs for each predicate under OR, then union the bitmaps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions