TECH
QUESTION
자주하는 질문답변 입니다.
Oracle
작성자 | 유건데이타 | 등록일 | 2015-05-18 |
제목 | INDEX RANGE SCAN | ||
---|---|---|---|
TUNING TIP
=========== PURPOSE ------- INDEX RANGE SCAN 을 사용하게 하기 위한 TIP Explanation ----------- index range scan 을 위해 index full scan 이나, fast full index 을 피하는 방법은 다음과 같습니다. 먼저 index range scan 보다 index full scan , FFIS 를 선택한 이유는 index 의 LEAFCNT(leaf block count)전체를 읽는 cost 보다, branch level (BLEVEL ) 의 cost, 또는 CLUFAC(clustering factor) 의 cost 가 크다는 의미입니다. 근본적인 해결을 위해서는 index 의 height 를 줄이기 위해 db_block_size 를 늘리거나 , index reorganization 이 필요하며, 일시적으로 이를 방지하려면 역으로 FFIS 나 full index scan cost 를 높이기 위해 index cost 를 결정하는 parameter 를 조정합니다. -fast_full_scan_enabled =false -db_file_multiblock_read_count -sort_area_size 의 값을 작게 조정합니다. |
Comment | |||
---|---|---|---|
등록된 코멘트가 없습니다. |