MySQL 8.4 Release Notes
Performance Schema 通过这些表暴露锁信息:The Performance Schema exposes lock information through these tables:
data_locks:持有和请求的数据锁data_locks: Data locks held and requesteddata_lock_waits:数据锁持有者与被这些持有者阻塞的数据锁请求者之间的关系data_lock_waits: Relationships between data lock owners and data lock requestors blocked by those ownersmetadata_locks:持有和请求的元数据锁metadata_locks: Metadata locks held and requestedtable_handles:持有和请求的表锁table_handles: Table locks held and requested
以下部分将更详细地介绍这些表。The following sections describe these tables in more detail.