SHOW INDEX
Descriptionβ
This statement is used to show information related to index in a table. It currently only supports bitmap index.
Syntax:
SHOW INDEX[ES] FROM [db_name.]table_name [FROM database]
Or
SHOW KEY[S] FROM [db_name.]table_name [FROM database]
Examplesβ
-
Show all indexes under the specified table_name:
SHOW INDEX FROM example_db.table_name;