great!!
Lou, May 14, 2005 - 8:37 pm UTC
But how can I use the information from v$session_longops
and pass it back to less say dbms_lock? so that I know how long the operation took and so passing the time it took dinamically to dbms_lock so that the next procedure run in in serial?
Thanks ;:
May 14, 2005 - 9:19 pm UTC
don't get it....
dbms_lock is a SERIALIZATION device. there is no "timing" information to be fed into it.
If you want to serialize
then
use dbms-lock to create a lock in EXCLUSIVE MODE
end if
A reader, May 16, 2005 - 12:20 pm UTC
Hi Tom,
What if it is a NESTED LOOP / unique index reads / index range scans etc ?
Is there any way we can estimate the time to completion for those operatins ?
thanks
Regi
May 16, 2005 - 1:18 pm UTC
not really (but if they are taking long -- it probably means you should have them in place, they are for "quick" answers....)