データベース接続プールの使用状況を照会する

mysqlに適用可能

show full PROCESSLIST

show open tables where In_use > 0

show PROCESSLIST


select * from information_schema.processlist where db = 'qes_mfauth' and command != 'Sleep' and Time >1000

おすすめ

転載: blog.csdn.net/leinminna/article/details/112614785