Explanation of ORACLE ORA-00600 errors

Source: Internet
Author: User

ORACLE ORA-00600 errors are not your program errors. ORACLE internal errors, in general, most ORA-00600 errors are caused by ORACLE
Software bug caused, so for such errors need to contact ORACLE technical support engineers in a timely manner. For this type of ORA-00600 error,
A simple solution is to patch and upgrade the database to a stable version. We recommend that you shield some ORACLE features, such as MTS.
(MultiThread Server ). However, some errors are caused
The table or index (including the application) structure in the database is damaged or caused by other reasons.
1: ORA-600 [12700] indicates that some entities (tables/indexes) corresponding to the execution of the SQL statement are corrupt;
The error handling method is:
? Modify the init $ ORACLE_SID.ora file and add the following lines:
Event = "10210 trace name context forever level 10"
Event = "10211 trace name context forever level 10"
Event = "10231 trace name context forever level 10
? Run the following statement:
Analyze table/index/cluster [name] validate structure;
? If it is suspected that the data dictionary is damaged, the above method cannot be used to analyze the table,
Because running the above operations on some platforms will paralyze the system and execute the following stored procedure:
DBMS_UTILITY.ANALYZE_SCHEMA
Example 2: An error occurred while performing read/write operations on the database: ORA-00600: internal error
Code, arguments: [4519], [6711], [2],… The object data corresponding to the SQL statement execution.
The block [6711] structure is damaged. The error is handled as follows:
? Perform the following package for analysis:
Svrmgrl> select dbms_utility.data_block_address_file (6711) from dual;
Svrmgrl> select dbms_utility.data_block_address_blocks (6711) from dual;
Find the corresponding block_id and file_id.
? Use the following SQL command to find the destroyed object type and owner:
Svrmgrl> select segment_name, segment_type, owner
? From dba_extents
? Where file_id = file # and block #
? Block_id and block_id + blocks-1;
? If the destroyed object is not a system table or index, you can
Back up and recreate the object. If the error is a system table or index, you must
Handle the problem according to the actual situation.
In addition, using ResultSet to execute insert, update, delete is feasible in principle, but the efficiency is very low, and it is impossible to test whether the operation is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.