함수기반 (Function Based) 인덱스의 활용
1. 컬럼의 중간 부분의 검색 create index from_loc_idx on orders (substr(ship_id,5,3)); create index repair_loc_idx on orders (substr(ship_id,3,2), ord_date); 2. 조인 연결고리 컬럼이 대응하지 않는 경우의 해결 ...... from item_group x, items y where x.class1||x.class2||x.class3 = y.group_cd ...... ...... from item_gropu x, items y where x.class1 = substr(y.group_cd,1,2) and x.class2 = substr(y.group_cd,3,2) and x.class3 = subst..
2010. 4. 28.