Query to is.tables
is slow in infoschema cache v2
#57295
Labels
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/ddl
This issue is related to DDL of TiDB.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
severity/major
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)
select * from information_schema.tables where table_name = 'xx'
2. What did you expect to see? (Required)
It should complete fast.
3. What did you see instead (Required)
It takes about 400ms to finish a query. From the CPU profile, we can see there are many cache misses.
4. What is your TiDB version? (Required)
e16613d
The text was updated successfully, but these errors were encountered: