-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/minorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run some workload like sysbench point get.
First, the @@tidb_schema_cache_size = 512M, the default value.
Change it to 0, check the schema cache hit rate.
2. What did you expect to see? (Required)
Hit rate near 100% or no data (infoschema v2 not used)
3. What did you see instead (Required)
Run sysbench_point_get with @@tidb_schema_cache_size = 512M
Set @@tidb_schema_cache_size = 0
Run sysbench_point_get again, the hit rate is nearly 0.

4. What is your TiDB version? (Required)
master e6b4d95
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/minorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.