Skip to content
November 27, 2015 / doganay

ACTIVATE TRACE FOR HASH JOIN FOR A SESSION

select PID, p.PROGRAM
from v$process p, v$session s
where s.paddr=p.addr
and sid= ......... ;
oradebug setorapid <PID from previous step>
oradebug unlimit
oradebug Event 10104 trace name context forever, level 12
oradebug tracefile_name
--do some work
oradebug Event 10104 trace name context off
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: