MySQL 8.4 Reference Manual Including MySQL NDB Cluster 8.4

30.4.3.24 The schema_auto_increment_columns View

This view indicates which tables have AUTO_INCREMENT columns and provides information about those columns, such as the current and maximum column values and the usage ratio (ratio of used to possible values). By default, rows are sorted by descending usage ratio and maximum column value.

Tables in these schemas are excluded from view output: mysql, sys, INFORMATION_SCHEMA, performance_schema.

The schema_auto_increment_columns view has these columns: