Skip to content
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

Excessive Stats Loading Duration in Clusters with Over One Million Tables and Active Workloads #57868

Open
Rustin170506 opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/statistics severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@Rustin170506
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

The stats loading duration is excessively high when the cluster contains more than one million tables, and half of them have active workloads.

  1. Create one million tables.
  2. Use sysbench to update 10% of these tables.

2. What did you expect to see? (Required)

The stats loading duration is normal.

3. What did you see instead (Required)

Image

4. What is your TiDB version? (Required)

master, 8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/statistics severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants