what is connection pooling ?

Answer Posted / madhunathanv

Connection pooling increases the performance of Web
applications by reusing active database connections instead
of creating a new connection with every request.

Connection pool manager maintains a pool of open database
connections. When a new connection requests come in, the
pool manager checks if the pool contains any unused
connections and returns one if available. If all
connections currently in the pool are busy and the maximum
pool size has not been reached, the new connection is
created and added to the pool.

When the pool reaches its maximum size all new connection
requests are being queued up until a connection in the pool
becomes available or the connection attempt times out.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of ado.net?

549


How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?

522


What is commandbuilder in ado.net?

526


What are the parameters that control most of connection pooling behaviours?

574


How is it possible to get 2 tables of data at a time by using data reader?

499






Explain the basic use of "dataview" and explain its methods.

533


Explain how to find the given query is optimised one or not?

515


Describe briefly an ADO.NET Dataset ?

553


What is a data control clerk?

574


What is the difference between Data adaptor and Data set?

515


What are the benefits of ADO.NET?

611


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

1640


What are the difference between readonly vs. Const?

506


What is difference between ado and other data object?

470


What is dao and ado?

482