All Products
Search
Document Center

Performance Testing:Configure a JDBC connection pool

Last Updated:Mar 11, 2026

Performance Testing Service (PTS) uses the open source Druid library to manage Java Database Connectivity (JDBC) connection pools. A connection pool reuses database connections across JDBC requests, reducing connection establishment overhead during load tests.

Prerequisites

Before you begin, make sure that you have:

Configure connection pool parameters

  1. In the JDBC API configuration section, click the Connection Pool Settings tab.

  2. Set the following parameters.

    Parameter

    Description

    Example

    Initial Connections

    The number of physical connections created when the pool initializes. A higher value speeds up early test requests but increases startup time.

    1

    Max Connections

    The maximum number of active connections the pool can hold. When all connections are in use, new requests wait until a connection is released or the wait time expires.

    500

    Min Connections

    The minimum number of idle connections kept in the pool. Druid maintains at least this many connections even when they are not actively used.

    1

    Max Wait Time

    The maximum time, in milliseconds, to wait for an available connection. If no connection becomes available within this period, the request fails with a timeout error.

    4000