查看mysql数据库连接池的示例
打开mysql终端输入以下命令查看。
show full processlist;show open tables where In_use > 0;
show processlist;
select * from information_schema.processlist where db = '数据库名称' and command != 'Sleep' and Time >1000
亿速云「云数据库 MySQL」免部署即开即用,比自行安装部署数据库高出1倍以上的性能,双节点冗余防止单节点故障,数据自动定期备份随时恢复。点击查看>>
推荐阅读:mysql如何查看数据库连接池