地址是:
http://proxool.sourceforge.net/api-dev/org/logicalcobwebs/proxool/ProxoolDataSource.html
片段
getSimultaneousBuildThrottle
int getSimultaneousBuildThrottle ()
- In order to prevent overloading, this is the maximum number of connections that you can have that are in the progress of being made. That is, ones we have started to make but haven't finished yet.
getMinimumConnectionCount
int getMinimumConnectionCount ()
- The minimum number of connections we will keep open, regardless of whether anyone needs them or not.
不设置,或者设置错误,出现的现象
SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10
然后一直抱这个错误,网站停止任何更改的数据库访问。
原帖地址:http://blog.youkuaiyun.com/lastsweetop/archive/2009/04/23/4102860.aspx
本文详细介绍了 Proxool 数据源中 getSimultaneousBuildThrottle 和 getMinimumConnectionCount 的作用,解释了这两个参数如何影响数据库连接池的性能,并通过具体错误示例展示了不当配置可能导致的问题。
5666

被折叠的 条评论
为什么被折叠?



