Skip to content

add filters for SPM baseline capture functionality #15655

Closed
@eurekaka

Description

Development Task

Currently, if tidb_capture_plan_baselines is enabled, SPM would capture SQL patterns which occur more than once and build a baseline binding for it if there doesn't exist one. This would be annoying if users enable this feature in product environment, because there may be huge amount of bindings built.

We can let users define filter / rules to constraint the capture behavior, e.g, only capture baselines for specified tables, or specified connection.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions