Skip to content

stop checking if the generated plan is in bindings once we partition baselines based on selectivity #15911

Open
@eurekaka

Description

Development Task

Once #15281 is merged, we can call optimize() at most once for a query even if tidb_use_plan_baselines and tidb_evolve_plan_baselines are set ON, so there is no need to generate a plan first, and check if the plan is contained in the binding list anymore. This check is pretty fragile because it requires the hints generated from plan must be strictly consistent with the hints parsed from bindings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions