카테고리 없음2019. 4. 16. 11:17

Smart Scan을 위한 조건
----------------------------
1. Full Table Scan 또는 Fast Full Index Scan, Full Bitmap Index Scan이 발생되어야 한다.


2. Buffer Cache로 부터 블럭을 읽어들이지 않고, Disk로부터 Direct Path Read를 해야한다.
- Parallel Query 는 SMALL TABLE보다 큰 테이블에 대해 Direct Path Read를 해야한다.
- _serial_direct_read=TRUE로 direct read를 강제할 수 있다.


3. Scan되는 Segment는 Exadata Cell Storage 상의 Disk Group에 존재해야 합니다. 즉 Exadata나 SuperCluster 등에서만 동작합니다.


4. CELL_OFFLOAD_PROCESSING=TRUE;로 설정되어 있어야 한다.


5. ASM은 11.2 이상이고, diskgroup의 attributes인 cell.smart_scan_capable=TRUE로 설정되어 얐어야 한다.

 

select b.name "GROUP", a.name "ATTRIBUTE", value
from v$asm_attribute a, v$asm_diskgroup b
where a.group_number = b.group_number
and a.name = 'cell.smart_scan_capable';

 

참고 : https://otsteam.tistory.com/186

Posted by 자수성가한 부자