Ora-00600:internal error code, arguments: [13011], [9183], [12587093], [52], [12587093], [17], [], []
Ora-08102:index key not found, obj# 9029, file 3, block 35919 (2)
. View objects
Sql> Select Owner,object_name,object_type from dba_objects where object_id=9029;
OWNER
------------------------------
object_name
--------------------------------------------------------------------------------
Object_type
-------------------
SYS
Wrh$_enqueue_stat_pk
INDEX
2. Comparative results
SELECT/*+ Full (T1) *
From Wrh$_enqueue_stat T1
Minus
SELECT/*+ Index (T2 wrh$_enqueue_stat_pk) *
from Wrh$_enqueue_stat T2;
Select/*+ Full (T1) * * snap_id, Dbid,instance_number,eq_type,req_reason
From Wrh$_enqueue_stat T1
Minus
Select/*+ INDEX (T2 wrh$_enqueue_stat_pk) * * snap_id, Dbid,instance_number,eq_type,req_reason
from Wrh$_enqueue_stat T2;
3. View data for a table
Sql> SELECT/*+ Full (T1) */COUNT (*)
2 from Wrh$_enqueue_stat T1;
COUNT (*)
----------
124732
sql> SELECT/*+ Index (T2 wrh$_enqueue_stat_pk) */COUNT (*)
2 from Wrh$_enqueue_stat T2;
COUNT (*)
----------
124591
Sql>
4. Clear Index
ALTER TABLE wrh$_enqueue_stat DROP CONSTRAINT wrh$_enqueue_stat_pk;
5. Create a constraint
ALTER TABLE Wrh$_enqueue_stat ADD (
CONSTRAINT WRH$_ENQUEUE_STAT_PK
PRIMARY KEY
(DBID, snap_id, Instance_number, Eq_type, Req_reason)
USING INDEX
Tablespace sysaux);
The next day, the same error, and then look at the beginning of the table WHR, found that the query results are inconsistent, and then all the constraints cleared, and then rebuilt, solved, ora-00600 problem