빵이 익어가는 블로그

    Nested Loop 2

    Nested Loop 예제

    한쪽 연결고리 이상 select * from sales s, customers c where s.customer_id = c.customer_id X O -- index 유무 and s.saledate like '2010%' --> 10만건, saledate index 존재 and c.last_name = 'Lewis'; --> 10건, last_name index 존재 select statement nested loop table access (sales) index (saledate idx) table access (customers) index (customer_id idx) 양쪽 연결고리 정상 create index sales_customer_id_idx on sales(customer_id); ..

    오라클/Tuning 2010.05.16

    Nested Loop

    1. 기본 사항 Nested Loop은 index의 유무와 대상 table의 크기에 따라 driving table이 결정된다. Nested Loop에서 driving table의 선정은 아래와 같이 4가지 조건으로 분류할 수 있다. select * from emp e, dept d where e.deptno = d.deptno index X X --> driving 테이블 : 작은 테이블 (optimizer_stats로 판단) index X O --> driving 테이블 : index가 없는 쪽 (항상 index가 없는 쪽에서 먼저 실행된다.) index O X --> driving 테이블 : index가 있는 쪽 (항상 index가 없는 쪽에서 먼저 실행된다.) index O O --> driving..

    오라클/Tuning 2010.05.08
    이전
    1
    다음
    더보기
    프로필사진

    빵이 익어가는 블로그

    인생의 빵을 보다 맛있고 보다 향기로운 빵으로 만들기 위해 매일매일 빵을 반죽하고 구워가는 빵순이의 블로그

    • 전체보기
      • 나의 일상
      • 뽐뿌~^0^
      • 갤러리
      • 오라클
        • SQL
        • PL/SQL
        • Admin1
        • Backup & Recovery
        • Tuning
        • Tip
        • OWI
        • RAC
      • 리눅스
      • Oracle 설치
        • Oracle 9i 설치 및 패치
        • Oracle 10g RAC 구축
        • Oracle 11g RAC 구축
        • Oracle DataGuard 구성

    Tag

    RAC 설치, oracle 9i 설치, OEL5.5, Oracle Wait Event 모니터링, RAC, iPhone4, raw device, wait 사례, Oracle, 모멘터스, 아이폰4, 서울모터쇼, Oracle 10g RAC, Oracle 9i, OWI, oracle11g RAC 구축, RHEL4, vmware tools 설치, oracle11g rac, index,

    최근글과 인기글

    • 최근글
    • 인기글

    최근댓글

    공지사항

    페이스북 트위터 플러그인

    • Facebook
    • Twitter

    Archives

    Calendar

    «   2025/08   »
    일 월 화 수 목 금 토
    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

    방문자수Total

    • Today :
    • Yesterday :

    Copyright © Kakao Corp. All rights reserved.

    • 현기 블로그
    • 오라클 스터디
    • 오라클 백과사전
    • 방샘 블로그
    • Oracle 고수를 향하여..
    • 정구 블로그
    • 오라클 클럽
    • 창오 블로그
    • 욱짜의 블로그
    • 빵이 익어가는 디스크

    티스토리툴바