----- Current SQL Statement for this session (sql_id=fq3nn8hd5k76r) -----
EXPLAIN PLAN FOR SELECT pad FROM t WHERE n1 = 1 OR n2 = 2
sql_text_length=58
sql=EXPLAIN PLAN FOR SELECT pad FROM t WHERE n1 = 1 OR n2 = 2
----- Explain Plan Dump -----
----- Plan Table -----
============
Plan Table
============
------------------------------------------------+-----------------------------------+
| Id | Operation | Name | Rows | Bytes | Cost | Time |
------------------------------------------------+-----------------------------------+
| 0 | SELECT STATEMENT | | | | 4 | |
| 1 | CONCATENATION | | | | | |
| 2 | TABLE ACCESS BY INDEX ROWID | T | 1 | 111 | 2 | 00:00:01 |
| 3 | INDEX RANGE SCAN | I2 | 1 | | 1 | 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID | T | 1 | 111 | 2 | 00:00:01 |
| 5 | INDEX RANGE SCAN | I1 | 1 | | 1 | 00:00:01 |
------------------------------------------------+-----------------------------------+
Predicate Information:
----------------------
3 - access("N2"=2)
4 - filter(LNNVL("N2"=2))
5 - access("N1"=1)
----- Current SQL Statement for this session (sql_id=7jjmgcd6suhyr) -----
EXPLAIN PLAN FOR SELECT pad FROM t WHERE n3 = 3 OR n4 = 4
sql_text_length=58
sql=EXPLAIN PLAN FOR SELECT pad FROM t WHERE n3 = 3 OR n4 = 4
----- Explain Plan Dump -----
----- Plan Table -----
============
Plan Table
============
-------------------------------------+-----------------------------------+
| Id | Operation | Name | Rows | Bytes | Cost | Time |
-------------------------------------+-----------------------------------+
| 0 | SELECT STATEMENT | | | | 128 | |
| 1 | TABLE ACCESS FULL | T | 4705 | 492K | 128 | 00:00:01 |
-------------------------------------+-----------------------------------+
Predicate Information:
----------------------
1 - filter(("N3"=3 OR "N4"=4))
- 강좌 URL : http://www.gurubee.net/lecture/4354
- 구루비 강좌는 개인의 학습용으로만 사용 할 수 있으며, 다른 웹 페이지에 게재할 경우에는 출처를 꼭 밝혀 주시면 고맙겠습니다.~^^
- 구루비 강좌는 서비스 제공을 위한 목적이나, 학원 홍보, 수익을 얻기 위한 용도로 사용 할 수 없습니다.