Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 카카오
- sklearn
- Numpy
- oracle
- 코딩테스트
- level 2
- 프로그래머스
- 알고리즘
- 실기
- Oracel
- SQL
- Python
- 빅데이터 분석 기사
- Kaggle
- 빅분기
- 오라클
- matplotlib
- R
- level 1
- pandas
- 튜닝
- seaborn
- 파이썬
- 머신러닝
- python3
- 데이터 분석
- 실습
Archives
- Today
- Total
목록튜닝 (1)
라일락 꽃이 피는 날
[Oracle] SQL 튜닝
예제 1. -- 튜닝 전 select /*+ gather_plan_statistics */ ename, sal from emp where sal * 12 = 36000; SELECT * FROM TABLE(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST')); -- 튜닝 후 select /*+ gather_plan_statistics */ ename, sal from emp where sal = 36000 / 12; SELECT * FROM TABLE(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST')); 버퍼의 개수가 7개에서 2개로 줄었다. where 절에 검색 조건의 컬럼을 가공하게 되면 index access 를..
프로그래밍/Oracle
2022. 6. 9. 18:02