1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
| | InnoDB | | ===================================== 2020-09-18 13:47:30 0x7f3e75752700 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 33 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 309525 srv_active, 0 srv_shutdown, 538473 srv_idle srv_master_thread log flush and writes: 0 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 444709 OS WAIT ARRAY INFO: signal count 1050283 RW-shared spins 3242974, rounds 3281034, OS waits 45284 RW-excl spins 287322, rounds 5030091, OS waits 38307 RW-sx spins 5729, rounds 49635, OS waits 440 Spin rounds per wait: 1.01 RW-shared, 17.51 RW-excl, 8.66 RW-sx ------------------------ LATEST DETECTED DEADLOCK ------------------------ 2020-09-14 09:34:29 0x7f3fc24fd700 *** (1) TRANSACTION: TRANSACTION 57745114, ACTIVE 2 sec starting index read mysql tables in use 1, locked 1 LOCK WAIT 3 lock struct(s), heap size 1136, 2 row lock(s) MySQL thread id 35863, OS thread handle 139910653540096, query id 410554489 convtest.clear-sz.com 192.168.35.180 root updating UPDATE xxl_job_registry SET `update_time` = '2020-09-14 09:34:27.004' WHERE `registry_group` = 'EXECUTOR' AND `registry_key` = 'pay-notify-executor' AND `registry_value` = 'http://192.168.35.192:9999/'
*** (1) HOLDS THE LOCK(S): RECORD LOCKS space id 2315 page no 5 n bits 72 index i_g_k_v of table `xxl_job`.`xxl_job_registry` trx id 57745114 lock_mode X Record lock, heap no 3 PHYSICAL RECORD: n_fields 4; compact format; info bits 0 0: len 8; hex 4558454355544f52; asc EXECUTOR;; 1: len 19; hex 7061792d6e6f746966792d6578656375746f72; asc pay-notify-executor;; 2: len 27; hex 687474703a2f2f3139322e3136382e33352e3139323a393939392f; asc http://192.168.35.192:9999/;; 3: len 4; hex 8000012c; asc ,;;
*** (1) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 2315 page no 4 n bits 72 index PRIMARY of table `xxl_job`.`xxl_job_registry` trx id 57745114 lock_mode X locks rec but not gap waiting Record lock, heap no 3 PHYSICAL RECORD: n_fields 7; compact format; info bits 32 0: len 4; hex 8000012c; asc ,;; 1: len 6; hex 000003711ed4; asc q ;; 2: len 7; hex 02000000e40d24; asc $;; 3: len 8; hex 4558454355544f52; asc EXECUTOR;; 4: len 19; hex 7061792d6e6f746966792d6578656375746f72; asc pay-notify-executor;; 5: len 27; hex 687474703a2f2f3139322e3136382e33352e3139323a393939392f; asc http://192.168.35.192:9999/;; 6: len 5; hex 99a75c9876; asc \ v;;
*** (2) TRANSACTION: TRANSACTION 57745108, ACTIVE 40 sec updating or deleting mysql tables in use 1, locked 1 LOCK WAIT 5 lock struct(s), heap size 1136, 4 row lock(s), undo log entries 2 MySQL thread id 35850, OS thread handle 139910826317568, query id 410505224 convtest.clear-sz.com 192.168.35.180 root updating DELETE FROM xxl_job_registry WHERE id in ( 299 , 300 , 301 )
*** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 2315 page no 4 n bits 72 index PRIMARY of table `xxl_job`.`xxl_job_registry` trx id 57745108 lock_mode X locks rec but not gap Record lock, heap no 3 PHYSICAL RECORD: n_fields 7; compact format; info bits 32 0: len 4; hex 8000012c; asc ,;; 1: len 6; hex 000003711ed4; asc q ;; 2: len 7; hex 02000000e40d24; asc $;; 3: len 8; hex 4558454355544f52; asc EXECUTOR;; 4: len 19; hex 7061792d6e6f746966792d6578656375746f72; asc pay-notify-executor;; 5: len 27; hex 687474703a2f2f3139322e3136382e33352e3139323a393939392f; asc http://192.168.35.192:9999/;; 6: len 5; hex 99a75c9876; asc \ v;;
*** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 2315 page no 5 n bits 72 index i_g_k_v of table `xxl_job`.`xxl_job_registry` trx id 57745108 lock_mode X locks rec but not gap waiting Record lock, heap no 3 PHYSICAL RECORD: n_fields 4; compact format; info bits 0 0: len 8; hex 4558454355544f52; asc EXECUTOR;; 1: len 19; hex 7061792d6e6f746966792d6578656375746f72; asc pay-notify-executor;; 2: len 27; hex 687474703a2f2f3139322e3136382e33352e3139323a393939392f; asc http://192.168.35.192:9999/;; 3: len 4; hex 8000012c; asc ,;;
*** WE ROLL BACK TRANSACTION (1) ------------ TRANSACTIONS ------------ Trx id counter 60548102 Purge done for trx's n:o < 60548102 undo n:o < 0 state: running but idle History list length 4 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 421387217563960, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217579656, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217578784, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217577912, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217570936, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217575296, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217574424, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217573552, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217565704, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217567448, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217561344, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217572680, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217571808, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217564832, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217563088, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217562216, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217588376, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217582272, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217570064, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217577040, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217569192, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421387217560472, not started 0 lock struct(s), heap size 1136, 0 row lock(s) -------- FILE I/O -------- I/O thread 0 state: waiting for completed aio requests (insert buffer thread) I/O thread 1 state: waiting for completed aio requests (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: waiting for completed aio requests (write thread) I/O thread 9 state: waiting for completed aio requests (write thread) Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] , ibuf aio reads:, log i/o's:, sync i/o's: Pending flushes (fsync) log: 0; buffer pool: 4 808817809 OS file reads, 15547109 OS file writes, 8554804 OS fsyncs 1588.59 reads/s, 16384 avg bytes/read, 24.48 writes/s, 13.48 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 3089, seg size 3091, 151967 merges merged operations: insert 152264, delete mark 45647, delete 1 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 134 buffer(s) Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 1 buffer(s) Hash table size 34679, node heap has 1 buffer(s) 2274.81 hash searches/s, 569.50 non-hash searches/s --- LOG --- Log sequence number 52194980033 Log buffer assigned up to 52194980033 Log buffer completed up to 52194980033 Log written up to 52194980033 Log flushed up to 52194980033 Added dirty pages up to 52194980033 Pages flushed up to 52194977125 Last checkpoint at 52194977125 8211520 log i/o's done, 12.47 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 137363456 Dictionary memory allocated 3068565 Buffer pool size 8192 Free buffers 0 Database pages 8051 Old database pages 2952 Modified db pages 10 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 417285319, not young 3776215521 0.00 youngs/s, 0.00 non-youngs/s Pages read 808817506, created 28900, written 6307328 0.00 reads/s, 0.00 creates/s, 0.00 writes/s Buffer pool hit rate 890 / 1000, young-making rate 33 / 1000 not 601 / 1000 Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 8051, unzip_LRU len: 0 I/O sum[17887]:cur[0], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=18344, Main thread ID=139911724472064 , state=sleeping Number of rows inserted 2046315, updated 365811, deleted 1948682, read 24113013375 3.61 inserts/s, 0.70 updates/s, 3.39 deletes/s, 45594.89 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================
|