Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

'cursor: pin S wait on X': possible to prevent Oracle from making children cursors ?

3038990Mar 2 2017 — edited Mar 3 2017

Hello,

In 12c do you know a way to tell Oracle to stop creating different versions of SQL cursors ?

Say I have a statement like:

select * from table where column = :A1

It *seems* (from our investigations) that if the application sends hundreds or thousands

of A1 variables (varchar2 in this case) having different lengths, another version of this

cursor will be made.

We would like to disable this behaviour - but is it possible ? (tell Oracle "OK now you've

got one version, that's enough, don't bother making a new one"...)

Thanks a lot.

Regards,

Seb

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2017
Added on Mar 2 2017
16 comments
1,190 views