mysql是否可以自己释放一段时间不用的连接?

64 views
Skip to first unread message

蓝白

unread,
Jul 25, 2011, 7:08:57 AM7/25/11
to MySQLer
mysql是否可以自己释放一段时间不用的连接?我们的数据库经常有一些sleep的线程,不知道mysql有没有自动回收机制,把长时间没有响应的连
接自己断掉,让这些连接释放。

housy hou

unread,
Jul 26, 2011, 12:52:16 PM7/26/11
to mys...@googlegroups.com
问一个问题,你们的mysql 是community 标准版,还是percona 版本, 还是用source code自己编译的?
community里面有不同的下载选项,可以下载red hat 5 的rpm, 或者mysql 自己的binary for normal linux,但是那个版本在5.1.50之后没有把innodb plugin 加载进去,如何办?还是就使用red hat的rpm包?

sky.jian

unread,
Feb 18, 2014, 9:20:45 PM2/18/14
to mys...@googlegroups.com
有参数可以设置,设置非活动回话超时时间。
Reply all
Reply to author
Forward
0 new messages