loadInfoSchema() slow when there are background query visiting INFORMATION_SCHEMA.TABLES #58363
Labels
affects-8.5
This bug affects the 8.5.x(LTS) versions.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
1M table in the cluster already, run 'create table' workload together with a "SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = xxx' workload.
2. What did you expect to see? (Required)
DDL should be fast enough.
3. What did you see instead (Required)
DDL is slow, and the LoadSchemaDiff takes a long time.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: