今天遇到了一个很奇怪的问题,mysql版本是5.7.17的。zabbix监控提示从库复制进程断开了,登上去看,确实有报1213错,看了一下这个报错的原因是因为有死锁,重试了10次之后就报错了,可以通过设置slave_transaction_retries参数调整重试次数。

本来我是想把这个参数调大一些然后执行stop slave;start slave的,但是结果在stop slave的时候就卡住不动了。

这个问题有两个点我不明白:1就是为什么从库应用relaylog也会有死锁,2是为什么stop slave的时候会一直卡着。

最后这个问题是没有找到解决方法的,后面只能把mysql服务给重启了。这里面把相关信息贴出来,万一大家谁知道原因或者有解决方法麻烦告知。

show slave status的信息:

>show slave status\G

*************************** 1. row ***************************

Slave_IO_State: Waiting for master to send event

Master_Host: 10.16.0.114

Master_User: repl

Master_Port: 3306

Connect_Retry: 60

Master_Log_File: mysql-bin.085300

Read_Master_Log_Pos: 234532837

Relay_Log_File: relay-bin.254644

Relay_Log_Pos: 431048844

Relay_Master_Log_File: mysql-bin.085209

Slave_IO_Running: Yes

Slave_SQL_Running: Yes

Replicate_Do_DB:

Replicate_Ignore_DB:

Replicate_Do_Table:

Replicate_Ignore_Table:

Replicate_Wild_Do_Table:

Replicate_Wild_Ignore_Table:

Last_Errno: 1213

Last_Error: worker thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction_retries variable.

Skip_Counter: 0

Exec_Master_Log_Pos: 431048631

Relay_Log_Space: 55543637112

Until_Condition: None

Until_Log_File:

Until_Log_Pos: 0

Master_SSL_Allowed: No

Master_SSL_CA_File:

Master_SSL_CA_Path:

Master_SSL_Cert:

Master_SSL_Cipher:

Master_SSL_Key:

Seconds_Behind_Master: 10906

Master_SSL_Verify_Server_Cert: No

Last_IO_Errno: 0

Last_IO_Error:

Last_SQL_Errno: 1213

Last_SQL_Error: worker thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction_retries variable.

Replicate_Ignore_Server_Ids:

Master_Server_Id: 22629

Master_UUID: 3fdc55ff-fcb7-11e6-a264-1866daf3cc48

Master_Info_File: mysql.slave_master_info

SQL_Delay: 0

SQL_Remaining_Delay: NULL

Slave_SQL_Running_State: Waiting for workers to exit

Master_Retry_Count: 86400

Master_Bind:

Last_IO_Error_Timestamp:

Last_SQL_Error_Timestamp: 180615 12:00:21

Master_SSL_Crl:

Master_SSL_Crlpath:

Retrieved_Gtid_Set:

Executed_Gtid_Set:

Auto_Position: 0

Replicate_Rewrite_DB:

Channel_Name:

Master_TLS_Version:

1 row in set (0.00 sec)

查看mysql错误日志:2018-06-15T11:59:47.565750+08:00 359460654 [Warning] Slave SQL for channel '': Worker 17 failed executing transaction 'ANONYMOUS' at master log mysql-bin.085209, end_log_pos 431248932; Could not execute Write_rows event on table

sa_db.listing_attr

; Deadlock found

when trying to get lock; try restarting transaction, Error_code: 1213; handler error HA_ERR_LOCK_DEADLOCK; the event's master log mysql-bin.085209, end_log_pos 431248932, Error_code: 1213

show processlist信息:

admin@(none) 12:49>show processlist;

+-----------+-------------+---------------------+------+---------+-------+---------------------------------------------+------------------------------------------------------------------------------------------------------+-----------+---------------+

| Id        | User        | Host                | db   | Command | Time  | State                                       | Info                                                                                                 | Rows_sent | Rows_examined |

+-----------+-------------+---------------------+------+---------+-------+---------------------------------------------+------------------------------------------------------------------------------------------------------+-----------+---------------+

| 358474342 | admin       | localhost           | NULL | Query   |  2558 | Killing slave                               | stop slave                                                                                           |         0 |             0 |

| 359460634 | system user |                     | NULL | Connect |  4728 | Waiting for master to send event            | NULL                                                                                                 |         0 |             0 |

| 359460635 | system user |                     | NULL | Connect |  2991 | Waiting for workers to exit                 | NULL                                                                                                 |         0 |             0 |

| 359460636 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460637 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460639 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460640 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460641 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460642 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460643 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460644 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460645 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460646 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460647 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460661 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460662 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460663 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460664 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460665 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460666 | system user |                     | NULL | Connect | 10912 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460667 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

| 359460668 | system user |                     | NULL | Connect | 10911 | Waiting for preceding transaction to commit | NULL                                                                                                 |         0 |             0 |

+-----------+-------------+---------------------+------+---------+-------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+-----------+---------------+

查看show engine innodb status的信息:

>show engine innodb status\G

*************************** 1. row ***************************

Type: InnoDB

Name:

Status:

=====================================

2018-06-15 13:46:10 0x7fc35269b700 INNODB MONITOR OUTPUT

=====================================

Per second averages calculated from the last 11 seconds

-----------------

BACKGROUND THREAD

-----------------

srv_master_thread loops: 7231342 srv_active, 0 srv_shutdown, 88148 srv_idle

srv_master_thread log flush and writes: 7319490

----------

SEMAPHORES

----------

OS WAIT ARRAY INFO: reservation count 846771560

OS WAIT ARRAY INFO: signal count 11704563703

RW-shared spins 0, rounds 7828610474, OS waits 306123779

RW-excl spins 0, rounds 22442385026, OS waits 261543286

RW-sx spins 519882803, rounds 11033550791, OS waits 144313611

Spin rounds per wait: 7828610474.00 RW-shared, 22442385026.00 RW-excl, 21.22 RW-sx

------------------------

LATEST DETECTED DEADLOCK

------------------------

2018-06-15 12:00:21 0x7fc3b4120700

*** (1) TRANSACTION:

TRANSACTION 25206635187, ACTIVE 0 sec inserting

mysql tables in use 1, locked 1

LOCK WAIT 5 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 3

MySQL thread id 359460638, OS thread handle 140476847380224, query id 19188924556 System lock

INSERT INTO `listing_attr` (`attr_name`, `attr_value`, `listing_id`) VALUES ('feature', 'Chronograph', '3833594')

*** (1) WAITING FOR THIS LOCK TO BE GRANTED:

RECORD LOCKS space id 23792 page no 70501 n bits 352 index uniq_listing_id_attr_name_attr_value of table `sa_db`.`listing_attr` trx id 25206635187 lock_mode X insert intention waiting

*** (2) TRANSACTION:

TRANSACTION 25206635184, ACTIVE 0 sec inserting

mysql tables in use 1, locked 1

8 lock struct(s), heap size 1136, 3 row lock(s), undo log entries 3

MySQL thread id 359460659, OS thread handle 140478516430592, query id 19188924526 System lock

INSERT INTO `listing_attr` (`attr_name`, `attr_value`, `listing_id`) VALUES ('material_type', 'Metal', '3833593')

*** (2) HOLDS THE LOCK(S):

RECORD LOCKS space id 23792 page no 70501 n bits 352 index uniq_listing_id_attr_name_attr_value of table `sa`.`listing_attr` trx id 25206635184 lock_mode X

*** (2) WAITING FOR THIS LOCK TO BE GRANTED:

RECORD LOCKS space id 23792 page no 70501 n bits 352 index uniq_listing_id_attr_name_attr_value of table `sa_db`.`listing_attr` trx id 25206635184 lock_mode X insert intention waiting

*** WE ROLL BACK TRANSACTION (1)

------------

TRANSACTIONS

------------

Trx id counter 25206645739

Purge done for trx's n:o

History list length 25

LIST OF TRANSACTIONS FOR EACH SESSION:

---TRANSACTION 422158513818552, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513813784, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513714848, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513799480, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513742264, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513782792, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513768488, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513757760, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513716040, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513775640, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513736304, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513769680, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513767296, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513743456, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513701736, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513763720, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513717232, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513729152, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513723192, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513712464, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513900800, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513896032, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513879344, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513834048, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513741072, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513710080, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513830472, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513707696, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513909144, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513899608, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513809016, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513797096, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513774448, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513744648, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513832856, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513776832, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513787560, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513810208, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513891264, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513722000, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513725576, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513907952, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513803056, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513876960, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513745840, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513792328, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513760144, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513773256, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513732728, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513702928, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513811400, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513794712, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513917488, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513692200, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513881728, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513861464, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513758952, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513783984, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513699352, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513708888, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513918680, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513798288, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513955632, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513916296, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513756568, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513755376, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513770872, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513820936, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513705312, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513724384, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513800672, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513737496, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513700544, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513940136, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513738688, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513903184, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513880536, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513956824, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513950864, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513762528, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513835240, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513786368, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513847160, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513795904, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513695776, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513857888, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513730344, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513842392, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513733920, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513828088, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513954440, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513853120, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513823320, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513793520, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513931792, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513698160, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513966360, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513905568, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513886496, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513772064, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513752992, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513921064, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513801864, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513867424, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513855504, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513719616, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513739880, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513754184, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513817360, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513814976, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513869808, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513845968, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513812592, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513804248, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513748224, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513706504, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513696968, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513884112, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513915104, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513807824, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513851928, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513718424, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513840008, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513788752, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513969936, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513822128, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513781600, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513764912, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513947288, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513727960, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513944904, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513850736, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513952056, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513859080, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513948480, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513923448, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513932984, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513927024, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513924640, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513720808, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513912720, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513882920, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513901992, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513894840, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513890072, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513887688, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513863848, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513831664, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513843584, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513856696, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513897224, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513704120, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513866232, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513816168, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513836432, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513875768, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513873384, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513844776, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513868616, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513779216, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513838816, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513694584, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513789944, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513691008, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513735112, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513906760, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513780408, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513898416, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513865040, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513862656, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513860272, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513841200, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513825704, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513766104, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513986624, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514034304, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513805440, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513941328, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513791136, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513935368, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513749416, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513711272, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513726768, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513967552, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513806632, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513911528, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513946096, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513785176, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513953248, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513930600, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513848352, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513997352, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514014040, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514028344, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513829280, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513761336, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513871000, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513819744, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513750608, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513826896, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513731536, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513713656, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513747032, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513751800, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513928216, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514101056, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513778024, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514134432, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514070064, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514239328, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158514090328, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513874576, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513885304, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513949672, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 422158513922256, not started

0 lock struct(s), heap size 1136, 0 row lock(s)

---TRANSACTION 25206635188, ACTIVE (PREPARED) 6349 sec

19 lock struct(s), heap size 1136, 5 row lock(s), undo log entries 25

MySQL thread id 359460644, OS thread handle 140457942128384, query id 19188924615 Waiting for preceding transaction to commit

---TRANSACTION 25206635001, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460647, OS thread handle 140476127819520, query id 19188888488 Waiting for preceding transaction to commit

---TRANSACTION 25206635000, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460646, OS thread handle 140457941063424, query id 19188888485 Waiting for preceding transaction to commit

---TRANSACTION 25206634999, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460645, OS thread handle 140476522751744, query id 19188888467 Waiting for preceding transaction to commit

---TRANSACTION 25206634997, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460637, OS thread handle 140476856698624, query id 19188888447 Waiting for preceding transaction to commit

---TRANSACTION 25206634996, ACTIVE (PREPARED) 6389 sec

17 lock struct(s), heap size 1136, 3 row lock(s), undo log entries 25

MySQL thread id 359460643, OS thread handle 140472954726144, query id 19188888496 Waiting for preceding transaction to commit

---TRANSACTION 25206634995, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460642, OS thread handle 140476502783744, query id 19188888449 Waiting for preceding transaction to commit

---TRANSACTION 25206634994, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460641, OS thread handle 140476845782784, query id 19188888445 Waiting for preceding transaction to commit

---TRANSACTION 25206634986, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460640, OS thread handle 140472952862464, query id 19188888443 Waiting for preceding transaction to commit

---TRANSACTION 25206634982, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460636, OS thread handle 140476391462656, query id 19188888354 Waiting for preceding transaction to commit

---TRANSACTION 25206634981, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460639, OS thread handle 140478520157952, query id 19188888350 Waiting for preceding transaction to commit

---TRANSACTION 25206634980, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460668, OS thread handle 140473105733376, query id 19188888346 Waiting for preceding transaction to commit

---TRANSACTION 25206634979, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460667, OS thread handle 140476123293440, query id 19188888348 Waiting for preceding transaction to commit

---TRANSACTION 25206634978, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460666, OS thread handle 140476863088384, query id 19188888347 Waiting for preceding transaction to commit

---TRANSACTION 25206634977, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460665, OS thread handle 140476117169920, query id 19188888342 Waiting for preceding transaction to commit

---TRANSACTION 25206634976, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460663, OS thread handle 140476128884480, query id 19188888340 Waiting for preceding transaction to commit

---TRANSACTION 25206634975, ACTIVE (PREPARED) 6389 sec

7 lock struct(s), heap size 1136, 42 row lock(s), undo log entries 42

MySQL thread id 359460664, OS thread handle 140476373092096, query id 19188888436 Waiting for preceding transaction to commit

---TRANSACTION 25206634974, ACTIVE (PREPARED) 6389 sec

8 lock struct(s), heap size 1136, 6 row lock(s), undo log entries 11

MySQL thread id 359460662, OS thread handle 140476879075072, query id 19188888377 Waiting for preceding transaction to commit

---TRANSACTION 25206634973, ACTIVE (PREPARED) 6389 sec

4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 2

MySQL thread id 359460661, OS thread handle 140476534732544, query id 19188888333 Waiting for preceding transaction to commit

--------

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 (read thread)

I/O thread 7 state: waiting for completed aio requests (read thread)

I/O thread 8 state: waiting for completed aio requests (read thread)

I/O thread 9 state: waiting for completed aio requests (read thread)

I/O thread 10 state: waiting for completed aio requests (write thread)

I/O thread 11 state: waiting for completed aio requests (write thread)

I/O thread 12 state: waiting for completed aio requests (write thread)

I/O thread 13 state: waiting for completed aio requests (write thread)

I/O thread 14 state: waiting for completed aio requests (write thread)

I/O thread 15 state: waiting for completed aio requests (write thread)

I/O thread 16 state: waiting for completed aio requests (write thread)

I/O thread 17 state: waiting for completed aio requests (write thread)

Pending normal aio reads: [0, 0, 0, 0, 0, 0, 0, 0] , aio writes: [0, 0, 0, 0, 0, 0, 0, 0] ,

ibuf aio reads:, log i/o's:, sync i/o's:

Pending flushes (fsync) log: 0; buffer pool: 0

3574401789 OS file reads, 8061396199 OS file writes, 806486390 OS fsyncs

0.09 reads/s, 16384 avg bytes/read, 1.18 writes/s, 1.00 fsyncs/s

-------------------------------------

INSERT BUFFER AND ADAPTIVE HASH INDEX

-------------------------------------

Ibuf: size 1, free list len 71849, seg size 71851, 55301491 merges

merged operations:

insert 288907720, delete mark 773091127, delete 204671161

discarded operations:

insert 0, delete mark 0, delete 0

Hash table size 47806243, node heap has 136268 buffer(s)

Hash table size 47806243, node heap has 108016 buffer(s)

Hash table size 47806243, node heap has 54129 buffer(s)

Hash table size 47806243, node heap has 37719 buffer(s)

Hash table size 47806243, node heap has 77914 buffer(s)

Hash table size 47806243, node heap has 33337 buffer(s)

Hash table size 47806243, node heap has 46262 buffer(s)

Hash table size 47806243, node heap has 27054 buffer(s)

951565.22 hash searches/s, 10784.29 non-hash searches/s

---

LOG

---

Log sequence number 21099156043309

Log flushed up to   21099156042961

Pages flushed up to 21099156038721

Last checkpoint at  21099156038712

Max checkpoint age    1738750649

Checkpoint age target 1684414692

Modified age          4588

Checkpoint age        4597

0 pending log flushes, 0 pending chkp writes

5141910426 log i/o's done, 1.18 log i/o's/second

----------------------

BUFFER POOL AND MEMORY

----------------------

Total large memory allocated 201200762880

Dictionary memory allocated 14265079

Internal hash tables (constant factor + variable factor)

Adaptive hash index 11590765632  (3059599552 + 8531166080)

Page hash           19123288 (buffer pool 0 only)

Dictionary cache    779164967  (764899888 + 14265079)

File system         1348408  (812272 + 536136)

Lock system         478389800  (478120568 + 269232)

Recovery system     0  (0 + 0)

Buffer pool size   11795040

Buffer pool size, bytes 0

Free buffers       10240

Database pages     11264101

Old database pages 4157831

Modified db pages  47

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 411856925, not young 31140353346

0.82 youngs/s, 0.09 non-youngs/s

Pages read 3575086752, created 101520215, written 2842079079

0.09 reads/s, 0.00 creates/s, 0.00 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: 11264101, unzip_LRU len: 0

I/O sum[2170]:cur[0], unzip sum[0]:cur[0]

----------------------

INDIVIDUAL BUFFER POOL INFO

----------------------

---BUFFER POOL 0

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126196

Old database pages 415704

Modified db pages  13

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41011848, not young 3103491189

0.09 youngs/s, 0.00 non-youngs/s

Pages read 357667649, created 10049656, written 286703518

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126196, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 1

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1023

Database pages     1126472

Old database pages 415806

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41171092, not young 3096521684

0.18 youngs/s, 0.00 non-youngs/s

Pages read 357199786, created 10056942, written 280962578

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126472, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 2

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126341

Old database pages 415758

Modified db pages  5

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41307053, not young 3126307058

0.00 youngs/s, 0.00 non-youngs/s

Pages read 357640651, created 10046742, written 287020406

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126341, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 3

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126454

Old database pages 415799

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 40889319, not young 3166640495

0.09 youngs/s, 0.00 non-youngs/s

Pages read 357411673, created 10063744, written 281365529

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126454, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 4

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126440

Old database pages 415794

Modified db pages  9

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41262103, not young 3138504167

0.00 youngs/s, 0.09 non-youngs/s

Pages read 357297882, created 10008005, written 287802804

0.09 reads/s, 0.00 creates/s, 0.00 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: 1126440, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 5

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126405

Old database pages 415781

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41152454, not young 3106986014

0.09 youngs/s, 0.00 non-youngs/s

Pages read 357456916, created 10190489, written 280097866

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126405, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 6

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1025

Database pages     1126539

Old database pages 415831

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 40891794, not young 3114106636

0.00 youngs/s, 0.00 non-youngs/s

Pages read 357256406, created 10245285, written 288469894

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126539, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 7

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126529

Old database pages 415827

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41235464, not young 3058140552

0.18 youngs/s, 0.00 non-youngs/s

Pages read 357481690, created 10281301, written 281471647

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126529, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 8

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126450

Old database pages 415798

Modified db pages  20

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41558814, not young 3131738436

0.00 youngs/s, 0.00 non-youngs/s

Pages read 358112298, created 10289390, written 288391597

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126450, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

---BUFFER POOL 9

Buffer pool size   1179504

Buffer pool size, bytes 0

Free buffers       1024

Database pages     1126275

Old database pages 415733

Modified db pages  0

Pending reads      0

Pending writes: LRU 0, flush list 0, single page 0

Pages made young 41376984, not young 3097917115

0.18 youngs/s, 0.00 non-youngs/s

Pages read 357561801, created 10288661, written 279793240

0.00 reads/s, 0.00 creates/s, 0.00 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: 1126275, unzip_LRU len: 0

I/O sum[217]:cur[0], unzip sum[0]:cur[0]

--------------

ROW OPERATIONS

--------------

0 queries inside InnoDB, 0 queries in queue

3 read views open inside InnoDB

19 RW transactions active inside InnoDB

---OLDEST VIEW---

Read view low limit trx n:o 25206645737

Trx read view will not see trx with id >= 25206645737, sees

Read view individually stored trx ids:

Read view trx id 25206634973

Read view trx id 25206634974

Read view trx id 25206634975

Read view trx id 25206634976

Read view trx id 25206634977

Read view trx id 25206634978

Read view trx id 25206634979

Read view trx id 25206634980

Read view trx id 25206634981

Read view trx id 25206634982

Read view trx id 25206634986

Read view trx id 25206634994

Read view trx id 25206634995

Read view trx id 25206634996

Read view trx id 25206634997

Read view trx id 25206634999

Read view trx id 25206635000

Read view trx id 25206635001

Read view trx id 25206635188

-----------------

Process ID=87482, Main thread ID=140478837442304, state: sleeping

Number of rows inserted 6704792171, updated 9374134411, deleted 4105847387, read 37602688177077

62.09 inserts/s, 1.18 updates/s, 0.00 deletes/s, 1250329.42 reads/s

----------------------------

END OF INNODB MONITOR OUTPUT

============================

查看复制进程对应的系统进程id号:

>select * from threads where PROCESSLIST_ID=359460661\G

*************************** 1. row ***************************

THREAD_ID: 359460707

NAME: thread/sql/slave_worker

TYPE: FOREGROUND

PROCESSLIST_ID: 359460661

PROCESSLIST_USER: admin

PROCESSLIST_HOST: localhost

PROCESSLIST_DB: NULL

PROCESSLIST_COMMAND: Connect

PROCESSLIST_TIME: 18662

PROCESSLIST_STATE: Waiting for preceding transaction to commit

PROCESSLIST_INFO: NULL

PARENT_THREAD_ID: 359460681

ROLE: NULL

INSTRUMENTED: YES

HISTORY: YES

CONNECTION_TYPE: NULL

THREAD_OS_ID: 171298

查看这个进程的堆栈:

# pstack 171298

Thread 1 (process 171298):

#0  0x00007ff37cd7868c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

#1  0x0000000000f1c7d6 in Commit_order_manager::wait_for_its_turn(Slave_worker*, bool) ()

#2  0x0000000000ee0b35 in MYSQL_BIN_LOG::ordered_commit(THD*, bool, bool) ()

#3  0x0000000000ee160b in MYSQL_BIN_LOG::commit(THD*, bool) ()

#4  0x0000000000821a24 in ha_commit_trans(THD*, bool, bool) ()

#5  0x0000000000dcf719 in trans_commit(THD*) ()

#6  0x0000000000eb691b in Xid_log_event::do_commit(THD*) ()

#7  0x0000000000eb6823 in Xid_apply_log_event::do_apply_event_worker(Slave_worker*) ()

#8  0x0000000000f1a585 in slave_worker_exec_job_group(Slave_worker*, Relay_log_info*) ()

#9  0x0000000000f03b13 in handle_slave_worker ()

#10 0x0000000001253254 in pfs_spawn_thread ()

#11 0x00007ff37cd74aa1 in start_thread () from /lib64/libpthread.so.0

#12 0x00007ff37b276aad in ioperm () from /lib64/libc.so.6

#13 0x0000000000000000 in ?? ()

stop slave mysql_mysql执行stop slave一直卡在Killing slave的状态相关推荐

  1. python运维脚本部署jdk_Jenkins 为Jenkins添加Windows Slave远程执行python项目脚本

    测试环境 JAVA JDK 1.7.0_13 (jdk-7u13-windows-i586.exe) Jenkins Win764未 python项目环境 实践操作 1.新建与配置结点 [系统管理]- ...

  2. master slave mysql_MYSQL高可用之复制(MASTER/SLAVE)

    MYSQL高可用之复制(MASTER/SLAVE) 随着互联网的快速发展,对数据库的访问已经越来越频繁,仅凭单个服务器已经无法应对高并发的访问,也无法满足数据库提供7*24的服务,这个时候我们就必须考 ...

  3. unknown error mysql_mysql执行sql文件报错Error: Unknown storage engine‘InnoDB’的解决方法...

    发现问题 最近在工作中遇到一个问题,在运行了一个innoDB类型的sql文件,报了Error: Unknown storage engine 'InnoDB'错误,网上查了很多方法,但是都没办法真正解 ...

  4. 执行未来计划每日打卡

    未来计划打卡 目录: 未来计划打卡 2021 7月 28日 27日 2020 9月 8月 7月 27日 17日 16日 15 日 14日 13日 12日 11日 10日 2019 11月 日期 14日 ...

  5. insert into 自增 mysql_mysql执行insert into时插入自增字段不输入所有列的办法

    本文使用数据库为:Mysql 当我们想使用insert into为一个表的所有字段插入一条数据时,我们可以这样写sql语句 insert into table1 values('field', 'fi ...

  6. Moto Defy刷机卡M无法进入RSD状态解决方法

    前几天刷Galnetmiui,结果不知道是不是用老的刷机工具刷了新的ROM.导致开机之后***步之后,手机重启,一直处于blur的那个开机画面,中间有一个白色的M标识,不断的重复.该状况和小米官方的刷 ...

  7. linux里hba状态_在Linux/Unix平台查看HBA卡的WWN号 和状态

    对于不同版本的unix系统 查看你hba io状态的总结 AIX: 1,获得AIX主机连接的光纤设备: # lsdev -Cc adapter -S a | grep fcs fcs0     Ava ...

  8. linux执行ps命令卡住了,linux ps命令的状态说明

    linux上进程有5种状态: 1. 运行(正在运行或在运行队列中等待) 2. 中断(休眠中, 受阻, 在等待某个条件的形成或接受到信号) 3. 不可中断(收到信号不唤醒和不可运行, 进程必须等待直到有 ...

  9. linux里hba状态_redhat linux6.5下查看HBA卡WWN号和连接状态

    在不同的操作系统中,查看FC HBA卡信息的方法各有不同,本文就在REDHAT LINUX6.5系统下如何查看FC HBA卡的信息作个介绍,供实施相关项目时参考. 一般在配置磁盘阵列.虚拟带库以及其他 ...

最新文章

  1. 1086 Tree Traversals Again
  2. 时序预测竞赛之异常检测算法综述
  3. 【问题收录】Ubuntu(14.04)那些我遇到的各种事
  4. UvaUva11059 最大乘积
  5. android 过滤格式,android Intent.setType() 过滤图片,返回所有的文件类型
  6. python项目归纳总结-python商城项目总结
  7. 服务器iis7.5 配置文件,使用注册表项 - Internet Information Services | Microsoft Docs
  8. Android 之自定义view实现水波纹效果
  9. java 视频监控 分屏ui_视频监控网页ActiveX视频分屏播放控件开发
  10. opengl如何画出一个球_OpenGL-Controlling and Monitoring the Pipeline
  11. [导入]关于OllyDbg 2.0的消息..
  12. perl python json_Perl解析JSON数据精解
  13. 四色着色问题 c语言编程,数据结构-图着色问题
  14. C/C++ OpenCV之Sobel边缘检测
  15. jquery $加一个点后面加个名称的意思
  16. Bailian2722 学分绩点【序列处理】
  17. java 读写acr122u_树莓派使用ACR122U读写IC卡
  18. 最好用的OCR实时翻译工具:Bob for Mac
  19. 最全讲解--电子电气架构演进
  20. 计算机中利用的物理原理,现代电脑技术中物理原理.doc

热门文章

  1. Java温故而知新-程序逻辑结构
  2. 如何通俗的理解函数的极限_如何理解函数的极限?
  3. 计算机e盘丢失了,电脑E盘突然不见了怎么找回_电脑的E盘突然不见了的解决方法...
  4. 书单标签:IT技术 - 酷瓜书单
  5. 鼠标经过显示隐藏盒子
  6. 产品智慧化 智慧水务企业探索水厂建设新模式
  7. 【个人感悟】如何学习计算机知识
  8. java三手交换智能下棋代码,基于Java的六子棋人工智能系统的设计研究
  9. Xunsearch与Sphinx的预比较
  10. HBuilder如何在真机运行