Extension of the answer by Wike Hermez.
So you can get the whole size of indexes in megabytes without PRIMARY (which is the table itself), sorted by size.
SELECT database_name, table_name, index_name, round(stat_value*@@innodb_page_size/1024/1024, 2) size_in_mb FROM mysql.innodb_index_stats WHERE stat_name = 'size' AND index_name != 'PRIMARY' ORDER BY 4 DESC;
Daniel Zohar Apr 12 '16 at 12:49 on 2016-04-12 12:49
source share