Excellent Solution, Small question to this
Sreekanth, July 28, 2001 - 2:24 pm UTC
The solution is excellent, I guess the down time of the table is affordable compared to the frequent failures with 1555 error. It also avoids future performance problems on the table.
Hi Tom,
Just in case we assume the table is not partitioned. How about partitioning it ? while we do the re-building of the table . Will that reduce any down time in this scenario ?Or does it have any other side effects ? Please clarify
Thanks
Long running queries
Js, December 17, 2004 - 2:25 pm UTC
Hi,
As you said long running queries can be a reason of
ora-1555. Could you pls. explain how can we know the long
running queries of our database.
Actualy we are getting ora-1555 frequently in our production server.
One month back every thing was fine.
Is there any way to get which long running query or heavy
updation is genrating ora-1555.
Thanks
December 18, 2004 - 8:36 am UTC
if you are using 9i, v$sql shows runtimes (elapsed, cumulative runtimes).
The long running queries are not the cause of the 1555 as much as they are victim.
What causes a 1555?
simply put: insufficient undo has been configured for the system.
What makes a 1555 for a long running query stop happening?
simply put: one of two things. A) make the query run faster or B) configure sufficient undo for your system.
the long story is of course, above.
If you are using 9i and up, use AUM (automatic undo management), this will let you use the v$undostat view to monitor in a very detailed fashion how well you are doing in this area, how many queries failed with 1555's and when, and how much more undo you would actually need to support your system's workload.