|
|
Database Tuning (Advanced Topic)
This knowledge base article is targeted at experienced DBAs running PaperCut on external databases such as Oracle, Postgresql, Microsoft SQL Server or MySQL. Sites experimenting with database tuning parameters are advised to upgrade to the latest version of PaperCut. DBAs are also encourage to speak with the PaperCut development team for advice.
Database tuning parameters are configured via the database connection details in the server.properties file located at:
[install-path]/server/server.properties
This file may be edited with a standard text editor. The following tuning parameters may be appending to this file:
database.pool.min-pool-size
database.pool.min-pool-size=5
database.pool.max-pool-size
database.pool.max-pool-size=<Dynamic based on system configuration>
database.pool.max-idle-secs
database.pool.max-idle-secs=600
database.pool.max-idle-secs-excess-connections
min-pool-size should be permitted to remain idle in the pool before being culled. Zero means no enforcement and excess connections will not be removed, however it setting to zero is NOT recommended, as it will be wasteful. 60 seconds is a reasonable configuration.
database.pool.max-idle-secs-excess-connections=60
database.pool.test-period-secs
database.pool.min-pool-size=120
Categories: Databases, Architecture
keywords: database connection limits, RDMS, performance, data base configuration
Comments
Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.