Mysql 索引树高度计算
作者:互联网
一、Mysql 5.7高度计算
1. 从视图查询计算索引树高度表的索引存储信息
mysql> SELECT b.name, a.name, index_id, a.PAGE_NO FROM information_schema.INNODB_SYS_INDEXES a join informattion_schema.INNODB_SYS_TABLES b
on a.table_id = b.table_id where b.name='mirror/FLEX_RF_RESULT_2022_05_022'; +----------------------------------+-----------------------+----------+---------+ | name | name | index_id | PAGE_NO | +----------------------------------+-----------------------+----------+---------+ | mirror/FLEX_RF_RESULT_2022_05_02 | GEN_CLUST_INDEX | 110 | 3 | | mirror/FLEX_RF_RESULT_2022_05_02 | FLEX_RF_RESULT_PIDX01 | 111 | 4 | | mirror/FLEX_RF_RESULT_2022_05_02 | FLEX_RF_RESULT_PIDX02 | 112 | 5 | +----------------------------------+-----------------------+----------+---------+
标签:FLEX,name,mirror,高度,索引,RF,RESULT,Mysql,id 来源: https://www.cnblogs.com/liuxiuxiu/p/16329499.html