Skip to content

Reduce performance issues caused by Build Plan #162

@KKould

Description

@KKould

Feature Request

I try to perform this case in a table with 200,000 rows: select * from t1 where c1 > 500 and c1 < 1000, and use pprof-rs to generate a flame graph
flamegraph
The most obvious one is StatisticMetaLoader::load, which will then be cached, and then I generate a flame graph after loading.
flamegraph_no_load_meta
In the new flame graph, HepOptimizer::find_best is a relatively large performance bottleneck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions