Skip to content

Excessive Stats Updaing Duration in Clusters with Over One Million Tables and Active Workloads #57869

@0xPoe

Description

@0xPoe

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

The stats updaing 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 updating duration is normal.

3. What did you see instead (Required)

Image

4. What is your TiDB version? (Required)

master, v8.5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions