sys Schema

March 29, 2024 ยท View on GitHub

Starting from v8.0.0, TiDB provides the sys schema. You can use the views in sys schema to understand the data in the system tables, INFORMATION_SCHEMA, and PERFORMANCE SCHEMA of TiDB.

Tables for MySQL compatibility

Table nameDescription
schema_unused_indexesRecords indexes that have not been used since the last start of TiDB.