Detecting locked tables (locked by LOCK TABLE)

前端 未结 8 1646
野趣味
野趣味 2020-11-29 18:46

Is there a way to detect locked tables in MySQL? I mean tables locked by the LOCK TABLE table WRITE/READ command.

(Note that readers interested in

8条回答
  •  离开以前
    2020-11-29 19:23

    SHOW OPEN TABLES to show each table status and its lock.

    For named locks look Show all current locks from get_lock

提交回复
热议问题