ODBC Connection Pooling

Posted by beansy on Stack Overflow See other posts from Stack Overflow or by beansy
Published on 2010-05-17T14:26:37Z Indexed on 2010/05/17 14:30 UTC
Read the original article Hit count: 332

Filed under:
|
|
|

I have inherited a suite of .Net c# applications from a developer which talk to an Informix database on a unix server.

Instead of using the usual practices for managing the database connections (disposable pattern / "open late / close early"), the code seems to open one ODBC connection when each app loads and doesn't close it.

Connection pooling is turned via the ODBC administrator.

Is there any way of seeing how many ODBC connections are open?

What is the effect of turning off connection pooling? Am I right in thinking the .NET framework will use connection pooling anyway?

© Stack Overflow or respective owner

Related posts about odbc

Related posts about .NET