0% found this document useful (0 votes)
47 views

DBPool

DBPool is a Java-based database connection pooling utility that maintains a pool of opened connections to a database so applications can quickly obtain a connection without needing to establish a new connection each time, improving response time. It supports features like time-based expiry of idle connections, statement caching, connection validation, and is easily configured using a pool manager. DBPool can help improve application performance by eliminating the long wait times associated with constantly opening and closing database connections.

Uploaded by

Trien Vu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

DBPool

DBPool is a Java-based database connection pooling utility that maintains a pool of opened connections to a database so applications can quickly obtain a connection without needing to establish a new connection each time, improving response time. It supports features like time-based expiry of idle connections, statement caching, connection validation, and is easily configured using a pool manager. DBPool can help improve application performance by eliminating the long wait times associated with constantly opening and closing database connections.

Uploaded by

Trien Vu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

What is DBPool?

A Java-based database connection pooling utility, supporting time-based expiry, statement caching, connection validation, and easy configuration using a pool manager.

Why would I use it?


Applications using databases often need to obtain connections to the database frequently. For example, a popular website serving information from a database may need a connection for each client requesting a page using their browser. To ensure good application response time for each client, the application needs to be profiled to find the time spent performing each of its tasks. One of the most expensive database-related tasks is the initial creation of the connection. Once the connection has been made the transaction often takes place very quickly. A connection pool maintains a pool of opened connections so the application can simply grab one when it needs to, use it, and then hand it back, eliminating much of the long wait for the creation of connections. To DBPool jdbc/CSSDS. jdbc/CSSDS.url=jdbc:oracle:thin:@Trienvu-PC:1521:vnpt jdbc/CSSDS.user=css jdbc/CSSDS.password=css jdbc/CSSDS.maxpool=30 jdbc/CSSDS.maxconn=20 jdbc/CSSDS.expiry=30 jdbc/CSSDS.init=1 jdbc/CSSDS.validator=none jdbc/CSSDS.decoder=none jdbc/CSSDS.cache=false jdbc/CSSDS.debug=false jdbc/CSSDS.prop.property=

You might also like