-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
planner: record the reason why a query can't hit the plan cache in statements_summary table #50618
Labels
affects-8.2
epic/plan-cache
needs-cherry-pick-release-8.2
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Comments
13 tasks
13 tasks
13 tasks
13 tasks
13 tasks
13 tasks
3AceShowHand
pushed a commit
to 3AceShowHand/tidb
that referenced
this issue
May 7, 2024
3AceShowHand
pushed a commit
to 3AceShowHand/tidb
that referenced
this issue
May 7, 2024
13 tasks
This was referenced May 7, 2024
13 tasks
13 tasks
13 tasks
13 tasks
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
13 tasks
This was referenced Jun 20, 2024
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-8.2
epic/plan-cache
needs-cherry-pick-release-8.2
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
User Story: In PoC, after a round of testing, the user wants to know which queries cannot hit the plan cache and their reasons to help them optimize the plan cache hit ratio further, but our current diagnosis information is not enough for this.
A graceful and simple method to implement this is to record the un-cacheable reason in the statements_summary table, then the user can query this table to identify the reason, for example:
The text was updated successfully, but these errors were encountered: