IndexScan
-
[SQL] 인덱스 스캔 방식Database 2023. 7. 5. 00:15
1. Index Range Scan 인덱스 루트 블록에서 리프 블록까지 수직적으로 탐색한 후에 리프블록을 필요한 범위(Range)만 스캔하는 방식 Ex) Index Range Scan (Oracle) create table test1(c1 number,c2 number,c3 number); insert into test1 values(1,2,3); insert into test1 values(4,5,6); insert into test1 values(7,8,9); commit; create index idx1 on test1(c1); set autot on select c1 from test1 where c1=1; C1 ---------- 1 Execution Plan -------------------..