MySQL--SHOW ENGINE INNODB STATUS
=====================================
-- :: 0x7f305b965700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: srv_active, srv_shutdown, srv_idle
srv_master_thread log flush and writes:
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count
--Thread has waited at buf0buf.cc line for 0.00 seconds the semaphore:
Mutex at 0x3cc9ce8, Mutex BUF_POOL created buf0buf.cc:, lock var --Thread has waited at buf0buf.cc line for 0.00 seconds the semaphore:
Mutex at 0x3cc9ce8, Mutex BUF_POOL created buf0buf.cc:, lock var --Thread has waited at buf0buf.cc line for 0.00 seconds the semaphore:
Mutex at 0x3cc9ce8, Mutex BUF_POOL created buf0buf.cc:, lock var --Thread has waited at buf0flu.cc line for 0.00 seconds the semaphore:
Mutex at 0x3cc9ce8, Mutex BUF_POOL created buf0buf.cc:, lock var OS WAIT ARRAY INFO: signal count
RW-shared spins , rounds , OS waits
RW-excl spins , rounds , OS waits
RW-sx spins , rounds , OS waits
Spin rounds per wait: 2190803016.00 RW-shared, 4078639377.00 RW-excl, 18.78 RW-sx
------------------------
LATEST DETECTED DEADLOCK
------------------------
-- :: 0x7f3059d36700
*** () TRANSACTION:
TRANSACTION , ACTIVE sec starting index read
mysql tables in use , locked
LOCK WAIT lock struct(s), heap size , row lock(s)
MySQL thread id , OS thread handle , query id 10.50.12.12 root updating
update tbl_ec_document set ISSUED=,ISSUE_ERR_MSG='Error on line -1: Premature end of file.' where FPQQLSH='1t8gN9RLxTQT1AD4kQcX'
*** () WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id page no n bits index PRIMARY of table `SAJT_DZFP_PT`.`tbl_ec_document` trx id lock_mode X locks rec but not gap waiting
Record lock, heap no PHYSICAL RECORD: n_fields ; compact format; info bits
: len ; hex 317438674e39524c78545154314144346b516358; asc 1t8gN9RLxTQT1AD4kQcX;;
: len ; hex 000002404efb; asc @N ;;
: len ; hex 4000004aa8272b; asc @ J '+;;
: len ; hex ; asc s;;
: len ; hex 323031372d30382d30322031333a30303a3030; asc -- ::;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 4572726f72206f6e206c696e65202d313a205072656d617475726520656e; asc Error on line -: Premature en; (total bytes);
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex 31322e30; asc 12.0;;
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: len ; hex e4b88ae6b5b7e5b882e99d99e5ae89e58cbae58c97e4baace8a5bfe8b7af; asc ; (total bytes);
: len ; hex ; asc ;;
: len ; hex e5b7a5e8a18ce4b88ae6b5b7e5b882e99d99e5ae89e5afbae694afe8a18c; asc ; (total bytes);
: len ; hex e5a48de697a6e5a4a7e5ada6e99984e5b19ee98791e5b1b1e58cbbe999a2; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 313532313131373030313640667564616e2e6564752e636e; asc @fudan.edu.cn;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex e9bb84e788b1e58d8e; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex e694afe4bb98e5ae9d; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 3133315130364e4f; asc 131Q06NO;;
: len ; hex 999d44de68; asc D h;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc 3f7385874fdf4cbb8550dfe0e38e7b; (total bytes);
: len ; hex 5348484c5848; asc SHHLXH;;
: len ; hex ; asc SH;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL; *** () TRANSACTION:
TRANSACTION , ACTIVE sec starting index read
mysql tables in use , locked
lock struct(s), heap size , row lock(s)
MySQL thread id , OS thread handle , query id 10.50.12.12 root updating
update tbl_ec_document set ISSUED=,ISSUE_ERR_MSG='Error on line -1: Premature end of file.' where FPQQLSH='1t8gN9RLxTQT1AD4kQcX'
*** () HOLDS THE LOCK(S):
RECORD LOCKS space id page no n bits index PRIMARY of table `SAJT_DZFP_PT`.`tbl_ec_document` trx id lock mode S locks rec but not gap
Record lock, heap no PHYSICAL RECORD: n_fields ; compact format; info bits
: len ; hex 317438674e39524c78545154314144346b516358; asc 1t8gN9RLxTQT1AD4kQcX;;
: len ; hex 000002404efb; asc @N ;;
: len ; hex 4000004aa8272b; asc @ J '+;;
: len ; hex ; asc s;;
: len ; hex 323031372d30382d30322031333a30303a3030; asc -- ::;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 4572726f72206f6e206c696e65202d313a205072656d617475726520656e; asc Error on line -: Premature en; (total bytes);
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex 31322e30; asc 12.0;;
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: len ; hex e4b88ae6b5b7e5b882e99d99e5ae89e58cbae58c97e4baace8a5bfe8b7af; asc ; (total bytes);
: len ; hex ; asc ;;
: len ; hex e5b7a5e8a18ce4b88ae6b5b7e5b882e99d99e5ae89e5afbae694afe8a18c; asc ; (total bytes);
: len ; hex e5a48de697a6e5a4a7e5ada6e99984e5b19ee98791e5b1b1e58cbbe999a2; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 313532313131373030313640667564616e2e6564752e636e; asc @fudan.edu.cn;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex e9bb84e788b1e58d8e; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex e694afe4bb98e5ae9d; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 3133315130364e4f; asc 131Q06NO;;
: len ; hex 999d44de68; asc D h;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc 3f7385874fdf4cbb8550dfe0e38e7b; (total bytes);
: len ; hex 5348484c5848; asc SHHLXH;;
: len ; hex ; asc SH;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL; *** () WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id page no n bits index PRIMARY of table `SAJT_DZFP_PT`.`tbl_ec_document` trx id lock_mode X locks rec but not gap waiting
Record lock, heap no PHYSICAL RECORD: n_fields ; compact format; info bits
: len ; hex 317438674e39524c78545154314144346b516358; asc 1t8gN9RLxTQT1AD4kQcX;;
: len ; hex 000002404efb; asc @N ;;
: len ; hex 4000004aa8272b; asc @ J '+;;
: len ; hex ; asc s;;
: len ; hex 323031372d30382d30322031333a30303a3030; asc -- ::;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 4572726f72206f6e206c696e65202d313a205072656d617475726520656e; asc Error on line -: Premature en; (total bytes);
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex 31322e30; asc 12.0;;
: len ; hex ; asc 51310000501771313R;;
: len ; hex e4b88ae6b5b7e5b882e68aa4e79086e5ada6e4bc9a; asc ;;
: len ; hex e4b88ae6b5b7e5b882e99d99e5ae89e58cbae58c97e4baace8a5bfe8b7af; asc ; (total bytes);
: len ; hex ; asc ;;
: len ; hex e5b7a5e8a18ce4b88ae6b5b7e5b882e99d99e5ae89e5afbae694afe8a18c; asc ; (total bytes);
: len ; hex e5a48de697a6e5a4a7e5ada6e99984e5b19ee98791e5b1b1e58cbbe999a2; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 313532313131373030313640667564616e2e6564752e636e; asc @fudan.edu.cn;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex e9bb84e788b1e58d8e; asc ;;
: SQL NULL;
: SQL NULL;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: SQL NULL;
: len ; hex e694afe4bb98e5ae9d; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex 3133315130364e4f; asc 131Q06NO;;
: len ; hex 999d44de68; asc D h;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc 3f7385874fdf4cbb8550dfe0e38e7b; (total bytes);
: len ; hex 5348484c5848; asc SHHLXH;;
: len ; hex ; asc SH;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: len ; hex ; asc ;;
: SQL NULL;
: SQL NULL; *** WE ROLL BACK TRANSACTION ()
------------
TRANSACTIONS
------------
Trx id counter
Purge done for trx's n:o < 41115613 undo n:o < 0 state: running but idle
History list length
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
---TRANSACTION , not started
lock struct(s), heap size , row lock(s)
--------
FILE I/O //IO Thread
//params: innodb_read_io_threads, innodb_write_io_threads
--------
I/O thread state: waiting for completed aio requests (insert buffer thread)
I/O thread state: waiting for completed aio requests (log thread)
I/O thread state: waiting for completed aio requests (read thread)
I/O thread state: waiting for completed aio requests (read thread)
I/O thread state: waiting for completed aio requests (read thread)
I/O thread state: waiting for completed aio requests (read thread)
I/O thread state: waiting for completed aio requests (write thread)
I/O thread state: waiting for completed aio requests (write thread)
I/O thread state: waiting for completed aio requests (write thread)
I/O thread state: complete io for buf page (write thread)
Pending normal aio reads: [, , , ] , aio writes: [, , , ] ,
ibuf aio reads:, log i/o's:, sync i/o's:
Pending flushes (fsync) log: ; buffer pool:
OS file reads, OS file writes, OS fsyncs
20542.79 reads/s, avg bytes/read, 26.02 writes/s, 10.93 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size , //已经合并记录页的数量
free list len , //空闲列表长度
seg size , //当前 Insert Buffer 的大小为 241 * 16K
merges //合并次数
/*
insert 表示 Insert Buffer
delete mark 表示 Delete Buffer
delete 表示 Purge Buffer
discarded operaations 表示当 Change Buffer 发生 merge 时,表已经被删除,此时就无需再将记录合并到辅助索引中了
*/
merged operations:
insert , delete mark , delete
discarded operations:
insert , delete mark , delete
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
Hash table size , node heap has buffer(s)
140.36 hash searches/s, 69.93 non-hash searches/s //自适应哈希索引 AHI
---
LOG //checkpoint 技术,重做日志
---
Log sequence number
Log flushed up to
Pages flushed up to
Last checkpoint at
pending log flushes, pending chkp writes
log i/o's done, 4.68 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated
Dictionary memory allocated
Buffer pool size 8191 //当前 buffer pool size 共有 8191个页,即 8191 * 16k = 约 128 M 的缓冲池
Free buffers 5 //当前 Free 列表中页的数量
Database pages 8174 //LRU 列表中的数量
// Buffer pool size = Free buffers + Database pages + (自适应哈希索引,Lock信息,Insert Buffer 等等)
Old database pages
Modified db pages
Pending reads
Pending writes: LRU , flush list , single page
Pages made young , //LRU 列表中页移动到前端的次数
not young 312454897572 //因 innodb_old_blocks_time 的设置而导致页没有从 old 部分移动到 new 部分的页
6.88 youngs/s, 79196.46 non-youngs/s
Pages read , created , written
20542.86 reads/s, 0.56 creates/s, 19.66 writes/s
Buffer pool hit rate / , //缓冲池命中率
young-making rate / not /
Pages read ahead 182.65/s, evicted without access 77.27/s, Random read ahead 0.00/s
LRU len: , unzip_LRU len: 0 //LRU 列表中一共有 8174 个页,而 unzip_LRU 列表中有 0 个页,LRU 中的页包含了 unzip_LRU 列表中的页
I/O sum[]:cur[], unzip sum[]:cur[]
--------------
ROW OPERATIONS
--------------
queries inside InnoDB, queries in queue
read views open inside InnoDB
Process ID=, Main thread ID=, state: sleeping
Number of rows inserted , updated , deleted , read
3.59 inserts/s, 1.41 updates/s, 0.02 deletes/s, 465657.94 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
MySQL--SHOW ENGINE INNODB STATUS的更多相关文章
- show engine innodb status\G
mysql> show engine innodb status\G *************************** 1. row *************************** ...
- InnoDB Monitors | SHOW ENGINE INNODB STATUS
参考 <mysql 5.7手册>,15.17章节 InnoDB监视器提供有关InnoDB内部状态的信息. 这些信息对于性能调优非常有用.其实所谓的监视器,就是 show engine in ...
- show engine innodb status 输出结果解读
show engine innodb status 输出结果解读 基于MySQL 5.7.32 最近想整理一下show engine innodb status的解读,但是发现中文互联网上相关的信息要 ...
- mysql之show engine innodb status解读
注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储引擎>的innodb status部分的个人理解,如果有错误,还望指正!! innodb存 ...
- mysql之show engine innodb status解读(转)
add by zhj: 我第一次知道这个命令是线上服务出了问题,然后同事用这个命令去查看死锁.但用这个命令看死锁有一定的局限性,它只能看到最后一次死锁, 而且只能看到死锁环中的两个事务所执行的最后一条 ...
- mysql:innodb monitor(show engine innodb status)探秘
在旧的版本里面是show innodb status命令,新版本后改动了一些:show engine innodb status; 我们最熟悉的,应当就是show innodb status命令,可以 ...
- show engine innodb status 详解
找个mysql客户端,执行show engine innodb status得到如下结果: 详细信息如下: ************************************** ======= ...
- show engine innodb status解读
xiaoboluo768 注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储引擎>的innodb status部分的个人理解,如果有错误,还 ...
- (Sqlyog或Navicat不友好处)SHOW ENGINE INNODB STATUS 结果为空或结果为=====================================
因为最近在学习innodb引擎,所以就在自己的sqlyog上执行上述命令: SHOW ENGINE INNODB STATUS 结果显示如下: 换了个客户端navicat,执行如下: 最后登录到服务器 ...
- show engine innodb status 详细介绍
Contents Header1 SEMAPHORES. 1 LATEST DETECTED DEADLOCK. 3 TRANSACTIONS. 5 什么是purge操作... 5 FILE I/O. ...
随机推荐
- Gym - 101190F Foreign Postcards (期望dp)
题意:有n张标有“C”或“F”的卡片. 1.随机取前k张(1<=k<=n) 2.若这k张的第一张为“C”,则不翻转,否则,全部翻转这k张. 3.然后处理剩下的n-k张 4.重复步骤1~3直 ...
- 干干净净的grep
用grep -rn "xxxx" ./ 搜索. 有时候出现大量的 错误信息 主要有 1.Is a directory 2.no such file or directory 前 ...
- JS - 获取数组中的最后1个
arr = [1,2,3,4,5] console.log(arr[arr.length-1]) //输出的为5,即最后一个
- 图片字节流生成bmp文件
1 BITMAPFILEHEADER bfh;//文件头 2 bfh.bfType=0x4d42; bfh.bfOffBits=sizeof(bfh)+sizeof(BITMAPINFOHEADER) ...
- spring的一些annotation
通过使用spring的注解可以把一些类通过spring容器管理这些类 @controller 控制器(注入服务) @service 服务(注入dao) @repository dao(实现dao访问) ...
- tensorflow学习笔记--dataset使用,创建自己的数据集
数据读入需求 我们在训练模型参数时想要从训练数据集中一次取出一小批数据(比如50条.100条)做梯度下降,不断地分批取出数据直到损失函数基本不再减小并且在训练集上的正确率足够高,取出的n条数据还要是预 ...
- ES6 map()遍历、filter()筛选 的简单使用
map(): map和forEach等遍历方法不同,在forEach中return语句是没有任何效果的,而map则可以改变当前循环的值,返回一个新的被改变过值之后的数组(map需return),一般用 ...
- 一、JavaScript之第一个实例,点击按钮修改文本内容
一.代码如下: 二.运行后效果如下 三.点击按钮,"曾经沧海难为水"变成了日期事件了 <!DOCTYPE html> <html> <meta htt ...
- 151-PHP nl2br函数(二)
<?php $str="h\nt\nm\nl"; //定义一个多处换行的字串 echo "未处理前的输出形式:<br />{$str}"; $ ...
- spring boot配置druid连接池连接mysql
Spring Boot 集成教程 Spring Boot 介绍 Spring Boot 开发环境搭建(Eclipse) Spring Boot Hello World (restful接口)例子 sp ...