mysql> select * from mysql.innodb_index_stats WHERE        database_name='test' and table_name='recordsInRangeTest';
+---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+
| database_name | table_name | index_name | last_update | stat_name | stat_value | sample_size | stat_description |
+---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+
| test | recordsInRangeTest | PRIMARY | 2018-07-14 04:27:29 | n_diff_pfx01 | 24290 | 20 | id |
| test | recordsInRangeTest | PRIMARY | 2018-07-14 04:27:29 | n_leaf_pages | 55 | NULL | Number of leaf pages in the index |
| test | recordsInRangeTest | PRIMARY | 2018-07-14 04:27:29 | size | 97 | NULL | Number of pages in the index |
| test | recordsInRangeTest | idx_age | 2018-07-14 04:27:29 | n_diff_pfx01 | 6 | 29 | age |
| test | recordsInRangeTest | idx_age | 2018-07-14 04:27:29 | n_diff_pfx02 | 24576 | 29 | age,id |
| test | recordsInRangeTest | idx_age | 2018-07-14 04:27:29 | n_leaf_pages | 29 | NULL | Number of leaf pages in the index |
| test | recordsInRangeTest | idx_age | 2018-07-14 04:27:29 | size | 30 | NULL | Number of pages in the index |
| test | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx01 | 6 | 30 | name |
| test | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx02 | 11 | 30 | name,age |
| test | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_diff_pfx03 | 24576 | 30 | name,age,id |
| test | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | n_leaf_pages | 30 | NULL | Number of leaf pages in the index |
| test | recordsInRangeTest | idx_age_name | 2018-07-14 04:27:29 | size | 31 | NULL | Number of pages in the index |
| test | recordsInRangeTest | idx_name | 2018-07-14 04:27:29 | n_diff_pfx01 | 6 | 25 | name |
| test | recordsInRangeTest | idx_name | 2018-07-14 04:27:29 | n_diff_pfx02 | 24576 | 25 | name,id |
| test | recordsInRangeTest | idx_name | 2018-07-14 04:27:29 | n_leaf_pages | 25 | NULL | Number of leaf pages in the index |
| test | recordsInRangeTest | idx_name | 2018-07-14 04:27:29 | size | 26 | NULL | Number of pages in the index |
+---------------+--------------------+--------------+---------------------+--------------+------------+-------------+-----------------------------------+

  

innodb_index_stats的更多相关文章

  1. MySQL错误日志提示innodb_table_stats和innodb_index_stats不存在故障处理

    查看MySQL error日志,发现有如下报错 7efbc586f700 InnoDB: Error: Table "mysql"."innodb_table_stats ...

  2. 基于MySQL MEB的备份恢复

    MEB(MySQL Enterprise Backup)是MySQL商业版中提供的备份工具,属于物理备份. 同XtraBackup一样,mysqlbackup的使用过程同样包含如下三个步骤: 备份(- ...

  3. 如何在删除ibdata1和ib_logfile的情况下恢复MySQL数据库

    昨天,有个朋友对公司内部使用的一个MySQL实例开启binlog,但是在启动的过程中失败了(他也没提,为何会失败),在启动失败后,他删除了ibdata1和ib_logfile,后来,能正常启动了,但所 ...

  4. 读书笔记--SQL必知必会--建立练习环境

    书目信息 中文名:<SQL必知必会(第4版)> 英文名:<Sams Teach Yourself SQL in 10 Minutes - Fourth Edition> MyS ...

  5. MySQL PXC构建一个新节点只需IST传输的方法

    需求场景:原有的pxc环境数据量已经比较大,新买的服务器要加入此集群中,如何让其用IST的方式传输,而不是SST. PXC传输数据有两种方式: IST: Incremental State Trans ...

  6. [MySQL Reference Manual]14 InnoDB存储引擎

    14 InnoDB存储引擎 14 InnoDB存储引擎 14.1 InnoDB说明 14.1.1 InnoDB作为默认存储引擎 14.1.1.1 存储引擎的趋势 14.1.1.2 InnoDB变成默认 ...

  7. 「转」xtrabackup新版详细说明

    声明:本文由我的同事@fiona514编写,是我看过的最用心的中文说明介绍,强烈推荐大家学习使用. Percona Xtrabackup 2.4.1 编译及软件依赖 centos5,6 需要升级cma ...

  8. mysql performance_schema 和information_schema.tables了解

    这个是关于mysql的系统表,性能表,核心表操作的一些介绍,深入算不上 我们一般很少去动 mysql  information_schema 信息相关  performance_schema 性能相关 ...

  9. 怎么计算一个具体InnoDB的索引大小

    一般情况下,我们看表信息可以用这个命令show table status: mysql> show table status like 't'\G . row ***************** ...

随机推荐

  1. DSL-领域特定语言(英语:domain-specific language、DSL)

    领域特定语言(英语:domain-specific language.DSL)指的是专注于某个应用程序领域的计算机语言.

  2. css relative

    一.relative和absolute相煎关系 relative限制absolute 1.限制left/top/right/bottom定位 如果父元素有relative,只能根据父元素进行定位 2. ...

  3. 安装配置MySQL

    安装yum install mysql-server设置开机启动chkconfig mysqld on启动mysql服务器service mysqld start 设置root的初试密码mysqlad ...

  4. 学习scala trait

      // 类接口,但是可以实现方法 // 作用 多重继承 trait traitA{ val tnum: Int def log(msg: String): Unit ={ println(" ...

  5. Trident中 FixedBatchSpout分析

    FixedBatchSpout 继承自 IBatchSpout IBatchSpout 方法 public interface IBatchSpout extends Serializable { v ...

  6. mysql 综合

    一.库操作 二.表操作 1.存储引擎介绍 show engines; 查看数据库支持的引擎 MySQL 使用 InnoDB 指定表类型/存储引擎 create table t1(id int)engi ...

  7. Angularjs实例4

    <!DOCTYPE html><html lang="zh-cn" ng-app=""><head><meta htt ...

  8. mac启动springboot失败,8080端口被占用,mac命令行关闭端口

    如下图,idea启动springboot失败,8080端口被占用 Error starting ApplicationContext. To display the conditions report ...

  9. maven pom 增加本地jar 依赖

    https://www.cnblogs.com/huhongy/p/7337280.html <dependency> <groupId>org.hamcrest</gr ...

  10. Asp.NET Core 在IIS部署 An assembly specified in the application dependencies manifest was not found

    今天在发布应用的时候,出来了一个报错:An assembly specified in the application dependencies manifest was not found 情况如下 ...