1.查看索引 (1)单位是GB SELECT CONCAT(ROUND(SUM(index_length)/(1024*1024*1024), 2), ‘ GB’) AS ‘Total Index Size’ FROM information_schema.TABLES WHERE table_schema LIKE ‘database’; +——————+ | Total Index Size | +——————+ | 1.70 GB | +——————+ (2)单位是MB SELECT CO