My Oracle Support Banner

JDBC Connection To The Database via Certificate Takes Much Longer Than With Password (Doc ID 2732085.1)

Last updated on DECEMBER 04, 2020

Applies to:

JDBC - Version to [Release 12c to 18c]
Information in this document applies to any platform.


A connection to the database via a certificate takes much longer than with password.

The Oracle JDBC Thin driver version is
Oracle Database server version is
JDK version is

A series of tests were done, as outlined below, running the test application directly on the database server i.e. behind the firewall, but to the same database/user.

First, connecting to the SCAN:
Password 670 ms 45 ms
JKS keystore 730 ms 85 ms
PKCS12 keystore 1200 ms 690 ms
Wallet 710 ms 120 ms

Secondly to the VIP:
Password 500 ms 55 ms
JKS keystore 560 ms 100 ms
PKCS12 keystore 1200 ms 700 ms
Wallet 700 ms 170 ms

And finally directly to the VIP IP address:
Password 450 ms 50 ms
JKS keystore 550 ms 75 ms
PKCS12 keystore 900 ms 500 ms
Wallet 650 ms 120 ms

So whilst these are faster than those seen when there is network/firewall between the client and server, the differences for connection methods are still apparent, with the PKCS#12 keystore still a lot slower than the other methods.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.