Creating database instances for JDBC URLs
Specify a JDBC URL to create a database data instance so that Pega Platform can access a supported external database.
Before you begin:
Pega Platform manages the database connections you create by specifying a JDBC URL. As best practice, when deploying on Pega Cloud Services environments, use JDBC URLs to define database instances. When deploying on-premises or using client-managed cloud systems, use JDBC connection pools. For more information, see Creating database instances for JDBC connection pools.
- If you are connecting to an external database that differs from the internal PostgreSQL Pega Platform database, you must define the driver before making the database connection. To do so, you must download a JDBC driver version compatible with the Java version running on the Pega Platform application server, then define a new dynamic system setting for the driver. For more information, see Defining the database driver. For details about database support and your driver's Java compatibility, see the Platform Support Guide.
- Pega Cloud only: External database instances require a VPN connection. Ensure that the CIDR range added to a list of allowed connections on the VPN for your VPC includes the network for your database endpoints.
Note: By default, one base user per node creates a default connection pool of 20, and
other users (admin and read-only) create 5. External databases do not release
connections when not in use. For more information for configuring database
connection pools created on each node, see Configuring connectivity to an external Pega Platform database.