Query database connection pool usage

Applicable to 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

Guess you like

Origin blog.csdn.net/leinminna/article/details/112614785