MySQL 5.7 Reference Manual Including MySQL NDB Cluster 7.5 and NDB Cluster 7.6
The Performance Schema exposes lock information through these tables:
metadata_locks
: Metadata locks
held and requested
table_handles
: Table locks held
and requested
The following sections describe these tables in more detail.