周六一台数据库报ora600,查了下mos,问题不大,记录一下。
ORA-00600: internal error code, arguments: [15851], [3], [2], [1],[1], [], [], [] ORA-00600: internal error code, arguments: [15851], [3], [2], [1],[1], [], [], [] ORA-06512: at "SYS.DBMS_STATS", line 21275 It matches thisexactly: ORA-600 [15815] When Using DBMS_STATS On TableWith Function Based Index (Doc ID 1092675.1) But it doesn‘t talk about any workaround. Thesolution is to apply a patch or upgrade to 11.2.0.2. Interestingly, this note ORA-600: [15851] when Gathering Statistics(Doc ID 1111618.1) seems to be about the same problem, and inaddition to a patch, it also suggests a workaround: SQL> select index_name, partition_name,num_rows, from dba_ind_partitions where status=‘UNUSABLE‘; SQL> ALTER INDEX <owner>.<name>REBUILD; SQL> ANALYZE TABLE<owner>.<table_name> COMPUTE/ESTIMATE STATISTICS;
时间: 2024-10-02 20:16:26