what is connection pooling ?

Answer Posted / madhunathanv

Apart From def of Connection Pooling
Connection pooling has 4 parameters:

1.)Connect Timeout - controls the wait period in seconds
when a new connection is requested, if this timeout
expires, an exception will be thrown. Default is 15
seconds.
2.)Max Pool Size - specifies the maximum size of your
connection pool. Default is 100. Most Web sites do not use
more than 40 connections under the heaviest load but it
depends on how long your database operations take to
complete.
3.)Min Pool Size - initial number of connections that will
be added to the pool upon its creation. Default is zero;
however, you may chose to set this to a small number such
as 5 if your application needs consistent response times
even after it was idle for hours. In this case the first
user requests won't have to wait for those database
connections to establish.
4.)Pooling - controls if your connection pooling on or off.
Default as you may've guessed is true. Read on to see when
you may use Pooling=false setting.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

553


What does sqldatareader return?

501


can we create synonymn in ms access,sql server,my sql if so explain me with example

1577


What you mean by filtering of data?

535


What is the purpose of using adodb?

502






Is it possible to edit data in Repeater control?

529


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

513


What are the drawbacks of using ado.net?

543


Explain how to pass multiple tables in datasets simultaneously?

492


What is data adapter in ado.net with example?

514


Is datareader faster than datatable?

533


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

566


Define isolation?

533


How to create dynamic gridview?

588


Explain the advantage of ADO.Net?

551