innodb_index_stats
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的更多相关文章
- MySQL错误日志提示innodb_table_stats和innodb_index_stats不存在故障处理
查看MySQL error日志,发现有如下报错 7efbc586f700 InnoDB: Error: Table "mysql"."innodb_table_stats ...
- 基于MySQL MEB的备份恢复
MEB(MySQL Enterprise Backup)是MySQL商业版中提供的备份工具,属于物理备份. 同XtraBackup一样,mysqlbackup的使用过程同样包含如下三个步骤: 备份(- ...
- 如何在删除ibdata1和ib_logfile的情况下恢复MySQL数据库
昨天,有个朋友对公司内部使用的一个MySQL实例开启binlog,但是在启动的过程中失败了(他也没提,为何会失败),在启动失败后,他删除了ibdata1和ib_logfile,后来,能正常启动了,但所 ...
- 读书笔记--SQL必知必会--建立练习环境
书目信息 中文名:<SQL必知必会(第4版)> 英文名:<Sams Teach Yourself SQL in 10 Minutes - Fourth Edition> MyS ...
- MySQL PXC构建一个新节点只需IST传输的方法
需求场景:原有的pxc环境数据量已经比较大,新买的服务器要加入此集群中,如何让其用IST的方式传输,而不是SST. PXC传输数据有两种方式: IST: Incremental State Trans ...
- [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变成默认 ...
- 「转」xtrabackup新版详细说明
声明:本文由我的同事@fiona514编写,是我看过的最用心的中文说明介绍,强烈推荐大家学习使用. Percona Xtrabackup 2.4.1 编译及软件依赖 centos5,6 需要升级cma ...
- mysql performance_schema 和information_schema.tables了解
这个是关于mysql的系统表,性能表,核心表操作的一些介绍,深入算不上 我们一般很少去动 mysql information_schema 信息相关 performance_schema 性能相关 ...
- 怎么计算一个具体InnoDB的索引大小
一般情况下,我们看表信息可以用这个命令show table status: mysql> show table status like 't'\G . row ***************** ...
随机推荐
- Uva 11600 期望DP
题意:n个城市,相互可达(有n(n-1)/2条边),其中有一些道路上面有妖怪,现在,从1号城市出发,随机挑取一个城市走去,这个道路上的妖怪就会被消灭,求: 在平均情况下,需要走多少步,使得任意两个城市 ...
- Spring Boot 配置文件详解:Properties和YAML
一.配置文件的生效顺序,会对值进行覆盖: 1. @TestPropertySource 注解 2. 命令行参数 3. Java系统属性(System.getProperties()) 4. 操作系统环 ...
- Ubuntu14.04系统下无法连接Wi-Fi无线网以及安装BCM43142网卡驱动的解决方案
1.问题描述 博主近日开始学习ROS,首先必装Linux操作系统,选择的是Ubuntu14.04,安装过程略过,直接讲问题.安装完系统之后发现一个重要问题,没法使用Wi-Fi,只能使用有线网络,而且网 ...
- 外部的 JavaScript
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content=&q ...
- svg了解一下
工作需求,要用svg动态生成思维导图.我的天,这是我的短板. 但是没办法,需求在这,硬着头皮上吧. 本来想偷懒,看看网上有没有现成的可以copy的,逛了一圈发现没有. 这个过程种发现了D3.Three ...
- 19.springboot邮件服务服务器部署访问不到邮箱服务器解决方案
1.前言 在Springboot项目的生产环境中,win系统环境下,邮箱服务是可以正常使用的. 当项目部署到阿里云服务器上之后,因为服务器端口采用安全组的方式,25端口访问不到. 在网上查找了一部分资 ...
- 7.Vue-Quill-Editor图片插入自定义
Vue-Quill-Editor图片插入自定义 前言: 因为在项目中前端采用了Vue来实现,正好用到了富文本编辑器这一块,于是,经过技术上的选择,决定使用Vue-Quill-Editor. 使用的过程 ...
- iOS 从0到1搭建高可用App框架
iOS 从0到1搭建高可用App框架 最近在搭建新项目的iOS框架,一直在思考如何才能搭建出高可用App框架,能否避免后期因为代码质量问题的重构.以前接手过许多“烂代码”,架构松散,底层混乱,缺少规范 ...
- 纯 HTML5 APP与原生APP的差距在哪?
纯 HTML5 APP与原生APP的差距在哪? 写过一些纯H5的APP,虽然开发起来的确很快很舒服,但和原生比起来纯H5APP还是有很多问题,主要聚集在以下几个方面: 1.动画 动画有很多种,比如侧边 ...
- HDFS学习总结
1.什么是Hadoop 管理网络中跨多台计算机存储的文件系统称为分布式文件系统面临的挑战:使文件系统能容忍节点故障且不丢失任何数据不适合的特点:低时间延迟的数据访问&大量的小文件&多用 ...