[轉貼]Pooling in the Microsoft Data Access Components

有關資料庫的討論, 都可以在這發表哦~~
回覆文章
頭像
tim
文章: 1380
註冊時間: 2008年 11月 26日, 00:49

[轉貼]Pooling in the Microsoft Data Access Components

文章 tim »

一篇介紹 connection pooling 的文章
http://msdn.microsoft.com/library/defau ... oling2.asp

其中提到有關是否要 pooling 的 connection string 的設置,
Table 4. Setting OLE DB Services by Using ADO Connection String Attributes
Services enabled value in connection string
All services (the default) "OLE DB Services = -1;"
All services except pooling "OLE DB Services = -2;"
All services except pooling and auto-enlistment "OLE DB Services = -4;"
All services except client cursor "OLE DB Services = -5;"
All services except client cursor and pooling "OLE DB Services = -6;"
No services "OLE DB Services = 0;"

相當且參考價值.
多多留言, 整理文章, 把經驗累積下來.....
回覆文章