show engine innodb status\G
mysql> show engine innodb status\G
*************************** 1. row ***************************
Type: InnoDB
Name:
Status:
=====================================
131226 17:12:38 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 55 seconds ----过去55秒数据库的状态
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 372007 1_second, 372007 sleeps, 36255 10_second, 10646 background, 10646 flush ----可反映数据库的压力情况
srv_master_thread log flush and writes: 373344
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 9135562, signal count 21215755
Mutex spin waits 520177934, rounds 2648194228, OS waits 5360746
RW-shared spins 33278462, rounds 135599856, OS waits 1460221
RW-excl spins 1200397, rounds 36578622, OS waits 370830
Spin rounds per wait: 5.09 mutex, 4.07 RW-shared, 30.47 RW-excl
------------
TRANSACTIONS
------------
Trx id counter 2193C7F93
Purge done for trx's n:o < 2193C7F82 undo n:o < 0
History list length 1640
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 998695, query id 2141628314 127.0.0.1 root
show engine innodb status
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread) ----可以看到10个IO线程,分别是insert buffer thread、
I/O thread 1 state: waiting for i/o request (log thread) log thread、read thread、write thread
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (read thread)
I/O thread 4 state: waiting for i/o request (read thread)
I/O thread 5 state: waiting for i/o request (read thread)
I/O thread 6 state: waiting for i/o request (write thread)
I/O thread 7 state: waiting for i/o request (write thread)
I/O thread 8 state: waiting for i/o request (write thread)
I/O thread 9 state: waiting for i/o request (write thread)
Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
47691 OS file reads, 29911059 OS file writes, 23777623 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 4782, seg size 4784, 14474 merges ----seg size 4784表示当前插入缓冲的大小为4784*16K=75MB free list len 表示空闲列表的长度
merged operations: size表示已经合并记录页的数量
insert 11381, delete mark 784750, delete 14238 insert表示插入的记录数
discarded operations:
insert 0, delete mark 0, delete 0
Hash table size 42499631, node heap has 20599 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 19152346341 --表示当前的LSN
Log flushed up to 19152346341 --表示刷新到重做日志文件的LSN
Last checkpoint at 19152346341 --表示刷新到磁盘的LSN
0 pending log writes, 0 pending chkp writes
23272508 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY ----这下面的信息可以看到InnoDB存储引擎缓冲池的使用情况
----------------------
Total memory allocated 21978152960; in additional pool allocated 0
Dictionary memory allocated 532520
Buffer pool size 1310719 ----表示一共有1310719个缓冲帧,每个buffer frame为16K,即:1310719*16K/1024=20G
Free buffers 1070650 ----表示剩余空间的缓冲帧
Database pages 219470 ----表示已经使用的缓冲帧
Old database pages 80995
Modified db pages 0 ----表示脏页的数量
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 40256, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 48595, created 170875, written 10931522
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s
LRU len: 219470, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread process no. 9823, id 140584323032832, state: waiting for server activity
Number of rows inserted 7012357, updated 9253488, deleted 2913883, read 214512661409
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
show engine innodb status\G的更多相关文章
- 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存 ...
- show engine innodb status 详解
找个mysql客户端,执行show engine innodb status得到如下结果: 详细信息如下: ************************************** ======= ...
- show engine innodb status解读
xiaoboluo768 注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储引擎>的innodb status部分的个人理解,如果有错误,还 ...
- mysql之show engine innodb status解读(转)
add by zhj: 我第一次知道这个命令是线上服务出了问题,然后同事用这个命令去查看死锁.但用这个命令看死锁有一定的局限性,它只能看到最后一次死锁, 而且只能看到死锁环中的两个事务所执行的最后一条 ...
- 0804SHOW ENGINE INNODB STATUS
转自http://blog.csdn.net/github_26672553/article/details/52931263 innodb存储引擎在show engine innodb status ...
- 0719show engine innodb status解读
转自 http://www.cnblogs.com/zengkefu/p/5678100.html 注:以下内容为根据<高性能mysql第三版>和<mysql技术内幕innodb存储 ...
- mysql:innodb monitor(show engine innodb status)探秘
在旧的版本里面是show innodb status命令,新版本后改动了一些:show engine innodb status; 我们最熟悉的,应当就是show innodb status命令,可以 ...
随机推荐
- Ngnix 安装、信号量、虚拟主机配置
ngnix的安装很简单 1.先从ngnix官网下载ngnix压缩包 wget http://nginx.org/download/nginx-1.6.2.tar.gz 2.解压并进入其目录 tar - ...
- Java Script基础(九) 下拉列表对象
Select下拉列表 属性: options[]:返回包含下拉列表中的所有选项的一个数组. selectedIndex:设置返回下拉列表中被选项目的索引号. length:返回下拉列表框中选项的数目. ...
- linux_memcached_memcachedb
三个区别 当你听到memcache与memcached时把它当做是一个东东就好了,尽管它们存在区别,但是这并不影响你对它们的运用及理解. “Memcache”它是一个自由和开放源代码.高性能.分配的内 ...
- Providers、Controller 、Service、DirectiveFactory
Providers 是唯一一种你可以传进 .config() 函数的 service.当你想要在 service 对象启用之前,先进行模块范围的配置,那就应该用 provider Controller ...
- [转]div 让文字或图片居中
本文转自:http://qsfwy.iteye.com/blog/250206 在div 中让 文字或图片居中,请参考以下代码1: - - - - - - - - - - - - - - - - - ...
- codeforces 579D D. "Or" Game(前后缀+贪心)
题目链接: D. "Or" Game time limit per test 2 seconds memory limit per test 256 megabytes input ...
- poj 2498 动态规划
思路:简单动态规划 #include<map> #include<set> #include<cmath> #include<queue> #inclu ...
- Linux勉強
block 與 inode 的總量: 未使用與已使用的 inode / block 數量: block 與 inode 的大小 (block 為 1, 2, 4K,inode 為 128 by ...
- js打印Iframe中的内容,并且不需要预览。
js打印Iframe中的内容,并且不需要预览 js代码如下: <script type="text/javascript" language="Javascript ...
- Ubuntu 16.04 - python3 安装mysql驱动
阿西吧,今天碰到一件特别蛋疼的事,给Ubuntu安装Python的MySQL驱动,驱动显示安装成功了 pip install mysql-connector 但是 在程序中导入,老是报错. Trace ...