查询数据库连接池使用情况

适用于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