Oracle

Function-Based Indexes

Figo Kim 2006. 12. 3. 17:30
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
  • Based on expressions
  • Built from table columns, constants, SQL functions, and user-defined functions.

Examples)

CREATE        INDEX    upper_dept_name_index

ON        dept2(UPPER(department_name));

 

SELECT        *

FROM        dept2

WHERE     UPPER(department_name) = 'SALES'

 

The function-based index is used only when a query uses a particular function in the query otherwise the Oracle server may perform a full table scan.

'Oracle' 카테고리의 다른 글

Drop table with PURGE option  (0) 2006.12.03
Drop table with PURGE option  (0) 2006.12.03
INDEX  (0) 2006.12.03
INDEX  (0) 2006.12.03
The SET UNUSED Option  (0) 2006.12.01