My Oracle Support Banner

How To Set The Prefetch Value For A REF CURSOR Using Pro*C Embedded SQL (Doc ID 1498901.1)

Last updated on MARCH 04, 2022

Applies to:

Precompilers - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Goal

11gr2 has a way to set the prefetch value on a REF CURSOR using OCI, JDBC 2.0 etc. However, this functionality is not available for precompiler based application such as Pro*C. This functionality was added for OCI and JDBC primarily because of customers migrating applications from Sybase to Oracle and have seen significant performance degradation without the prefetch of REF CURSORS. However, there is no solution for Pro*C applications.
 

Solution

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
Goal
Solution
References


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