01.오라클/007.DB Knowledge Base
[오라클]INDEX 값에 대한 설명
redkite
2012. 12. 19. 12:40
- B*Tree Index(Balance Tree Index)
1
2 -> 1과 root의 중간값 (250) is branch value
.. 1~250, 251~500 값 사이의 블럭을 leaf라고함
...---> 중간의 값(500) is root value
....
.... -> root와 1000의 중간값(750) is branch value
1000
** 잦은 insert, delete로 인해 index 공간 활용도가 떨어질 경우 index rebulid 작업으로 가능하나, index create 시부터 dept가 깊어진 경우는 다른 문제로 해결해야 함. - SELECTIVITY
select column_name, num_distinct, density from user_tab_col_statistics where table_name = 'EMPLOYEES';
벨류값이 0.0에 가까울수록 구별할수 있는 값들이 많은것이고 이것을 selectivity가 좋다고 함.