Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions source/adminguide/tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,25 @@ at `MySQL Reference
Manual <http://dev.mysql.com/doc/refman/5.5/en/innodb-buffer-pool.html>`_.


Selecting Database Connection Pool Library
------------------------------------------

CloudStack uses JDBC connection pool to manage and use database connections
in an optimal manner. It allows using either
`HikariCP <https://github.com/brettwooldridge/HikariCP>`_ or
`DBCP 2 <https://commons.apache.org/dbcp/>`_ based on the preference for
individual CloudStack databases - cloud, cloud_usage, simulator.

The following settings can be configured in the db.properties configuration
file for the management server or usage server:
db.cloud.connectionPoolLib
db.cloud_usage.connectionPoolLib
db.simulator.connectionPoolLib

To use DBCP 2, the value for the configuration must be set to 'dbcp'. An
empty value or 'hikaricp' will allow using HikariCP.


Monitor the Database Load
-------------------------

Expand Down