2017-05-18 19 views
0

ODP.Net Managed Driverを使用してオンラインソリューションを開発しています。ODP.Net接続プーリングの動作

Oracle接続プーリングは「接続文字列」に基づいていますが、異なる接続文字列は異なる接続プールを作成します。 参考:https://docs.oracle.com/cd/B19306_01/win.102/b14307/featConnecting.htm#i1006393

The connection pooling service creates connection pools by using the 
ConnectionString property as a signature, to uniquely identify a pool. 

ただし、SQL Serverの文献では、[2]:https://msdn.microsoft.com/en-us/library/8xx3tyca(v=vs.110).aspx

Connections are pooled per process, per application domain, per connection 
string and when integrated security is used, per Windows identity. Connection 
strings must also be an exact match; keywords supplied in a different order 
for the same connection will be pooled separately. 

今私の同僚は、OracleプーリングがAPと接続文字列で区別さについて私と議論されます。しかし、私はそれが接続文字列だと思う。例えば

: 適用[A]:接続文字列[A] 適用[B]:接続文字列[A]
以上が同一の接続プールを使用します。

しかし、私の同僚が言う アプリケーション[A]:接続文字列[A] 応用[B]:接続文字列[A] 異なる接続プールを使用します。

私はこれについて正しいですか?私に答えてください。

答えて

0

私の経験では別のプールを使用します。私は配布アプリケーションを実行し、同じ接続文字列を持つ同じアプリケーションの各インスタンスと同じユーザーがプールを取得します。

関連する問題