Introduced 5.6.2
Command-Line Format --innodb-print-all-deadlocks=#
System Variable Name innodb_print_all_deadlocks
Scope Global
Dynamic Yes
Permitted Values Type boolean
Default OFF

When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log. Otherwise, you see information about only the last deadlock, using the SHOW ENGINE INNODB STATUS command. 

 

打开配置时,死锁日志存放到error_log配置的文件里面

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2022-01-22
  • 2021-04-01
  • 2021-08-19
  • 2021-08-07
  • 2021-10-26
猜你喜欢
  • 2022-03-05
  • 2021-11-07
  • 2021-09-18
  • 2021-06-18
  • 2021-07-26
  • 2022-12-23
相关资源
相似解决方案