: CPU 100% 원인 분석 ==> 일부 세션에 대한 SQL 추적 파일 생성 설정
변수 값에 의한 SLQ 수행 저하
tkprof orcl_ora_3242.trc tkprof_out.txt sort='(FCHCPU,EXECPU,PRSCPU)' aggregate=NO
PARSING IN CURSOR #4 len=58 dep=0 uid=59 oct=3 lid=59 tim=1462465357869 hv=3866278416 ad='adf220f8'
PARSING IN CURSOR #3 len=58 dep=0 uid=59 oct=3 lid=59 tim=1462478177580 hv=3866278416 ad='adf220f8'
[tgdom]tguniz:/app/oracle/admin/tgdom/udump> grep "FETCH" tgdom_ora_23926.trc
FETCH #13:c=30000,e=32284,p=0,cr=2993,cu=0,mis=0,r=1,dep=0,og=1,tim=1371386316347
FETCH #13:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=1371386324478
[tgdom]tguniz:/app/oracle/admin/tgdom/udump> grep "FETCH" tgdom_ora_23926.trc |cut -f1 -d,
FETCH #13:c=30000
FETCH #13:c=0
[tgdom]tguniz:/app/oracle/admin/tgdom/udump> grep "FETCH" tgdom_ora_23926.trc |cut -f1 -d,| cut -f2 -d:
c=30000
c=0
[tgdom]tguniz:/app/oracle/admin/tgdom/udump> grep "FETCH" tgdom_ora_23926.trc |cut -f1 -d,| cut -f2 -d:|sort -nt= -k 2
c=0
c=30000