Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
state:open label:"component/statistics"
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pingcap
/
tidb
Public
Notifications
You must be signed in to change notification settings
Fork
6k
Star
39.3k
Code
Issues
4.2k
Pull requests
1.2k
Discussions
Actions
Projects
3
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Rearrange logical optimizing rule
#55231 ·
AilinKid
opened
on Aug 6, 2024
15
flaky test list
#41316 ·
hawkingrei
opened
on Feb 12, 2023
Issues
Search Issues
state
:
open
label
:
"component/statistics"
state:open label:"component/statistics"
Search
Labels
Milestones
New issue
Search results
Open
Closed
[DNM]: *: debug flaky import test
component/statistics
do-not-merge/needs-linked-issue
do-not-merge/needs-tests-checked
release-note-none
Denotes a PR that doesn't merit a release note.
Denotes a PR that doesn't merit a release note.
sig/planner
SIG: Planner
SIG: Planner
size/S
Denotes a PR that changes 10-29 lines, ignoring generated files.
Denotes a PR that changes 10-29 lines, ignoring generated files.
Status: Open (in progress).
pingcap/tidb
number 64210
#64210
In pingcap/tidb;
·
joechenrh
opened
on Oct 31, 2025
A large number of sync load timeouts occur when a node restarts or a new node starts up
component/statistics
sig/planner
SIG: Planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
The issue or PR belongs to an enhancement.
Status: Open.
#64196
In pingcap/tidb;
·
0xPoe
opened
on Oct 30, 2025
planner: update embedded analyze variable name
approved
component/statistics
lgtm
needs-cherry-pick-release-8.5
Should cherry pick this PR to release-8.5 branch.
Should cherry pick this PR to release-8.5 branch.
ok-to-test
Indicates a PR is ready to be tested.
Indicates a PR is ready to be tested.
release-note-none
Denotes a PR that doesn't merit a release note.
Denotes a PR that doesn't merit a release note.
sig/planner
SIG: Planner
SIG: Planner
size/S
Denotes a PR that changes 10-29 lines, ignoring generated files.
Denotes a PR that changes 10-29 lines, ignoring generated files.
Status: Open (in progress).
pingcap/tidb
number 64154
#64154
In pingcap/tidb;
·
AilinKid
opened
on Oct 28, 2025
statistics: global stats underestimates cardinality to a small value when "hole" exists
component/statistics
contribution
This PR is from a community contributor.
This PR is from a community contributor.
sig/planner
SIG: Planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
The issue is confirmed as a bug.
Status: Open.
#64117
In pingcap/tidb;
·
L-maple
opened
on Oct 24, 2025
statistics: ignore system tables in stats cache
component/statistics
do-not-merge/hold
Indicates that a PR should not merge because someone has issued a /hold command.
Indicates that a PR should not merge because someone has issued a /hold command.
needs-1-more-lgtm
Indicates a PR needs 1 more LGTM.
Indicates a PR needs 1 more LGTM.
needs-cherry-pick-release-7.5
Should cherry pick this PR to release-7.5 branch.
Should cherry pick this PR to release-7.5 branch.
needs-cherry-pick-release-8.5
Should cherry pick this PR to release-8.5 branch.
Should cherry pick this PR to release-8.5 branch.
release-note
Denotes a PR that will be considered when it comes time to generate release notes.
Denotes a PR that will be considered when it comes time to generate release notes.
sig/planner
SIG: Planner
SIG: Planner
size/XL
Denotes a PR that changes 500-999 lines, ignoring generated files.
Denotes a PR that changes 500-999 lines, ignoring generated files.
Status: Open (in progress).
pingcap/tidb
number 64097
#64097
In pingcap/tidb;
·
0xPoe
opened
on Oct 22, 2025
Stats Healthy metric cannot display the stats health correctly
affects-7.5
This bug affects the 7.5.x(LTS) versions.
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
This bug affects the 8.5.x(LTS) versions.
component/statistics
severity/moderate
sig/planner
SIG: Planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
The issue is confirmed as a bug.
Status: Open.
#64080
In pingcap/tidb;
·
0xPoe
opened
on Oct 21, 2025
planner: Optimize TopN.BetweenCount range search using a combined binary search pass
component/statistics
contribution
This PR is from a community contributor.
This PR is from a community contributor.
needs-1-more-lgtm
Indicates a PR needs 1 more LGTM.
Indicates a PR needs 1 more LGTM.
ok-to-test
Indicates a PR is ready to be tested.
Indicates a PR is ready to be tested.
release-note-none
Denotes a PR that doesn't merit a release note.
Denotes a PR that doesn't merit a release note.
sig/planner
SIG: Planner
SIG: Planner
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
Denotes a PR that changes 100-499 lines, ignoring generated files.
Status: Open (in progress).
pingcap/tidb
number 64064
#64064
In pingcap/tidb;
·
ghoshh
opened
on Oct 21, 2025
Disable auto analyze will cause mysql.tidb_ddl_notifier can't clear
component/statistics
sig/planner
SIG: Planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
The issue is confirmed as a bug.
Status: Open.
#64038
In pingcap/tidb;
·
lance6716
opened
on Oct 20, 2025
statistics: refresh stats concurrently
component/statistics
release-note-none
Denotes a PR that doesn't merit a release note.
Denotes a PR that doesn't merit a release note.
sig/planner
SIG: Planner
SIG: Planner
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
Denotes a PR that changes 100-499 lines, ignoring generated files.
Status: Open (in progress).
pingcap/tidb
number 64034
#64034
In pingcap/tidb;
·
0xPoe
opened
on Oct 19, 2025
Add Grafana metrics and alerts for failed statistics collection tasks
component/statistics
sig/planner
SIG: Planner
SIG: Planner
type/feature-request
Categorizes issue or PR as related to a new feature.
Categorizes issue or PR as related to a new feature.
Status: Open.
#63934
In pingcap/tidb;
·
0xPoe
opened
on Oct 13, 2025
stats: no storage fallback mechanism for show command when stats cache miss
component/statistics
sig/planner
SIG: Planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
The issue or PR belongs to an enhancement.
Status: Open.
#63700
In pingcap/tidb;
·
Tristan1900
opened
on Sep 23, 2025
Deprecate analyze version 1
component/statistics
sig/planner
SIG: Planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
The issue or PR belongs to an enhancement.
Status: Open.
#63579
In pingcap/tidb;
·
0xPoe
opened
on Sep 17, 2025
You can’t perform that action at this time.