ORA-29928: duplicate default selectivity specified ORACLE 报错 故障修复 远程处理

文档解释

ORA-29928: duplicate default selectivity specified

Cause: The keyword DEFAULT SELECTIVITY can only be specified once.

Action: Remove the duplicate keyword.

ORA-29928: duplicate default selectivity specified错误指示出现了重复的默认选择性指定。

官方解释

常见案例

一般处理方法及步骤

1. 查询v$object_dependency视图了解索引的名称。

2. 使用以下查询查看索引的选择性:

select column_name, SELECTIVITY, DEFAULT_SELECTIVITY

from user_ind_columns where index_name =

‘[name of the index]’

3. 将DEFAULT_SELECTIVITY字段分别更改为“NO”和“CHOOSE”:

update user_ind_columns set DEFAULT_SELECTIVITY = ‘NO’

where index_name = ‘[name_of_the_index]’

and DEFAULT_SELECTIVITY = ‘CHOOSE’;

update user_ind_columns set DEFAULT_SELECTIVITY = ‘CHOOSE’

where index_name = ‘[name_of_the_index]’;

4. 重试更新操作。

香港美国云服务器首选后浪云,2H2G首月10元开通。
后浪云(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

THE END