Dependencies of Function-Based Indexes【每日一译】--20121212

来源:互联网 发布:阿里云学生优惠没了 编辑:程序博客网 时间:2024/06/01 20:34
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.

基于函数索引取决于使用在表达式中的函数,那个函数定义在索引上。如果函数是一个PL/SQL

函数或者包体函数,索引被不允许的对于函数定义的任何改变。

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.

The following sections describe additional requirements.

去创建一个基于函数的索引,用户必须赋予CREATE INDEX或者CREATE ANY INDEX权限。

为了使用一个基于函数的索引:

#表必须分析当索引被创建时候。

#查询必须确保没有需要的任何NULL值从索引表达式中,因为NULL值不存在索引中。

原创粉丝点击