`
streamsong
  • 浏览: 81653 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

ORA-600汇总(上)

 
阅读更多

此文转载 http://space.itpub.net/13558130 mydbalife的文章

 

ora-600是Oracle对于一些内部错误的一个统一的错误号(类似的还有ora-7445)。要判断ora-600错误具体的类型,一般要根据其第一个参数来区分。一个ora-600的例子如下:

ORA-00600: internal error code, arguments: [15700], [3], [0x1DDE1AAB0], [], [], [], [], []

其中15700代表这个错误的具体类型,这是和并行查询相关的一个内部错误,后面的几个参数则是该错误的一些具体参数,不同类型的错误,参数的意义也不尽相同。

ora-600一共有两大类,一类的错误类型以数字标识,另外一类则以字符串标识。数字表示不同的内核层,而字符串则是具体的函数或者模块名。在Metalink的Doc ID: 175982.1中,oracle列举了这两类错误的详细信息,转录在这里以供需要是查询:

数字类型的Ora-600

Ora-600 BaseFunctionalityDescription
1 Service Layer The service layer has within it a variety of service
related components which are associated with in memory related activities in the SGA such as, for example : the management of Enqueues,
System Parameters, System state objects (these objects track the use of structures in the SGA by Oracle server processes), etc..
In the main, this layer provides support to allow process communication and provides support for locking and the management of structures to support multiple user processes connecting and interacting within the SGA. 

 

Note : vos  – Virtual Operating System provides features to support the functionality above.  As the name suggests it provides base functionality in much the same way as is provided by an Operating System.
 

Ora-600 BaseFunctionalityDescription
1 vos Component notifier 
100 vos Debug
300 vos Error
500 vos Lock
700 vos Memory
900 vos System Parameters 
1100 vos System State object 
1110 vos Generic Linked List management 
1140 vos Enqueue
1180 vos Instance Locks 
1200 vos User State object 
1400 vos Async Msgs 
1700 vos license Key 
1800 vos Instance Registration 
1850 vos I/O Services components
2000 Cache Layer Where errors are generated in this area, it is advisable
to check whether the error is repeatable and whether the error is perhaps associated with recovery or undo type operations; where
this is the case and the error is repeatable, this may suggest some kind of hardware or physical issue with a data file, control
file or log file. The Cache layer is responsible for making the changes to the underlying files and well as managing the related memory structures in the SGA. 

 

Note :rcvindicates recovery. It is important to remember that the Oracle cache layer is effectively going through the same code paths as used by the recovery mechanism.
 

Ora-600 BaseFunctionalityDescription
2000 server/rcv Cache Op
2100 server/rcv Control File mgmt 
2200 server/rcv Misc (SCN etc.) 
2400 server/rcv Buffer Instance Hash Table 
2600 server/rcv Redo file component 
2800 server/rcv Db file 
3000 server/rcv Redo Application 
3200 server/cache Buffer manager 
3400 server/rcv Archival & media recovery component 
3600 server/rcv recovery component
3700 server/rcv Thread component 
3800 server/rcv Compatibility segment

It is important  to consider when the error occurred and the context in which the error was generated. If the error does not reproduce, it may be an in memory issue.
 

4000 Transaction Layer Primarily the transaction layer is involved with maintaining
structures associated with the management of transactions.  As with the cache layer , problems encountered in this layer may indicate some kind of issue at a physical level. Thus it is important to try and repeat the same steps to see if the problem recurs. 

 

 

Ora-600 BaseFunctionalityDescription
4000 server/txn Transaction Undo 
4100 server/txn Transaction Undo 
4210 server/txn Transaction Parallel 
4250 server/txn Transaction List 
4300 space/spcmgmt Transaction Segment 
4400 txn/lcltx Transaction Control 
4450 txn/lcltx distributed transaction control
4500 txn/lcltx Transaction Block 
4600 space/spcmgmt Transaction Table 
4800 dict/rowcache Query Row Cache 
4900 space/spcmgmt Transaction Monitor 
5000 space/spcmgmt Transaction Extent 

It is important to try and determine what the object involved in any reproducible problem is. Then
use the analyze command. For more information, please refer to the analyze command as detailed in the context of Note 28814.1; in addition, it may be worth using the dbverify as discussed inNote 35512.1.

 

6000 Data Layer The data layer is responsible for maintaining and managing
the data in the database tables and indexes. Issues in this area may indicate some kind of physical issue at the object level and
therefore, it is important to try and isolate the object and then perform. an anlayze on the object to validate its structure. 

 

 

Ora-600 BaseFunctionalityDescription
6000 ram/data
ram/analyze
ram/index
data, analyze command and index related activity
7000 ram/object lob related errors
8000 ram/data general data access
8110 ram/index index related
8150 ram/object general data access

Again, it is important to try and determine what the object involved in any reproducible problem is.
Then use the analyze command. For more information, please refer to the analyze command as detailed in the context of Note 28814.1; in addition, it may be worth using the dbverify as discussed inNote 35512.1.

 

12000 User/Oracle Interface & SQL Layer Components This layer governs the user interface with the Oracle
server. Problems generated by this layer usually indicate : some kind of presentation or format error in the data received by the
server, i.e. the client may have sent incomplete information; or there is some kind of issue which indicates that the data is received out of sequence

 

 

Ora-600 BaseFunctionalityDescription
12200 progint/kpo
progint/opi
lob related
errors at interface level on server side, xa , etc.
12300 progint/if OCI interface to coordinating global transactions 
12400 sqlexec/rowsrc table row source access
12600 space/spcmgmt operations associated with tablespace : alter / create / drop operations ; operations associated with create table / cluster
12700 sqlexec/rowsrc  bad rowid
13000 dict/if dictionary access routines associated with kernel compilation
13080 ram/index kernel Index creation
13080 sqllang/integ constraint mechanism
13100 progint/opi archival and Media Recovery component
13200 dict/sqlddl alter table mechanism
13250 security/audit audit statement processing
13300 objsupp/objdata support for handling of object generation and object access
14000 dict/sqlddl sequence generation
15000 progint/kpo logon to Oracle
16000 tools/sqlldr sql loader related

You should try and repeat the issue and with the use of sql trace , try and isolate where exactly the issue may be occurring within the application.

14000 System Dependent Component internal error values This layer manages interaction with the OS. Effectively
it acts as the glue which allows the Oracle server to interact with the OS. The types of operation which this layer manages are indicated as follows.

 

 

Ora-600 BaseFunctionalityDescription
14000 osds File access
14100 osds Concurrency management; 
14200 osds Process management;
14300 osds Exception-handler or signal handler management
14500 osds Memory allocation
15000 security/dac,
security/logon
security/ldap
local user access validation; challenge / response activity for
remote access validation; auditing operation; any activities associated with granting and revoking of privileges; validation of password with external password file
15100 dict/sqlddl this component manages operations associated with creating, compiling (altering), renaming, invalidating, and dropping  procedures, functions, and packages.
15160 optim/cbo cost based optimizer layer is used to determine optimal path to the data based on statistical information available on the relevant tables and indexes.
15190 optim/cbo cost based optimizer layer. Used in the generation of a new index to determine how the index should be created. Should it be constructed from the table data or from another index.
15200 dict/shrdcurs used to in creating sharable context area associated with shared cursors
15230 dict/sqlddl manages the compilation of triggers
15260 dict/dictlkup
dict/libcache
dictionary lookup and library cache access
15400 server/drv manages alter system and alter session operations
15410 progint/if manages compilation of pl/sql packages and procedures
15500 dict/dictlkup performs dictionary lookup to ensure semantics are correct
15550 sqlexec/execsvc
sqlexec/rowsrc
hash join execution management; 
parallel row source management
15600 sqlexec/pq component provides support for Parallel Query operation
15620 repl/snapshots manages the creation of snapshot or materialized views as well as related snapshot / MV operations
15640 repl/defrdrpc layer containing various functions for examining the deferred transaction queue and retrieving information
15660 jobqs/jobq manages the operation of the Job queue background processes
15670 sqlexec/pq component provides support for Parallel Query operation
15700 sqlexec/pq component provides support for Parallel Query operation; specifically mechanism for starting up and shutting down query slaves
15800 sqlexec/pq component provides support for Parallel Query operation
15810 sqlexec/pq component provides support for Parallel Query operation; specifically functions for creating mechanisms through which Query co-ordinator can communicate with PQ slaves;
15820 sqlexec/pq component provides support for Parallel Query operation
15850 sqlexec/execsvc component provides support for the execution of SQL statements
15860 sqlexec/pq component provides support for Parallel Query operation
16000 loader sql Loader direct load operation;
16150 loader this layer is used for ‘C’ level call outs to direct loader operation;
16200 dict/libcache this is part of library Cache operation. Amongst other things it manages the dependency of SQL objects and tracks who is permitted to access these objects;
16230 dict/libcache this component is responsible for managing access to remote objects as part of library Cache operation;
16300 mts/mts this component relates to MTS (Multi Threaded Server) operation
16400 dict/sqlddl this layer contains functionality which allows tables to be loaded / truncated and their definitions to be modified. This is part of dictionary operation;
16450 dict/libcache this layer layer provides support for multi-instance access to the library cache; this functionality is applicable therefore to OPS environments;
16500 dict/rowcache this layer provides support to load / cache Oracle’s dictionary in memory in the library cache;
16550 sqlexec/fixedtab this component maps data structures maintained in the Oracle code to fixed tables such that they can be queried using the SQL layer;
16600 dict/libcache this layer performs management of data structures within the library cache;
16651 dict/libcache this layer performs management of dictionary related information within library Cache;
16701 dict/libcache this layer provides library Cache support to support database creation and forms part of the bootstrap process;
17000 dict/libcache this is the main library Cache manager. This Layer maintains the in memory representation of cached sql statements together will all the necessary support that this demands;
17090 generic/vos this layer implementations error management operations: signalling errors, catching  errors, recovering from errors, setting error frames, etc.;
17100 generic/vos Heap manager. The Heap manager manages the storage of internal
data in an orderly and consistent manner. There can be many heaps serving various purposes; and heaps within heaps. Common examples
are the SGA heap, UGA heap and the PGA heap. Within a Heap there are consistency markers which aim to ensure that the Heap is always in a consistent state. Heaps are use extensively and are in memory structures – not on disk. 
17200 dict/libcache this component deals with loading remote library objects into the local library cache with information from the remote database.
17250 dict/libcache more library cache errors ; functionality for handling pipe operation associated with dbms_pipe
17270 dict/instmgmt this component manages instantiations of procedures, functions,
packages, and cursors in a session. This provides a means to keep track of what has been loaded in the event of process death; 
17300 generic/vos manages certain types of memory allocation structure.  This functionality is an extension of the Heap manager.
17500 generic/vos relates to various I/O operations. These relate to async i/o operation,  direct i/o operation and the management of writing buffers from the buffer cache by potentially a number of database writer processes;
17625 dict/libcache additional library Cache supporting functions
17990 plsql plsql ’standard’ package related issues
18000 txn/lcltx transaction and savepoint management operations 
19000 optim/cbo cost based optimizer related operations
20000 ram/index bitmap index and index related errors.
20400 ram/partnmap operations on partition related objects
20500 server/rcv server recovery related operation
21000 repl/defrdrpc, 
repl/snapshot,
repl/trigger
replication related features
23000 oltp/qs AQ related errors.
24000 dict/libcache operations associated with managing stored outlines
25000 server/rcv tablespace management operations

 

 

分享到:
评论

相关推荐

    ORACLE错误大全

    这篇"ORACLE错误大全"的文档很可能是对Oracle数据库常见错误的汇总,包含了详细的错误代码、错误含义以及可能的解决方法。虽然没有提供具体的文档内容,但我们可以根据常见的Oracle错误类型和处理策略进行一些讨论。...

    Oracle Exception汇总(自定义Oracle异常)

    7. **DUP_VAL_ON_INDEX** (ORA-00001): 当在具有唯一约束的索引列上插入重复值时,会发生这个异常。在插入数据前,需要检查数据的唯一性。 8. **INVALID_CURSOR** (ORA-01001): 当试图操作一个非法或已关闭的游标时...

    Oracle---文档总汇

    "Oracle---文档总汇"集合了一系列与Oracle数据库相关的学习资料,旨在帮助用户全面理解和掌握Oracle数据库的各项功能和操作技巧。 1. **Oracle8i_9i数据库基础.doc**:这个文档可能涵盖了Oracle 8i和9i的基础知识,...

    wmsys.wm_concat详细示例.txt

    `OVER`子句允许我们定义一个窗口,这个窗口可以在整个结果集上,也可以基于某些特定的分组。这使得我们可以计算跨行的聚合函数,而不仅仅是针对单个分组。 #### 分组窗口 通过`OVER`子句指定`PARTITION BY`,我们...

    Ora 9i SQL参考手册

    综上所述,《Ora 9i SQL参考手册》涵盖了9i版本SQL的广泛内容,包括查询优化、并发控制、索引策略、数据仓库、事务处理、安全性、XML支持以及PL/SQL编程等多个方面,是学习和掌握9i SQL不可或缺的参考资料。...

    Oracle数据库TNS常见错误的解决方法汇总

    在日常操作中,用户可能会遇到各种TNS相关的错误,这些错误通常是由于网络配置问题、服务未启动、注册表损坏或TNS配置文件(TNSNAMES.ORA)不正确导致的。下面我们将逐一探讨这些常见错误及其解决方案。 1. **ORA-...

    GoldenGate故障解决方法汇总

    - 故障描述:当GoldenGate尝试执行DDL(数据定义语言)操作,如解锁用户,但发现目标数据库中该用户不存在时,会抛出ORA-01918错误。 - 解决方法: - 方法1:如果不需要在目标端同步该用户,可以通过修改...

    Oracle常见问题解决方案汇总

    以上就是Oracle常见问题及其解决方案的汇总。希望本文的内容能够帮助到学习或工作中遇到Oracle数据库问题的朋友们,为大家提供一定的参考价值。同时,我们也鼓励大家对Oracle数据库的维护和管理持续学习和深入研究,...

    oracle 遇见过的错误集锦

    这篇博文“oracle 遇见过的错误集锦”可能汇总了作者在操作Oracle数据库时遇到的常见问题和解决方法,虽然描述中并未提供具体细节,但我们可以从标签“源码”和“工具”推测,内容可能涉及编程接口(如PL/SQL)的...

    oracle遇到的问题汇总[参照].pdf

    ### Oracle遇到的问题汇总知识点 #### 一、解决事务量大导致的日志切换频繁问题 **背景**:在Oracle数据库管理中,当系统处理大量的事务时,可能会遇到日志切换过于频繁的问题,这不仅会影响系统的性能,还可能...

    ASM实例+ASM数据库安装(Win8+Ora10)

    在本部分,我们将详细介绍如何在Windows 8操作系统上为Oracle 10g ASM实例创建一个未格式化的磁盘分区。该步骤非常重要,因为ASM需要未格式化的磁盘或磁盘分区来进行管理。 ##### 1.1 打开压缩卷窗口 - **操作步骤...

    listener.ora

    "listener.ora" 文件在IT领域中,特别是Oracle数据库管理中扮演着至关重要的角色。它是一个配置文件,用于定义监听器(Listener)的行为,监听器是Oracle数据库系统的一部分,负责接收来自客户端的连接请求并转发到...

    oracle资料

    例如,日期函数如SYSDATE获取当前系统日期,数学函数如ROUND用于四舍五入,字符串函数如SUBSTR用于提取字符串部分,以及聚合函数如SUM、AVG进行数据汇总。了解并熟练掌握这些函数对于编写高效的SQL语句至关重要。 2...

    oracle10g 报错信息汇总

    CHM文件是Windows平台上的编译帮助文件,内容结构清晰,便于搜索和浏览。 在处理Oracle 10g错误时,DBA应遵循以下步骤: 1. **记录错误**:当遇到错误时,首先记录错误代码和错误消息,这将有助于后续的诊断。 2....

Global site tag (gtag.js) - Google Analytics