what is meant by connection pooling and event pumbling in
ado.net

Answers were Sorted based on User's Feedback



what is meant by connection pooling and event pumbling in ado.net..

Answer / gyany

Connection Pooling:-
Connection pooling reduces the number of times that new
connections need to be opened. The pooler maintains
ownership of the physical connection. It manages
connections by keeping alive a set of active connections
for each given connection configuration. Whenever a user
calls Open on a connection, the pooler looks to see if
there is an available connection in the pool. If a pooled
connection is available, it returns it to the caller
instead of opening a new connection. When the application
calls Close on the connection, the pooler returns it to the
pooled set of active connections instead of actually
closing it. Once the connection is returned to the pool, it
is ready to be reused on the next Open call.

Is This Answer Correct ?    10 Yes 2 No

what is meant by connection pooling and event pumbling in ado.net..

Answer / prabhat saxena(lmp)

connection pool is set of active connections object,so that
someone else can make use of it without waiting of creating
the new connection.The number of connections allowed to a
particular database may be limited due to server capacity
or database licensing restrictions.

Is This Answer Correct ?    4 Yes 4 No

what is meant by connection pooling and event pumbling in ado.net..

Answer / sandyni

when a connection opened first time the connection pooling
is created , and is based on the exact match connection
string given to the connection object.
It works only the connection string is same.otherwise it
will open a new connection. Hence connection pooling
maintains all these coneections to made the retreive of
data effectively and fastly.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More ADO.NET Interview Questions

Compare Data Reader & Dataset in ado.net?

0 Answers   MaxSolPro,


What is linq and entity framework?

0 Answers  


How to add a javaScript function in a datagrid?

0 Answers   C DAC, CDAC,


ADO.NET is Disconnected Architecture. DataReader is connected Architecture, but DataReader is a part of ADO.NET. How is it possible?

3 Answers   Zensar,


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, How do you check whether all the 10 records were present while updating the data(Which event and steps) and throw the exception.

2 Answers   Fulcrum Logic, Satyam,






What is the full form of ado.net?

0 Answers  


What is dataadapter in ado.net?

0 Answers  


Differences between dataset.clone and dataset.copy?

2 Answers   Ksb, TCS,


What is ado object model?

0 Answers  


What is the provider being used to access oracle database?

0 Answers  


What is the default Timeout for SqlCommand.CommandTimeout property?

0 Answers  


What are advantages of microsoft-provided data provider classes in ado.net?

0 Answers  


Categories