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值
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-982483/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-982483/