标签:use process HERE 被锁 table ble 次数 nbsp open
-- 查看正在被锁定的的表 show OPEN TABLES where In_use > 0; -- 查看进程号 show processlist; -- 杀掉进程 kill 123456; -- 表级锁次数 show status like ‘Table%‘; +----------------------------+---------+ | Variable_name | Value | +----------------------------+---------+ | Table_locks_immediate | 7295843 | -- 指的是能够立即获得表级锁的次数 | Table_locks_waited | 362 | -- 指的是不能立即获取表级锁而需要等待的次数 | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | +----------------------------+---------+
标签:use process HERE 被锁 table ble 次数 nbsp open
原文地址:https://www.cnblogs.com/chenzechao/p/11287708.html