Trace Debug help
Sridar Venkatesan, February 13, 2020 - 2:46 am UTC
Thanks a lot Connor,
I could see the below error in the trace,
PARSING IN CURSOR #140189741461552 len=38 dep=2 uid=531 oct=3 lid=531 tim=1581487365704207 hv=3472855628 ad='cabaf1a0' sqlid='d9ggvcr7gz4kc'
SELECT instance_number from v$instance
END OF STMT
PARSE #140189741461552:c=28,e=28,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=1,plh=2529664852,tim=1581487365704207
EXEC #140189741461552:c=7,e=7,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=1,plh=2529664852,tim=1581487365704244
FETCH #140189741461552:c=27,e=27,p=0,cr=0,cu=0,mis=0,r=1,dep=2,og=1,plh=2529664852,tim=1581487365704287
STAT #140189741461552 id=1 cnt=1 pid=0 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=0 pr=0 pw=0 time=28 us cost=0 size=17 card=1)'
STAT #140189741461552 id=2 cnt=1 pid=1 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=0 pr=0 pw=0 time=19 us cost=0 size=6 card=1)'
STAT #140189741461552 id=3 cnt=1 pid=2 pos=1 obj=0 op='FIXED TABLE FULL X$KSUXSINST (cr=0 pr=0 pw=0 time=7 us cost=0 size=6 card=1)'
STAT #140189741461552 id=4 cnt=1 pid=2 pos=2 obj=0 op='BUFFER SORT (cr=0 pr=0 pw=0 time=11 us cost=0 size=0 card=1)'
STAT #140189741461552 id=5 cnt=1 pid=4 pos=1 obj=0 op='FIXED TABLE FULL X$QUIESCE (cr=0 pr=0 pw=0 time=1 us cost=0 size=0 card=1)'
STAT #140189741461552 id=6 cnt=1 pid=1 pos=2 obj=0 op='BUFFER SORT (cr=0 pr=0 pw=0 time=6 us cost=0 size=11 card=1)'
STAT #140189741461552 id=7 cnt=1 pid=6 pos=1 obj=0 op='FIXED TABLE FULL X$KVIT (cr=0 pr=0 pw=0 time=4 us cost=0 size=11 card=1)'
CLOSE #140189741461552:c=1,e=1,dep=2,type=3,tim=1581487365704360
EXEC #140190156924416:c=780,e=811,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=0,tim=1581487365704432
ERROR #140190156924416:err=6502 tim=1581487365704446
Could you please let me know if some trigger has to be disabled for this ?
Let me know if you need more info,
February 18, 2020 - 2:46 am UTC
so if you scroll back from that spot in the trace file to find the last occurence of the parse for cursor 140190156924416 - what is the code ?