Informix ConnetionString Pool Size

Database=aa;Host=127.0.0.1;Server=ol_svr_custom;Service=9000;Protocol=onsoctcp;UID=informix;Password=pwd;DB_LOCALE=zh_tw.big5;CLIENT_LOCALE=zh_tw.big5;delimident=n;Min Pool Size=5;Max Pool Size=5;Pooling=true;

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\OnLine\ol_s_052516_095451\Environment] "DB_LOCALE"="ZH_TW.big5" "CLIENT_LOCALE"="ZH_TW.big5"

 

C:\PROGRA~1\IBM\IBMINF~1\11.50\ol_s_052516_095451.cmd

set CLIENT_LOCALE=ZH_TW.big5
set DB_LOCALE=ZH_TW.big5
set DBDATE=Y2MD/

 

Pooling:是否啟用DB連接池

Pool Size:最小連接池數量

Max Pool Size:最大連接池數量,如果超過最大數量會有異常。

 

posted on 2016-06-21 14:28  chen110xi  阅读(219)  评论(0编辑  收藏  举报