What is JDBC connection pool in WebLogic?

What is JDBC connection pool in WebLogic?

A connection pool is a named group of identical JDBC connections to a database that are created when the connection pool is deployed, either at WebLogic Server startup or dynamically during run time. Your application “borrows” a connection from the pool, uses it, then returns it to the pool by closing it.

How do I check my connection pool in WebLogic?

Procedure

  1. Open the WebLogic Server Console.
  2. Go to Services > Datasources and select the datasource that you want to change the pool size of.
  3. Go to Configuration > connection pool.
  4. Change the Maximum Capacity to the count required for your environment.

What is connection pooling in Oracle?

The connection pool is an object in the Physical layer that describes access to the data source. It contains information about the connection between the Oracle BI Server and that data source. The Physical layer in the Administration Tool contains at least one connection pool for each database.

What is connection pooling and why it is used?

In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing commands on a database.

How do I keep my JDBC connection alive?

An idle connection means that you are not actively running any queries. The JDBC driver includes a CLIENT_SESSION_KEEP_ALIVE parameter. Set the parameter to “true” if you want to keep your current connection alive indefinitely, even if there are no queries running.

Which of the following is advantage of using JDBC connection pool?

Which of the following is advantage of using JDBC connection pool? Explanation: Since the JDBC connection takes time to establish. Creating connection at the application start-up and reusing at the time of requirement, helps performance of the application.

You Might Also Like