Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Find table name -- reading from undo

Re: Find table name -- reading from undo

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 08 Jun 2005 09:39:12 -0700
Message-ID: <1118248767.315413@yasure>


Veera wrote:
> Hi,
>
> We used to look into the v$sess_io whenever we get a request to find
> status of a long running job. And if we see CONSISTENT_CHANGES column
> in v$sess_io is increasing then we will say "this session is reading
> from undo ".
>
>
> Now my question is
>
> Is there any way to find the table for which it is reading UNDO to get
> consistant image.
>
> Thanks

Rather than the question you asked perhaps you should have asked: "What is the best way to monitor long running jobs?"

The solution is to use the DBMS_APPLICATION_INFO package's SET_SESSION_LONGOPS procedure.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Wed Jun 08 2005 - 11:39:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US