select * from main_users没有报错,但执行下面语句报错:
貌似遇到bug
Bug 27397048 - Intermittent ORA-600[kdsgrp1] Raised By Query Using Index (Doc ID 27397048.8) DescriptionORA-600[kdsgrp1] is intermittently raised by a query using index. Error does not occur when the query is retried. Rediscovery Notes You may have encountered this bug when all of the following are true. - ORA-600[kdsgrp1] is seen - Query uses index access path - Not a RAC environment Workaround None |
检查发现,该表的fldname字段上存在约束和索引。
尝试删除约束,重建唯一索引解决。
ALTER TABLE MAIN_USERS
DROP CONSTRAINT TB_MAIN_USERS_FLDNAME CASCADE;
DROP INDEX TB_MAIN_USERS_FLDNAME;
CREATE UNIQUE INDEX IDX_TB_MAIN_USERS_FLDNAME ON MAIN_USERS(FLDNAME);