Bug #71782 Add table with deadlock and foreign key error information

Submitted: 20 Feb 2014 16:11 Modified: 2 May 2014 5:21
Reporter: Daniël van Eeden Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S4 (Feature request)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: deadlock, foreign key, information_schema, innodb

[20 Feb 2014 16:11] Daniël van Eeden
Description:
Please make it easier to query for foreign key errors and deadlock information.

Related to Bug #33593

How to repeat:
See description.

Suggested fix:
select query_text from information_schema.innodb_foreign_key_errors;

select query_text, trx, weight, rollback from information_schema.innodb_deadlocks group by deadlock_id;
[2 May 2014 5:21] Erlend Dahl
Thank you for your feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.