You are viewing the archived documentation of TiDB, which no longer receives updates.

View latest LTS version docs

sys Schema

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.