Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Open cursor recommend package size

0 Likes
1,324

What should be the correct package size, given the number of rows in the table and its width?

The question is related to the appearance of the error: "SQL message: ORA-01555: snapshot too old". If fetch line by line, will it be better?

What should be the correct package size, given the number of rows in the table and its width?

The question is related to the appearance of the error: "SQL message: ORA-01555: snapshot too old". If fetch line by line, will it be better?

2 REPLIES 2
Read only

matt
Active Contributor
1,124

There is no definitive answer. It depends on too many variables. If a package size of 100'000 is too big, try 10'000 etc.

Read only

Sandra_Rossi
Active Contributor
1,124

That usually happens because the table is updated at the same time by another process which updates a lot and commits rarely. Try to find out what job was running at the same time.