Skip to content

Support record query replan replayer info if it matches digest. #38779

@Yisaer

Description

@Yisaer

Enhancement

Currently we use plan replayer to dump query info manually, which is no convenient if the target plan can't be reproduced stablely.

A proper way to capture the wanted plan replayer info is to register the sql and plan digest in tidb-server, then dump the plan replayer info in any query matches the digest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sig/plannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions