Poor Performance With Query Called From JDBC Using Bind Variables Compared To A DATE Column
(Doc ID 1557194.1)
Last updated on AUGUST 04, 2018
Applies to:JDBC - Version 126.96.36.199 and later
Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
- A query called from JDBC uses bind variables bound with the setTimestamp method. These bind variables are compared to a column with type DATE.
- The plan for the query performs poorly, and may be found to be unstable.
- Desired index on the DATE column is not being used or that the predicate comparing the bind to the column is applied as a filter predicate rather than an access predicate when accessing the index, resulting in slower performance.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!