Show all current locks from get_lock

前端 未结 7 1462
渐次进展
渐次进展 2020-12-13 12:00

Is there any way to select / show all current locks that have been taken out using the GET_LOCK function?

Note that GET_LOCK locks are different from ta

相关标签:
7条回答
  • 2020-12-13 12:57

    Starting with MySQL 5.7, the performance schema exposes all metadata locks, including locks related to the GET_LOCK() function.

    See http://dev.mysql.com/doc/refman/5.7/en/metadata-locks-table.html

    0 讨论(0)
提交回复
热议问题