-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Support to export historical statistics #18745
Labels
component/statistics
feature/accepted
This feature request is accepted by product managers
sig/planner
SIG: Planner
type/feature-request
Categorizes issue or PR as related to a new feature.
Comments
qw4990
added
component/statistics
type/feature-request
Categorizes issue or PR as related to a new feature.
labels
Jul 23, 2020
We can use this feature(#18117) to remove the limitation. |
zz-jason
added
the
feature/accepted
This feature request is accepted by product managers
label
Jul 29, 2020
I reopened this issue because extra works will be needed after #18117 is finished.
|
zz-jason
added
the
feature/reviewing
This feature request is reviewing by product managers
label
Sep 1, 2020
zz-jason
removed
the
feature/reviewing
This feature request is reviewing by product managers
label
Sep 3, 2020
The design doc(Chinese version) designed by @An-DJ and the work items:
|
This was referenced Dec 12, 2021
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component/statistics
feature/accepted
This feature request is accepted by product managers
sig/planner
SIG: Planner
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
Is your feature request related to a problem? Please describe:
There are some cases that when we(developer) get the wrong execution plan, statistics have been updated by
auto-analyze
or users without intention, which makes it harder to reproduce the plan and locate the reason.Describe the feature you'd like:
Support to export historical statistics.
There is already an API that can do this, but it has a strict limitation that the specified time cannot be earlier
tikv_gc_run_interval
minutes than the current time. (The default value oftikv_gc_run_interval
is 10 minutes)This limitation makes this API hard to be used in realistic cases.
It's better to design a new way to implement this feature.
Teachability, Documentation, Adoption, Migration Strategy:
Export statistics in TiDB
The text was updated successfully, but these errors were encountered: