Use below query to monitor currently running queries with parallel threads.

col username for a9
col sid for a8
set lines 299
select
      s.inst_id,
      decode(px.qcinst_id,NULL,s.username,
            ' - '||lower(substr(s.program,length(s.program)-4,4) ) ) "Username",
      decode(px.qcinst_id,NULL, 'QC', '(Slave)') "QC/Slave" ,
      to_char( px.server_set) "Slave Set",
      to_char(s.sid) "SID",
      decode(px.qcinst_id, NULL ,to_char(s.sid) ,px.qcsid) "QC SID",
      px.req_degree "Requested DOP",
     px.degree "Actual DOP", p.spid
   from
     gv$px_session px,
     gv$session s, gv$process p
   where
     px.sid=s.sid (+) and
     px.serial#=s.serial# and
     px.inst_id = s.inst_id
     and p.inst_id = s.inst_id
     and p.addr=s.paddr
  order by 5 , 1 desc
/

DATABASE SCRIPTS


Related Topics

Get sid from ospid
How to monitor parallel queries in oracle db
How to find execution history of an sql_id
Find user commits per minute in oracle database
How to find cpu and memory information of oracle database server
Find the active transactions in oracle database
Script to get cpu usage and wait event information in oracle database
Find sessions consuming lot of CPU
How to get tablespace quota details of an user in oracle
Find pending distributed pending transactions in oracle

You May Also Like

OGG-01028 partial record at sequence extract abended
ORA-20101: TABLESPACE is not a ASSM (Automatic Segment Space Management) tablespace
COLS & COLSEXCEPT FILTER in goldengate
How to multiplex control file in standalone database
ORA-16855: transport lag has exceeded specified threshold
How to add a tempfile in primary database in dataguard
How to disable enable log shipping in standby using dgmgrl
Upgrade grid infrastructure to 19C oracle
How to Downgrade oracle 19C Grid to 12C GRID
Apply database proactive bundle patch in RAC using manual process

From This Website

MySQL Replication and its Types
LREG Background Process in oracle
How to generate AWR report in RAC
Setting up Table replication in oracle goldengate
OUTBOUND_DBLINK_PROTOCOLS in oracle 12.2
COLS & COLSEXCEPT FILTER in goldengate
How to move AUD$ table to another tablespace using DBMS_AUDIT_MGMT
Query clause in oracle datapump expdp
How to move controlfile to a new location in oracle
ORA-30034: Undo tablespace cannot be specified as temporary tablespace