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 ado.net in mvc?

586


What provider ado.net use by default? Explain the role of data provider in ado.net?

616


What is the namespaces being used to access oracle database?

591


Which is faster dataset or datareader?

630


Explain ODP.net

646






What is ado object model?

595


Which keyword is used to accept variable number of parameters?

781


What are the several execute methods of ado.net?

589


What is a control toolbox?

580


How will you fill the gridview by using datatable object at runtime?

631


What are the Data providers in ADO.Net?

642


Why is stored procedure used in ado.net?

642


Define data access layer?

597


What is partial class?

621


Define the executescalar method?

600