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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: parallel dml and set transaction quirk

Re: parallel dml and set transaction quirk

From: Jack Silvey <jack_silvey_at_yahoo.com>
Date: Sat, 25 May 2002 12:38:21 -0800
Message-ID: <F001.0046BA82.20020525123821@fatcity.com>


Tim,

Thanks for the info. You are right, no rbs required - this was a holdover from the original script that was implementing a mod()+commit conditional loop. Should have slapped nologging in there too, good catch.

Here is a script I devised for associating PQ parent procs with child processes:

set lines 120
set feed on
set serveroutput on

column spid format a20 heading "parent unix process" column par_sql_text format a50 word_wrapped column username format a20

break on par_sid on par_ser on username on par_sql_text

select se.username,ps.qcsid par_sid, ps.qcserial# par_ser,
pr.sid child_pq_sid,
substr(sq.sql_text,1,1000) par_sql_text
from v$px_process pr, v$px_session ps, v$session se, v$process vp, v$sqlarea sq
where pr.sid = ps.sid

and ps.qcsid = se.sid
and ps.qcserial# = se.serial#
and se.paddr = vp.addr
and se.sql_address = sq.address(+)

order by 1,2,3,4,5
/

/jack silvey


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack Silvey
  INET: jack_silvey_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat May 25 2002 - 15:38:21 CDT

Original text of this message

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