1*************************** 1. row *************************** 2 Type: InnoDB 3 Name: 4Status: 5===================================== 6120118 13:23:16 INNODB MONITOR OUTPUT 7===================================== 8Per second averages calculated from the last 39 seconds 9----------------- 10BACKGROUND THREAD 11----------------- 12srv_master_thread loops: 115984 1_second, 115983 sleeps, 11253 10_second, 7921 background, 7921 flush 13srv_master_thread log flush and writes: 118163 14---------- 15SEMAPHORES 16---------- 17OS WAIT ARRAY INFO: reservation count 24103, signal count 25061 18Mutex spin waits 50177, rounds 436385, OS waits 4143 19RW-shared spins 17481, rounds 505350, OS waits 16775 20RW-excl spins 259, rounds 93826, OS waits 3039 21Spin rounds per wait: 8.70 mutex, 28.91 RW-shared, 362.26 RW-excl 22------------------------ 23LATEST DETECTED DEADLOCK 24------------------------ 25111226 14:48:08 26*** (1) TRANSACTION: 27TRANSACTION 6FE138, ACTIVE 0 sec inserting 28mysql tables in use 1, locked 1 29LOCK WAIT 4 lock struct(s), heap size 1248, 3 row lock(s) 30MySQL thread id 424565, OS thread handle 0x40e13940, query id 446715 <anonymized> 31INSERT INTO cache_menu <anonymized> 32*** (1) WAITING FOR THIS LOCK TO BE GRANTED: 33RECORD LOCKS space id 7169 page no 14 n bits 80 index "PRIMARY" of table "<anonymized>"."cache_menu" trx id 6FE138 lock_mode X insert intention waiting 34Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0 35 0: len 8; hex 73757072656d756d; asc supremum;; 36 37*** (2) TRANSACTION: 38TRANSACTION 6FE12E, ACTIVE 0 sec inserting 39mysql tables in use 1, locked 1 404 lock struct(s), heap size 1248, 3 row lock(s) 41MySQL thread id 424568, OS thread handle 0x40e57940, query id 446716 <anonymized> 42INSERT INTO cache_menu <anonymized> 43*** (2) HOLDS THE LOCK(S): 44RECORD LOCKS space id 7169 page no 14 n bits 80 index "PRIMARY" of table "<anonymized>"."cache_menu" trx id 6FE12E lock_mode X 45Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0 46 0: len 8; hex 73757072656d756d; asc supremum;; 47 48*** (2) WAITING FOR THIS LOCK TO BE GRANTED: 49RECORD LOCKS space id 7169 page no 14 n bits 80 index "PRIMARY" of table "<anonymized>"."cache_menu" trx id 6FE12E lock_mode X insert intention waiting 50Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0 51 0: len 8; hex 73757072656d756d; asc supremum;; 52 53*** WE ROLL BACK TRANSACTION (2) 54------------ 55TRANSACTIONS 56------------ 57Trx id counter 9BB413 58Purge done for trx's n:o < 9BB412 undo n:o < 0 59History list length 1001 60LIST OF TRANSACTIONS FOR EACH SESSION: 61---TRANSACTION 0, not started 62MySQL thread id 2724342, OS thread handle 0x4996d940, query id 131346550 localhost root 63SHOW ENGINE INNODB STATUS 64---TRANSACTION 0, not started 65MySQL thread id 2724315, OS thread handle 0x40e13940, query id 131346524 localhost root 66-------- 67FILE I/O 68-------- 69I/O thread 0 state: waiting for i/o request (insert buffer thread) 70I/O thread 1 state: waiting for i/o request (log thread) 71I/O thread 2 state: waiting for i/o request (read thread) 72I/O thread 3 state: waiting for i/o request (read thread) 73I/O thread 4 state: waiting for i/o request (read thread) 74I/O thread 5 state: waiting for i/o request (read thread) 75I/O thread 6 state: waiting for i/o request (write thread) 76I/O thread 7 state: waiting for i/o request (write thread) 77I/O thread 8 state: waiting for i/o request (write thread) 78I/O thread 9 state: waiting for i/o request (write thread) 79Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] , 80 ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0 81Pending flushes (fsync) log: 0; buffer pool: 0 8221645 OS file reads, 3808477 OS file writes, 2998804 OS fsyncs 830.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s 84------------------------------------- 85INSERT BUFFER AND ADAPTIVE HASH INDEX 86------------------------------------- 87Ibuf: size 1, free list len 18, seg size 20, 477 merges 88merged operations: 89 insert 97, delete mark 8225, delete 913 90discarded operations: 91 insert 0, delete mark 0, delete 0 92Hash table size 796937, node heap has 1764 buffer(s) 930.00 hash searches/s, 0.00 non-hash searches/s 94--- 95LOG 96--- 97Log sequence number 10105955776 98Log flushed up to 10105955776 99Last checkpoint at 10105955776 1000 pending log writes, 0 pending chkp writes 1012702576 log i/o's done, 0.00 log i/o's/second 102---------------------- 103BUFFER POOL AND MEMORY 104---------------------- 105Total memory allocated 412090368; in additional pool allocated 0 106Dictionary memory allocated 11180352 107Buffer pool size 24575 108Free buffers 8 109Database pages 22803 110Old database pages 8397 111Modified db pages 0 112Pending reads 0 113Pending writes: LRU 0, flush list 0, single page 0 114Pages made young 49712, not young 0 1150.00 youngs/s, 0.00 non-youngs/s 116Pages read 21483, created 97048, written 2192576 1170.00 reads/s, 0.00 creates/s, 0.00 writes/s 118No buffer pool page gets since the last printout 119Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s 120LRU len: 22803, unzip_LRU len: 0 121I/O sum[0]:cur[0], unzip sum[0]:cur[0] 122-------------- 123ROW OPERATIONS 124-------------- 1250 queries inside InnoDB, 0 queries in queue 1261 read views open inside InnoDB 127Main thread process no. 4958, id 1201822016, state: waiting for server activity 128Number of rows inserted 2719476, updated 1504406, deleted 877686, read 170171101 1290.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s 130---------------------------- 131END OF INNODB MONITOR OUTPUT 132============================ 133 134