[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


snapshot too old error

Posted on 2012-08-13
Medium Priority
Last Modified: 2012-08-27
How we will resolve snapshot too old error in 9i, 10g and 11g

step by step...
Shall I ask you what are the major causes of snap shot too old error
Question by:tomvv

Accepted Solution

esmail1349 earned 1000 total points
ID: 38287134
LVL 35

Assisted Solution

johnsone earned 1000 total points
ID: 38287708
The major cause of snapshot too old in my experience is fetch across commits.  This is in a PL/SQL procedure where there is a loop that contains a commit and the statements in the loop are updating/deleting the table that is being selected from.

To correct, a combination of the following are used:

Increase undo_retention parameter
Increase the size of the undo tablespace
Re-write the code

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question