=====================================
-- :: 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的更多相关文章

  1. show engine innodb status\G

    mysql> show engine innodb status\G *************************** 1. row *************************** ...

  2. InnoDB Monitors | SHOW ENGINE INNODB STATUS

    参考 <mysql 5.7手册>,15.17章节 InnoDB监视器提供有关InnoDB内部状态的信息. 这些信息对于性能调优非常有用.其实所谓的监视器,就是 show engine in ...

  3. show engine innodb status 输出结果解读

    show engine innodb status 输出结果解读 基于MySQL 5.7.32 最近想整理一下show engine innodb status的解读,但是发现中文互联网上相关的信息要 ...

  4. mysql之show engine innodb status解读

    注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储引擎>的innodb status部分的个人理解,如果有错误,还望指正!!   innodb存 ...

  5. mysql之show engine innodb status解读(转)

    add by zhj: 我第一次知道这个命令是线上服务出了问题,然后同事用这个命令去查看死锁.但用这个命令看死锁有一定的局限性,它只能看到最后一次死锁, 而且只能看到死锁环中的两个事务所执行的最后一条 ...

  6. mysql:innodb monitor(show engine innodb status)探秘

    在旧的版本里面是show innodb status命令,新版本后改动了一些:show engine innodb status; 我们最熟悉的,应当就是show innodb status命令,可以 ...

  7. show engine innodb status 详解

    找个mysql客户端,执行show engine innodb status得到如下结果: 详细信息如下: ************************************** ======= ...

  8. show engine innodb status解读

    xiaoboluo768   注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储引擎>的innodb status部分的个人理解,如果有错误,还 ...

  9. (Sqlyog或Navicat不友好处)SHOW ENGINE INNODB STATUS 结果为空或结果为=====================================

    因为最近在学习innodb引擎,所以就在自己的sqlyog上执行上述命令: SHOW ENGINE INNODB STATUS 结果显示如下: 换了个客户端navicat,执行如下: 最后登录到服务器 ...

  10. show engine innodb status 详细介绍

    Contents Header1 SEMAPHORES. 1 LATEST DETECTED DEADLOCK. 3 TRANSACTIONS. 5 什么是purge操作... 5 FILE I/O. ...

随机推荐

  1. Card Stacking 队列模拟

    题目链接:https://ac.nowcoder.com/acm/contest/993/ABessie is playing a card game with her N-1 (2 <= N ...

  2. LeetCode160 相交链表(双指针)

    题目: click here!!题目传送门 思路: 1.笨方法 因为如果两个链表相交的话,从相交的地方往后是同一条链表,所以: 分别遍历两个链表,得出两个链表的长度,两个长度做差得到n,然后将长的链表 ...

  3. wamp修改端口localhost

    一.修改Apache端口 1.在界面中选Apache,弹出隐藏菜单选项,打开配置文件httpd.conf: 2.找到 Listen 80: ServerName localhost:80; 3.将 8 ...

  4. MongoDB 3.2 升级至 3.4.6

    MongoDB 升级测试步骤:1.MongoDB版本升级顺序3.2->3.4->3.6->4.0 不能跨版本升级2.升级到3.4后,您不能降级到3.2.7或更早版本.您只能降级到3. ...

  5. 指令——rm

    一个完整的指令的标准格式: Linux通用的格式——#指令主体(空格) [选项](空格) [操作对象] 一个指令可以包含多个选项,操作对象也可以是多个. 指令:rm (remove,移除.删除) 作用 ...

  6. 常见SQL语句杂谈(笔记)

    SQL语句(总结,完整的select语句) select distinct * from 表名 where ...group by ... having ...order by ... limit s ...

  7. Oracle IF-ELSE条件判断结构

    关于条件判断的几个函数: 一.IF-ELSE 判断语句1.IF 语法 IF 表达式 THEN ... END IF; 输入账号名 kiki 以登陆账号 declare v_name ):='& ...

  8. 067-PHP使用匿名函数

    <?php $func=function ($x,$y){ //匿名函数与变量绑定 return $x+$y; }; echo '5+6='.$func(5,6); //使用匿名函数 echo ...

  9. 一、VIP课程:互联网工程专题 05-快速掌握Jenkins原理与核心功能

    第五课:快速掌握jenkins核心功能.docx 2.164 (2019-02) and newer: Java 8 or Java 11 一.jenkins 概述与环境配置 知识点: 关于可持续化集 ...

  10. exctern C

    在C++中调用C语言 因为C++扩展了函数重载.编译时会将函数名修改,所以直接条用会出错. #ifdef __cplusplusextern "C" {#endif // __cp ...