관리 메뉴

moozi

Oracle Explain Plan 본문

TIS_2018/응용sw2018_1기

Oracle Explain Plan

moozi 2018. 4. 9. 15:00

create table t1(c1 int, c2 char(10));


insert into t1 

select level,'dummy' from dual  connect by level<=10000;


create index t1_n1 on t1(c1);



explain plan for

select * from t1 where c1=1 and c2='dummy';


select * from table(dbms_xplan.display);

------------------------------------------------------



SELECT e.ename, e.sal, d.loc, e.deptno

  FROM emp e, dept d

 WHERE e.deptno = d.deptno;

 

 grant plustrace to scott;

 

  ALTER SESSION SET sql_trace = TRUE;

'TIS_2018 > 응용sw2018_1기' 카테고리의 다른 글

transition timing function  (0) 2018.04.10
jQuery mouseWheel 이벤트  (0) 2018.04.10
4/6 gallery01.html  (0) 2018.04.06
jQuery연습문제01  (0) 2018.04.06
4/6 layout11.html  (0) 2018.04.06
Comments