Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Excerpt

The number of database connections can affect VIVO's speed.

Set these values in runtime.properties, to control the number of active connections to the database, and the number of idle connections.

Property name

VitroConnection.DataSource.pool.maxActive

DescriptionSpecify the maximum number of active connections in the database connection pool to support the anticipated number of concurrent page requests. It is not necessary to adjust this value when using the RDB configuration.
Default value40
Example value40
Property name

VitroConnection.DataSource.pool.maxIdle

Description Specify the maximum number of database connections that will be allowed to remain idle in the connection pool. Default is 25% of the maximum number of active connections.
Default value10
Example value10