经典Proxool.properties

//数据库1
jdbc-1.proxool.alias=WEBGIS
jdbc-1.proxool.driver-class=oracle.jdbc.driver.OracleDriver
jdbc-1.proxool.driver-url=jdbc:oracle:thin:@90.0.12.20:1521:ORCL
jdbc-1.user=你数据库的用户名
jdbc-1.password=你数据库的密码
jdbc-1.proxool.maximum-connection-count=20
jdbc-1.proxool.prototype-count=4
jdbc-1.proxool.house-keeping-test-sql=select sysdate from DUAL
jdbc-1.proxool.verbose=true
jdbc-1.proxool.statistics=10s,1m,1d
jdbc-1.proxool.statistics-log-level=ERROR
//标准版数据库
jdbc-2.proxool.alias=Navtech
jdbc-2.proxool.driver-url=jdbc:microsoft:sqlserver://90.0.12.20:1433;DatabaseName=navtech;SelectMethod=cursor
jdbc-2.proxool.driver-class=com.microsoft.jdbc.sqlserver.SQLServerDriver
jdbc-2.user=你数据库的用户名
jdbc-2.password=你数据库的密码
jdbc-2.proxool.house-keeping-sleep-time=40000
jdbc-2.proxool.house-keeping-test-sql=select CURRENT_DATE
jdbc-2.proxool.maximum-connection-count=50
jdbc-2.proxool.minimum-connection-count=3
jdbc-2.proxool.maximum-connection-lifetime=18000000
jdbc-2.proxool.simultaneous-build-throttle=5
jdbc-2.proxool.recently-started-threshold=40000
jdbc-2.proxool.overload-without-refusal-lifetime=50000
jdbc-2.proxool.maximum-active-time=60000
jdbc-2.proxool.verbose=true
jdbc-2.proxool.trace=true
jdbc-2.proxool.fatal-sql-exception=Fatalerror
jdbc-2.proxool.prototype-count=2
//中心计费数据库
jdbc-3.proxool.alias=Fee
jdbc-3.proxool.driver-class=oracle.jdbc.driver.OracleDriver
jdbc-3.proxool.driver-url=jdbc:oracle:thin:@90.0.12.20:1521:ORCL
jdbc-3.user=你数据库的用户名
jdbc-3.password=你数据库的密码
jdbc-3.proxool.maximum-connection-count=20
jdbc-3.proxool.prototype-count=4
jdbc-3.proxool.house-keeping-test-sql=select sysdate from DUAL
jdbc-3.proxool.verbose=true
jdbc-3.proxool.statistics=10s,1m,1d
jdbc-3.proxool.statistics-log-level=ERROR
//手机计费数据库
jdbc-4.proxool.alias=Mobile
jdbc-4.proxool.driver-class=oracle.jdbc.driver.OracleDriver
jdbc-4.proxool.driver-url=jdbc:oracle:thin:@90.0.12.112:1521:ORCL
jdbc-4.user=你数据库的用户名
jdbc-4.password=你数据库的密码
jdbc-4.proxool.maximum-connection-count=20
jdbc-4.proxool.prototype-count=4
jdbc-4.proxool.house-keeping-test-sql=select sysdate from DUAL
jdbc-4.proxool.verbose=true
jdbc-4.proxool.statistics=10s,1m,1d
jdbc-4.proxool.statistics-log-level=ERROR

你可能感兴趣的:(properties)