文档解释
ORA-29822: selectivity cannot be specified for the type of object
Cause: User tried to associate selectivity with index or indextypes which is not allowed .
Action: Specify a valid option.
?
常见案例
1、检查SQL语句,确保这个selectivity参数在正确的情况下使用;
2、执行“SET alter session set optimizer_use_sql_plan_baselines=false”操作,关闭SQL执行计划;
3、使用SQL指令分析功能,建议执行SQL语句的引擎;
4、更新数据表的元数据,确保全部索引都可以正确的访问;
5、如果当前SQL语句是针对某单项列的访问,建议在SQL语句中指定正确的selectivity参数,从而利用ORACLE索引优化。
查看更多关于ORA-29822: selectivity cannot be specified for the type of object ORACLE 报错的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did239464