1. 程式人生 > >資料庫連線池理解和對比

資料庫連線池理解和對比

資料庫連線池的實現及原理https://www.cnblogs.com/wym789/p/6374440.html

使用jdbc-pool替代dbcp、c3p0等連線池的原因:

https://blog.csdn.net/u011267070/article/details/52185938?locationNum=4https://blog.csdn.net/chenaini119/article/details/69254803

http://www.open-open.com/lib/view/open1329182303124.html

 

使用Druid連線池效能好,其配置含義:https://blog.csdn.net/qq_28334041/article/details/68932804

各種資料庫連線池效能對比:https://blog.csdn.net/qq_31125793/article/details/51241943

https://blog.csdn.net/miclung/article/details/7231553

https://blog.csdn.net/hxpjava1/article/details/60139169

 

 

2、3、1一般連線池引數詳解:

幾個資料庫連線池引數的含義:https://blog.csdn.net/hetaohappy/article/details/51861015

上文中的wait_timeout與interactive_timeout:

https://blog.csdn.net/yabingshi_tech/article/details/51792046

其中空閒連線數和實驗資料最好的效能:連線數 = ((核心數 * 2) + 有效磁碟數),見文章:https://www.jianshu.com/p/a8f653fc0c54

關於上述公式中核心數要避免的坑:https://blog.csdn.net/he_jian1/article/details/41208915,用CPU-Z這個軟體檢測

關於上述公式中有效磁碟數:https://blog.csdn.net/yuxiaofeng17/article/details/9143593