Skip to main content

Database connections pool extension from DBUtils

Project description

锘緾DBUtils

CDBUtils is since DBUtils 1.3

The CDBUtils home page can be found here:https://gitee.com/ctec/CDBUtils/

Extension parameter descriptions:

  • test_on_borrow: check availability of the connection fetched from the pool (True = check,False = default = never check)

  • test_idle: Check connection availability on idle(True = check,False = default = never check)

  • validation_sql: the sql for validate the connection (default is “SELECT 1 FROM DUAL”)

  • idle_check_time: the seconds for Check and remove the idle connection interval, it will be start one Thread to check the idle connection in the pool, whenever “idleCheckTime” greater than 0 and “testIdle” is True,default is 60 seconds.

  • validate_timeout: the max seconds to execute the validation Sql,default is 1. if “validateTimeOut” Less than 1, it will Wait until to return the result

  • max_wait_time: the max wait time for fetch one connection from the pool, if “maxWaitTime” greater than 0 ,it will be start a lock for the function “connection “ with in the time, and throw one exception when the timeout, default is 5s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CDBUtils-0.9.tar.gz (51.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page