Dependencies of Function-Based Indexes (202)

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-982483/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值