Re: How to find out the original SQL resulted the ERROR message?
- From: zhu chao <zhuchao@xxxxxxxxx>
- To: "Goulet, Dick" <DGoulet@xxxxxxxx>
- Date: Wed, 5 Oct 2005 22:28:07 +0800
Hi, Dick
Your theory is right and I am aware of it. But it does not help.
Unfortunately, in our case, mostly it is database very active, and one SQL
execute too long. SQL is sometimes iin-efficient and it timed out with 1555.
I need to find out the original SQL and contact PD for a solution.
On 10/5/05, Goulet, Dick <DGoulet@xxxxxxxx> wrote:
>
> You've found the statement that errored out in the alert log. The reason
> is one of two things that you now need to figure out. The first is the
> infamous commit across a cursor problem which can be found from a review of
> the application code. The other is a resource issue that you may or may not
> be able to solve. The query in question start out life with a particular
> SCN. Over the time of it's execution data under it was changed and those
> changes committed. Now normally your UNDO or ROLLBACK segments will retain
> the changes so that Oracle can reconstruct what those rows looked like for
> this query. The problem is that those undo or rollback segments are no
> longer available. Now commits across a cursor do this because you yourself
> have released the data and according to the ANSI Sql standard you should
> close & reopen the cursor. The other half of it is either a lack of undo or
> rollback space on your database or a query that just takes way too long to
> run.
>
--
Regards
Zhu Chao
www.cnoug.org <http://www.cnoug.org>
- References:
- RE: How to find out the original SQL resulted the ERROR message?
- From: Goulet, Dick
Other related posts:
- » How to find out the original SQL resulted the ERROR message?
- » Re: How to find out the original SQL resulted the ERROR message?
- » Re: How to find out the original SQL resulted the ERROR message?
- » Re: How to find out the original SQL resulted the ERROR message?
- » RE: How to find out the original SQL resulted the ERROR message?
- » Re: How to find out the original SQL resulted the ERROR message?
- RE: How to find out the original SQL resulted the ERROR message?
- From: Goulet, Dick