Precompilers and OCI (MOSC)

MOSC Banner

Cursor performance in a Cobol program gets worse after moving the cursor into a pl/sql package

edited Jun 10, 2015 10:00AM in Precompilers and OCI (MOSC) 5 commentsAnswered


I had a Cobol program which declared, opened and then fetched from a cursor for about 300000 times. Since I wanted to include a little bit more modifications with the cursor I moved the cursor into a pl/sql-package in the database and developed procedures for open, fetch and close. Then, in the Cobol program I changed the direct handling of the cursor into calls of these procedures. These changes resulted in a much longer time for the program. In fact the time was about three or four times longer. Do you have an explanation for this behaviour?

With best regards,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center