Query to is.tables
is slow in infoschema cache v2
#57295
Labels
affects-8.5
component/ddl
This issue is related to DDL of TiDB.
severity/moderate
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: