# 데이터베이스/오라클

[ORACLE] AutoTrace

dev-jjong 2022. 10. 18. 14:40

sql plus 에서 하단 옵션 설정 후 쿼리 수행.

set autotrace on; -- 실제 수행 결과, 실행계획, 실행통계
set autotrace on explain; -- 실제 수행 결과, 실행계획
set autotrace on statistics -- 실제 수행 결과, 실행통계
set autotrace on traceonly -- 실행계획, 실행동계
set autotrace on traceonly explain -- 실행계획(실제 쿼리 수행 안함)