Default Database Connection Pool in DHIS2 2.41.8

Hi everyone,

I’m looking for some clarification regarding the database connection pool used in DHIS2 version 2.41.8.

Is Hikari (HikariCP) the default database connection pool in this version, or does it need to be explicitly configured?

I’m trying to confirm whether this setting is required or whether Hikari is already the default in DHIS2 2.41.8.

I’d appreciate any confirmation.

Thanks in advance!

Hi @dmbantu

Welcome back to the CoP! If you’re in version 41, you would be using the default (C3P0) connection pool (but it will is deprecated in the newer v43+ versions); therefore, you are on the right path to migrate into HiakariCP.

If you’re interested in using HiakriCP then please follow the migration guide: Connection Pool Configuration - DHIS2 Documentation

Please start by testing in the development/clone instance before applying in the production instance. If you face any technical issues or if there’s a step that’s not clear, please ask here. I hope it goes well!

Thanks!