MySQL 8.4 Reference Manual Including MySQL NDB Cluster 8.4

15.7.7.38 SHOW TABLE STATUS Statement

SHOW TABLE STATUS
    [{FROM | IN} db_name]
    [LIKE 'pattern' | WHERE expr]

SHOW TABLE STATUS works like SHOW TABLES, but provides a lot of information about each non-TEMPORARY table. You can also get this list using the mysqlshow --status db_name command. The LIKE clause, if present, indicates which table names to match. The WHERE clause can be given to select rows using more general conditions, as discussed in Section 28.8, “Extensions to SHOW Statements”.

This statement also displays information about views.

SHOW TABLE STATUS output has these columns:

Notes

Table information is also available from the INFORMATION_SCHEMA TABLES table. See Section 28.3.38, “The INFORMATION_SCHEMA TABLES Table”.