Menu

1 / 5

Demystifying the AWS Advanced JDBC Driver: Pools, Plugins, and the Traps I Hit

DEV Community·Kris Iyer·7 months ago
#PwrUJHcS
#rds#aws#external#pool#internal
Long article (7384 words) — no AI summary yet.
Reading 0:00
15s threshold

Demystifying the AWS Advanced JDBC Driver: Pools, Plugins, and the Traps I Hit

Date: 2026-04-29

Status: Published

TL;DR

The AWS Advanced JDBC Driver wraps your database driver with a plugin chain that handles failover, read/write splitting, and connection monitoring. The critical gotcha: it can create internal connection pools separate from your application's HikariCP . If you're on v2.x with the F0 profile, you're hitting a hardcoded 30-connection ceiling regardless of your external pool config. The fix: upgrade to v3.x and use connectionPoolType=hikari with cp-MaximumPoolSize properties, or drop profiles entirely and configure plugins manually.

Key invariant: cp-MaximumPoolSize >= external maximumPoolSize to avoid the internal pool becoming your bottleneck.

Quick wins:

Check your driver version: v3.3.0+ recommended

If using F0 profile on v2.x, upgrade immediately

Set exception-override-class-name: software.amazon.jdbc.util.HikariCPSQLException

Keep socketTimeout=0 and let efm2 handle liveness…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.