mysql> SHOW INDEX FROM eip_t_timeline; +----------------+------------+-----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | +----------------+------------+-----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | eip_t_timeline | 0 | PRIMARY | 1 | timeline_id | A | 24624 | NULL | NULL | | BTREE | | | | eip_t_timeline | 1 | owner_id | 1 | owner_id | A | 307 | NULL | NULL | YES | BTREE | | | | eip_t_timeline | 1 | parent_id | 1 | parent_id | A | 6156 | NULL | NULL | | BTREE | | | +----------------+------------+-----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ 3 rows in set (0.02 sec)