ALTER SESSION SET events '10053 trace name context forever'
ALTER SESSION SET events '10053 trace name context off'
ALTER SYSTEM SET events 'trace[rdbms.SQL_Optimizer.*][sql:9s5u1k3vshsw4]'
ALTER SYSTEM SET events 'trace[rdbms.SQL_Optimizer.*][sql:9s5u1k3vshsw4] off'
dbms_sqldiag.dump_trace(
p_sql_id => '30g1nn8wdymh3',
p_child_number => 0,
p_component => 'Optimizer',
p_file_id => 'test'
);
----- Current SQL Statement for this session (sql_id=gbxvdrz7jvt80) ----
SELECT count(n) FROM t WHERE n BETWEEN 6 AND 19
----- Explain Plan Dump ----
--------------------------------------+-----------------------------------+
| Id | Operation | Name | Rows | Bytes | Cost | Time |
--------------------------------------+-----------------------------------+
| 0 | SELECT STATEMENT | | | | 2 | |
| 1 | SORT AGGREGATE | | 1 | 13 | | |
| 2 | TABLE ACCESS FULL | T | 14 | 182 | 2 | 00:00:01 |
--------------------------------------+-----------------------------------+
Predicate Information: ---------------------2 - filter(("N">=6 AND "N"<=19))
Content of other_xml column
===========================
db_version : 11.2.0.3
parse_schema : CHRIS
dynamic_sampling: 2
plan_hash : 2966233522
plan_hash_2 : 1071362934
Outline Data:
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.3')
DB_VERSION('11.2.0.3')
ALL_ROWS
OUTLINE_LEAF(@"SEL$1")
FULL(@"SEL$1" "T"@"SEL$1")
END_OUTLINE_DATA
*/
Optimizer state dump:
Compilation Environment Dump
optimizer_mode_hinted = false
optimizer_features_hinted = 0.0.0
...
_px_numa_support_enabled = true
total_processor_group_count = 1
Bug Fix Control Environment
fix 3834770 = 1
fix 3746511 = enabled
...
End of Optimizer State Dump
ALTER SESSION SET events '10132 trace name context forever'
ALTER SESSION SET events '10132 trace name context off'
ALTER SYSTEM SET events '10132 trace name context forever'
ALTER SYSTEM SET events '10132 trace name context off
- 강좌 URL : http://www.gurubee.net/lecture/4393
- 구루비 강좌는 개인의 학습용으로만 사용 할 수 있으며, 다른 웹 페이지에 게재할 경우에는 출처를 꼭 밝혀 주시면 고맙겠습니다.~^^
- 구루비 강좌는 서비스 제공을 위한 목적이나, 학원 홍보, 수익을 얻기 위한 용도로 사용 할 수 없습니다.