Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MariaDB [(none)]> show engine innodb status\G
- *************************** 1. row ***************************
- Type: InnoDB
- Name:
- Status:
- =====================================
- 2016-06-16 00:15:54 7f496a16b700 INNODB MONITOR OUTPUT
- =====================================
- Per second averages calculated from the last 31 seconds
- -----------------
- BACKGROUND THREAD
- -----------------
- srv_master_thread loops: 150 srv_active, 0 srv_shutdown, 259 srv_idle
- srv_master_thread log flush and writes: 409
- ----------
- SEMAPHORES
- ----------
- OS WAIT ARRAY INFO: reservation count 345
- --Thread 139951417046784 has waited at log0log.cc line 2317 for 2.0000 seconds the semaphore:
- S-lock on RW-latch at 0x7f496804ae58 '&log_sys->checkpoint_lock'
- a writer (thread id 139951417046784) has reserved it in mode exclusive
- number of readers 0, waiters flag 1, lock_word: 0
- Last time read locked in file log0log.cc line 2317
- Last time write locked in file /build/mariadb-10.0-oPbJVK/mariadb-10.0-10.0.23/storage/xtradb/log/log0log.cc line 2086
- --Thread 139951400261376 has waited at buf0flu.cc line 1850 for 1.0000 seconds the semaphore:
- Mutex at 0x7f495bf08de8 '&buf_pool->flush_state_mutex', lock var 1
- waiters flag 1
- OS WAIT ARRAY INFO: signal count 319
- Mutex spin waits 239, rounds 6188, OS waits 204
- RW-shared spins 125, rounds 3693, OS waits 122
- RW-excl spins 21, rounds 602, OS waits 6
- Spin rounds per wait: 25.89 mutex, 29.54 RW-shared, 28.67 RW-excl
- ------------
- TRANSACTIONS
- ------------
- Trx id counter 3758801
- Purge done for trx's n:o < 3758587 undo n:o < 0 state: running but idle
- History list length 628
- LIST OF TRANSACTIONS FOR EACH SESSION:
- ---TRANSACTION 3756724, not started
- MySQL thread id 42, OS thread handle 0x7f496a16b700, query id 83165 localhost root init
- show engine innodb status
- ---TRANSACTION 3755553, not started
- MySQL thread id 7, OS thread handle 0x7f496a1cd700, query id 75446 85.223.151.22 ulet_crm_user cleaning up
- ---TRANSACTION 3755551, not started
- MySQL thread id 6, OS thread handle 0x7f496a1fe700, query id 75439 85.223.151.22 ulet_crm_user cleaning up
- ---TRANSACTION 3755549, not started
- MySQL thread id 5, OS thread handle 0x7f496a22f700, query id 75413 85.223.151.22 ulet_crm_user cleaning up
- ---TRANSACTION 3758253, not started
- MySQL thread id 4, OS thread handle 0x7f496a260700, query id 75455 85.223.151.22 ulet_crm_user cleaning up
- ---TRANSACTION 3758767, not started
- MySQL thread id 3, OS thread handle 0x7f496a291700, query id 75632 85.223.151.22 ulet_crm_user cleaning up
- ---TRANSACTION 3758799, ACTIVE 3 sec starting index read
- mysql tables in use 1, locked 1
- LOCK WAIT 2 lock struct(s), heap size 360, 1 row lock(s)
- MySQL thread id 309, OS thread handle 0x7f4968836700, query id 78419 localhost uletpro updating
- DELETE FROM dl_commerce_ks2_semaphore
- WHERE (value = '15467693335761c586ebb7f6.24090997')
- Trx #rec lock waits 1 #table lock waits 0
- Trx total rec lock wait time 0 SEC
- Trx total table lock wait time 0 SEC
- ------- TRX HAS BEEN WAITING 3 SEC FOR THIS LOCK TO BE GRANTED:
- RECORD LOCKS space id 2752 page no 3 n bits 112 index "PRIMARY" of table "ulet7pro"."dl_commerce_ks2_semaphore" trx table locks 1 total table locks 3 trx id 3758799 lock_mode X waiting lock hold time 3 wait time before grant 0
- ------------------
- ---TRANSACTION 3758660, ACTIVE 36 sec starting index read
- mysql tables in use 1, locked 1
- LOCK WAIT 2 lock struct(s), heap size 360, 1 row lock(s)
- MySQL thread id 290, OS thread handle 0x7f496a13a700, query id 31390 localhost uletpro updating
- UPDATE dl_commerce_ks2_history SET timestamp='1466025318'
- WHERE ( (uid = '1') AND (nid = '54') )
- Trx #rec lock waits 1 #table lock waits 0
- Trx total rec lock wait time 0 SEC
- Trx total table lock wait time 0 SEC
- ------- TRX HAS BEEN WAITING 36 SEC FOR THIS LOCK TO BE GRANTED:
- RECORD LOCKS space id 2751 page no 3 n bits 352 index "PRIMARY" of table "ulet7pro"."dl_commerce_ks2_history" trx table locks 1 total table locks 2 trx id 3758660 lock_mode X locks rec but not gap waiting lock hold time 36 wait time before grant 0
- ------------------
- ---TRANSACTION 3758638, ACTIVE 42 sec fetching rows
- mysql tables in use 1, locked 1
- LOCK WAIT 12 lock struct(s), heap size 2936, 24 row lock(s), undo log entries 36
- MySQL thread id 287, OS thread handle 0x7f49675c2700, query id 22498 localhost uletpro updating
- DELETE FROM dl_commerce_ks2_semaphore
- WHERE (value = '836222875761c55fc29d35.43314915')
- Trx read view will not see trx with id >= 3758639, sees < 3758562
- Trx #rec lock waits 1 #table lock waits 0
- Trx total rec lock wait time 0 SEC
- Trx total table lock wait time 0 SEC
- ------- TRX HAS BEEN WAITING 42 SEC FOR THIS LOCK TO BE GRANTED:
- RECORD LOCKS space id 2752 page no 3 n bits 104 index "PRIMARY" of table "ulet7pro"."dl_commerce_ks2_semaphore" trx table locks 4 total table locks 3 trx id 3758638 lock_mode X waiting lock hold time 42 wait time before grant 0
- ------------------
- ---TRANSACTION 3758562, ACTIVE 52 sec
- 146 lock struct(s), heap size 30248, 4158 row lock(s), undo log entries 40262
- MySQL thread id 279, OS thread handle 0x7f496a19c700, query id 83164 localhost uletpro cleaning up
- Trx read view will not see trx with id >= 3758563, sees < 3758532
- Trx #rec lock waits 0 #table lock waits 0
- Trx total rec lock wait time 0 SEC
- Trx total table lock wait time 0 SEC
- --------
- FILE I/O
- --------
- I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
- I/O thread 1 state: complete io for log (log thread)
- I/O thread 2 state: waiting for completed aio requests (read thread)
- I/O thread 3 state: waiting for completed aio requests (read thread)
- I/O thread 4 state: waiting for completed aio requests (read thread)
- I/O thread 5 state: waiting for completed aio requests (read thread)
- I/O thread 6 state: waiting for completed aio requests (write thread)
- I/O thread 7 state: waiting for completed aio requests (write thread)
- I/O thread 8 state: complete io for buf page (write thread)
- I/O thread 9 state: waiting for completed aio requests (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: 1; buffer pool: 1
- 2371 OS file reads, 2448 OS file writes, 649 OS fsyncs
- 0.13 reads/s, 16384 avg bytes/read, 2.84 writes/s, 1.68 fsyncs/s
- -------------------------------------
- INSERT BUFFER AND ADAPTIVE HASH INDEX
- -------------------------------------
- Ibuf: size 1, free list len 98, seg size 100, 64 merges
- merged operations:
- insert 329, delete mark 2535, delete 1
- discarded operations:
- insert 0, delete mark 0, delete 0
- 2817.62 hash searches/s, 1709.30 non-hash searches/s
- ---
- LOG
- ---
- Log sequence number 5659004955
- Log flushed up to 5658859903
- Pages flushed up to 5646062688
- Last checkpoint at 5646048241
- Max checkpoint age 434154333
- Checkpoint age target 420587011
- Modified age 12942267
- Checkpoint age 12956714
- 0 pending log writes, 1 pending chkp writes
- 712 log i/o's done, 1.65 log i/o's/second
- ----------------------
- BUFFER POOL AND MEMORY
- ----------------------
- Total memory allocated 1373634560; in additional pool allocated 0
- Total memory allocated by read views 1248
- Internal hash tables (constant factor + variable factor)
- Adaptive hash index 22319248 (21250088 + 1069160)
- Page hash 664936 (buffer pool 0 only)
- Dictionary cache 6742113 (5314352 + 1427761)
- File system 1083592 (812272 + 271320)
- Lock system 3357192 (3321128 + 36064)
- Recovery system 0 (0 + 0)
- Dictionary memory allocated 1427761
- Buffer pool size 81918
- Buffer pool size, bytes 1342144512
- Free buffers 79026
- Database pages 2826
- Old database pages 1003
- Modified db pages 999
- Percent of dirty pages(LRU & free pages): 1.220
- Max dirty pages percent: 75.000
- Pending reads 0
- Pending writes: LRU 0, flush list 2, single page 0
- Pages made young 1, not young 0
- 0.03 youngs/s, 0.00 non-youngs/s
- Pages read 2208, created 618, written 1640
- 0.13 reads/s, 8.97 creates/s, 0.84 writes/s
- Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
- Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
- LRU len: 2826, unzip_LRU len: 0
- I/O sum[0]:cur[4], unzip sum[0]:cur[0]
- ----------------------
- INDIVIDUAL BUFFER POOL INFO
- ----------------------
- ---BUFFER POOL 0
- Buffer pool size 40959
- Buffer pool size, bytes 671072256
- Free buffers 39575
- Database pages 1351
- Old database pages 478
- Modified db pages 536
- Percent of dirty pages(LRU & free pages): 1.310
- Max dirty pages percent: 75.000
- Pending reads 0
- Pending writes: LRU 0, flush list 0, single page 0
- Pages made young 1, not young 0
- 0.03 youngs/s, 0.00 non-youngs/s
- Pages read 1035, created 316, written 970
- 0.03 reads/s, 4.39 creates/s, 0.39 writes/s
- Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
- Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
- LRU len: 1351, unzip_LRU len: 0
- I/O sum[0]:cur[2], unzip sum[0]:cur[0]
- ---BUFFER POOL 1
- Buffer pool size 40959
- Buffer pool size, bytes 671072256
- Free buffers 39451
- Database pages 1475
- Old database pages 525
- Modified db pages 463
- Percent of dirty pages(LRU & free pages): 1.131
- Max dirty pages percent: 75.000
- Pending reads 0
- Pending writes: LRU 0, flush list 2, single page 0
- Pages made young 0, not young 0
- 0.00 youngs/s, 0.00 non-youngs/s
- Pages read 1173, created 302, written 670
- 0.10 reads/s, 4.58 creates/s, 0.45 writes/s
- Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
- Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
- LRU len: 1475, unzip_LRU len: 0
- I/O sum[0]:cur[2], unzip sum[0]:cur[0]
- --------------
- ROW OPERATIONS
- --------------
- 0 queries inside InnoDB, 0 queries in queue
- 2 read views open inside InnoDB
- 4 RW transactions active inside InnoDB
- 0 RO transactions active inside InnoDB
- 4 out of 1000 descriptors used
- ---OLDEST VIEW---
- Normal read view
- Read view low limit trx n:o 3758563
- Read view up limit trx id 3758532
- Read view low limit trx id 3758563
- Read view individually stored trx ids:
- Read view trx id 3758532
- -----------------
- Main thread process no. 5625, id 139951417046784, state: sleeping
- Number of rows inserted 8309, updated 24378, deleted 8244, read 385399
- 130.77 inserts/s, 479.92 updates/s, 130.45 deletes/s, 2652.95 reads/s
- Number of system rows inserted 0, updated 0, deleted 0, read 0
- 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
- ----------------------------
- END OF INNODB MONITOR OUTPUT
- ============================
- 1 row in set (0.22 sec)
Advertisement
Add Comment
Please, Sign In to add comment