In c#.net when you open a connection to a database, in my case it’s oracle, is there a lot of overhead involved? I’m guessing there isn’t because of connection pooling. So am I correct in saying that everytime I open a connection it actually grabs an open connection out of the pool and if there are no available connections in the pool it will then open a new connection?
Thanks!
You are correct. There are a lot of good articles explaining ADO connection pooling. For exmaple, MSDN – SQL Server Connection Pooling (ADO.NET), which says: