1.1 pt-query-digest

pt-query-digest 3315-master_slow2019-12-17.log --since '2019-12-17 04:50:00' --until '2019-12-17 05:02:00' > analyze.log

 

1.2 分析

 

 

一次死锁排查

一次死锁排查

在语句insert city_copy1 select * from city where id =5;中,经过实验,会锁定id=5行。

 

 

相关文章: