My Oracle Support Banner

Data Transport Slowness Through JDBC (Doc ID 2422069.1)

Last updated on JANUARY 04, 2023

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Data transport slowness through JDBC .

When connecting from a remote application server to a database in the primary site using JDBC, if the query is wrapped in a count(*),  the results are fast.

Trying to get the 204k records, it takes 24 minutes. If the same query is executed from a local application server (same as primary database), the 204k records return in seconds.

The issue can be reproduced at will with the following steps:
1.Run query rapped in a count(*) using JDBC. Note the time.
2. Run query trying to get the 204K records from a remote client. Note the time.
3. Run query trying to get the 204K records from a local client (same as database). Note the time.




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.