Dependencies of Function-Based Indexes (202)

tsinglee發表於2007-11-15

Function-based indexes depend on the function used in the expression that defines the
index. If the function is a PL/SQL function or package function, the index is disabled
by any changes to the function specification.

To create a function-based index, the user must be granted CREATE INDEX or CREATE
ANY INDEX.

To use a function-based index:
■ The table must be analyzed after the index is created.
■ The query must be guaranteed not to need any NULL values from the indexed
expression, because NULL values are not stored in indexes.


函式索引的依賴性
1. 如果函式索引中的表示式為 PL/SQL 函式或包函式,當函式宣告發生變化時,索引將失效。
2. 需要授予create (any) index許可權才能建立按函式索引
3. 使用函式索引 , 表必須在索引建立後進行分析 , 且表示式中沒有NULL值

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-982483/,如需轉載,請註明出處,否則將追究法律責任。

相關文章