iis服务器助手广告广告
返回顶部
首页 > 资讯 > 精选 >ORACLE event的使用说明
  • 881
分享到

ORACLE event的使用说明

2023-06-06 04:06:19 881人浏览 安东尼
摘要

这篇文章给大家介绍oracle event的使用说明,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。eventEvent Reference 10013 - Monitor Transaction Recovery102

这篇文章给大家介绍oracle event的使用说明,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。

event

Event Reference

10013 - Monitor Transaction Recovery10270 - Debug Shared Cursors
10015 - Dump Undo Segment Headers10357 - Debug Direct Path
10032 - Dump Sort Statistics10390 - Dump Parallel Execution Slave Statistics
10033 - Dump Sort Intermediate Run Statistics10391 - Dump Parallel Execution Granule Allocation
10045 - Trace Free List Management Operations10393 - Dump Parallel Execution Statistics
10046 - Enable sql Statement Trace10500 - Trace SMON Process
10053 - Dump Optimizer Decisions10608 - Trace Bitmap Index Creation
10060 - Dump Predicates10704 - Trace Enqueues
10065 - Restrict Library Cache Output for State Object Dumps10706 - Trace Global Enqueue Manipulation
10079 - Dump SQL*Net Statistics10708 - Trace RAC Buffer Cache
10081 - Dump High Water Mark Changes10710 - Trace Bitmap Index Access
10104 - Dump Hash Join Statistics10711 - Trace Bitmap Index Merge Operation
10128 - Dump Partition Pruning InfORMation10712 - Trace Bitmap Index OR Operation
10200 - Dump Consistent Reads10713 - Trace Bitmap Index AND Operation
10201 - Dump Consistent Read Undo Application10714 - Trace Bitmap Index MINUS Operation
10220 - Dump Changes to Undo Header10715 - Trace Bitmap Index Conversion to ROWIDs
10221 - Dump Undo Changes10716 - Trace Bitmap Index Compress / Decompress
10224 - Dump Index Block Splits / Deletes10717 - Trace Bitmap Index Compaction
10225 - Dump Changes to Dictionary Managed Extents10719 - Trace Bitmap Index DML
10241 - Dump Remote SQL Execution10730 - Trace Fine Grained Access Predicates
10246 - Trace PMON Process10731 - Trace CURSOR Statements
10248 - Trace Dispatcher Processes10928 - Trace PL/SQL Execution
10249 - Trace Shared Server (MTS) Processes10938 - Trace PL/SQL Execution Statistics



Event 10013 - Monitor Transaction Recovery
This event can be used to trace transaction recovery during startup.
For example: ALTER SESSION SET EVENTS '10013 trace name context forever, level 1';


Event 10015 - Dump Undo Segment Headers
This event can be used to dump undo segment headers before and after transaction recovery.
For example: ALTER SESSION SET EVENTS '10015 trace name context forever, level 1';


Event 10032 - Dump Sort Statistics
This event can be used to dump sort statistics. Level 10 is the most detailed.
For example: ALTER SESSION SET EVENTS '10032 trace name context forever, level 10';


Event 10033 - Dump Sort Intermediate Run Statistics
This event can be used to dump sort intermediate run statistics. Level 10 is the most detailed.
For example: ALTER SESSION SET EVENTS '10033 trace name context forever, level 10';


Event 10045 - Trace Free List Management Operations
This event can be used to trace free list management operations.
For example: ALTER SESSION SET EVENTS '10045 trace name context forever, level 1';


Event 10046 - Enable SQL Statement Trace
This event can be used to dump SQL statements executed by a session with execution plans and statistics. Bind variable and wait statistics can optionally be included. Level 12 is the most detailed.
For example: ALTER SESSION SET EVENTS '10046 trace name context forever, level 12';

Levels are:Action
  0Disabled
  1Print SQL statements, execution plans and execution statistics. Same as ALTER SESSION SET sql_trace = TRUE
  4All level 1 plus bind variables
  8All level 1 plus wait statistics
12All level 1 plus bind variables and wait statistics



Event 10053 - Dump Optimizer Decisions
This event can be used to dump the decisions made by the optimizer when parsing a statement. Level 1 is the most detailed.
For example: ALTER SESSION SET EVENTS '10053 trace name context forever, level 1';

Levels are:Action
  1Print statistics and computations
  2Print computations only



Event 10060 - Dump Predicates
This event can be used to force the optimizer to dump predicates to a table. It is available in Oracle 7.1.3 and above, and was still working in Oracle 9.2.
This event requires the following table to be created in the schema of the user parsing the statement
   CREATE TABLE kkoipt_table (c1 INTEGER,c2 VARCHAR2(80));

To enable this event use: ALTER SESSION SET EVENTS '10060 trace name context forever, level 1';

This example uses the following object: CREATE TABLE t1 (c01 NUMBER, c02 NUMBER);

With event 10060 set to level 1, when the following statement is executed for the first time SELECT c01 FROM t1 WHERE c02 = 0;
It is parsed and the results written to kkoipt_table. The results can be selected using the statement: SELECT c1,c2 FROM kkoipt_table ORDER BY c1;

Levels are:Action
  1Table:
  2T1
  3frofand
  4"T1"."C02"=0


The following table summarises the various operations that can be reported by this event

Operation Description
fptconstFolding constants
fptrnumRemove ROWNUM predicates
fptwhrRemove all WHERE predicates except remaining ROWNUM predicates
frofkks (rowid lookup)ROWID lookup
frofkks[i] (and-equal lookup)start key
frofkke[i] (and-equal lookup)end key
froiandindex-only predicate
frofkksm[i] (sort-merge)sort-merge key
frosand (sort-merge)sort-merge predicates
frojand (sort-merge)join predicates
frofkks[i] (index start key)index start key
frofkke[i] (index stop key)index end key
frofand (hash part)table predicate (hash)
froiand (index only filter)index only predicate
frofandtable predicate
froutandouter join predicates



Event 10065 - Restrict Library Cache Dump Output for State Object Dumps
The amount of library cache dump output for state object dumps can be limited using event 10065
For example: ALTER SESSION SET EVENTS '10065 trace name context forever, level number';

where number is one of the following

Level no.Description
  1Address of library object only
  2As level 1 plus library object lock details
  3As level 2 plus library object handle and library object


Level 3 is the default


Event 10079 - Dump SQL*Net Statistics
This event can be used to SQL*Net statistics. Level 2 is the most detailed.
For example: ALTER SESSION SET EVENTS '10079 trace name context forever, level 2';


Event 10081 - Trace High Water Mark Changes
This event can be used to trace high water mark changes.
For example: ALTER SESSION SET EVENTS '10081 trace name context forever, level 1';


Event 10104 - Dump Hash Join Statistics
This event can be used to hash join statistics. Level 10 is the most detailed.
For example: ALTER SESSION SET EVENTS '10104 trace name context forever, level 10';


Event 10128 - Dump Partition Pruning Information
This event can be used to partition pruning information.
For example: ALTER SESSION SET EVENTS '10128 trace name context forever, level number';

Levels no. are:Action
0x0001Dump pruning descriptor for each partitioned object
0x0002Dump partition iterators
0x0004Dump optimizer decisions about partition-wise joins
0x0008Dump ROWID range scan pruning information


There are further levels (up to 4096?). In Oracle 9.0.1 and above, a table must be created before level 2 of this event can be set. The table definition is as follows:

    CREATE TABLE kkpap_pruning    (        partition_count     NUMBER,        iterator            VARCHAR2(32),        partition_level     VARCHAR2(32),        order_pt            VARCHAR2(12),        call_time           VARCHAR2(12),        part#               NUMBER,        subp#               NUMBER,        abs#                NUMBER    );


Event 10200 - Dump Consistent Reads
This event can be used to dump consistent reads.
For example: ALTER SESSION SET EVENTS '10200 trace name context forever, level 1';


Event 10201 - Dump Consistent Read Undo Application
This event can be used to dump consistent read undo application.
For example: ALTER SESSION SET EVENTS '10201 trace name context forever, level 1';


Event 10220 - Dump Changes to Undo Header
This event can be used to dump changes to the undo header (transaction table).
For example: ALTER SESSION SET EVENTS '10220 trace name context forever, level 1';


Event 10221 - Dump Undo Changes
This event can be used to dump undo changes applied. Level 7 is the most detailed.
For example: ALTER SESSION SET EVENTS '10221 trace name context forever, level 7';


Event 10224 - Dump Index Block Splits / Deletes
This event can be used to dump index block splits and deletes detailed.
For example: ALTER SESSION SET EVENTS '10224 trace name context forever, level 1';


Event 10225 - Dump Changes to Dictionary Managed Extents
This event can be used to dump changes to dictionary-managed extents made in the row cache.
For example: ALTER SESSION SET EVENTS '10225 trace name context forever, level 1';


Event 10241 - Dump Remote SQL Execution
This event can be used to dump remotely executed SQL statements.
For example: ALTER SESSION SET EVENTS '10241 trace name context forever, level 1';


Event 10246 - Trace PMON Process
This event can be used to trace the actions of the PMON background process.
This event can only be enabled in the PFILE using: event = "10246 trace name context forever, level 1"

The ALTER SYSTEM command does not appear to work for this event.
There only appears to be one level for this event (levels 5 and 10 appear to generate the same output as level 1)


Event 10248 - Trace Dispatcher Processes
This event can be used to trace dispatcher processes.
This event can be enabled in the PFILE using.    event = "10248 trace name context forever, level 10"

In Oracle 9.2 (windows 2000) the trace is written to a file in udump with the name in the format: ServiceName_dDispatcherNumber_ThreadNumber.trc
    For example: JD92001_d000_1234.trc
Valid levels are 1 to 10 (Metalink Note)


Event 10249 - Trace Shared Server (MTS) Processes
This event can be used to trace shared server (MTS) processes.
This event can be enabled in the PFILE using:    event = "10249 trace name context forever, level 10"
In Oracle 9.2 (Windows 2000) the trace is written to a file in udump with the name in the format: ServiceName_sSharedServerNumber_ThreadNumber.trc
    For example: JD92001_s000_5678.trc Valid levels are 1 to 10 (Metalink Note)


Event 10270 - Debug Shared Cursors
This event can be used to enable debugging code in shared cursor management modules.
For example: event = "10270 trace name context forever, level 10"


Event 10299 - Debug Prefetching
This event can be used to enable debugging code for table and index block prefetching. It also enables dumping of trace by the CKPT process.
For example: event = "10299 trace name context forever, level 1"


Event 10357 - Debug Direct Path
This event can be used to enable debugging code for direct path.
For example: ALTER SESSION SET EVENTS '10357 trace name context forever, level 1';


Event 10390 - Dump Parallel Execution Slave Statistics
This event can be used to dump parallel slave statistics.
For example: ALTER SESSION SET EVENTS '10390 trace name context forever, level number';

Level No. Action
0x0001Slave-side execution messages
0x0002Coordinator-side execution messages
0x0004Slave context state changes
0x0008Slave ROWID range bind variables and xty
0x0010Slave fetched rows as enqueued to TQ
0x0020Coordinator wait reply handling
0x0040Coordinator wait message buffering
0x0080Slave dump timing
0x0100Coordinator dump timing
0x0200Slave dump allocation file number
0x0400Terse format for debug dumps
0x0800Trace CRI random sampling
0x1000Trace signals
0x2000Trace parallel execution granule operations
0x4000Force compilation by slave 0



Event 10391 - Dump Parallel Execution Granule Allocation
This event can be used to dump parallel granule allocation / assignment statistics.
For example: ALTER SESSION SET EVENTS '10391 trace name context forever, level number';

Level No. Action
0x0001Dump summary of each object scanned in parallel
0x0002Full dump of each object except extent map
0x0004Full dump of each object including extent map
0x0010Dump summary of each granule generators
0x0020Full dump of granule generators except granule instances
0x0040Full dump of granule generators including granule instances
0x0080Dump system information
0x0100Dump reference object for the query
0x0200Gives timing in kxfralo
0x0400Trace affinity module
0x0800Trace granule allocation during query execution
0x1000Trace object flush
0x2000Unknown



Event 10393 - Dump Parallel Execution Statistics
This event can be used to dump kxfp statistics after each parallel query.
For example: ALTER SESSION SET EVENTS '10393 trace name context forever, level 1';

Note that in Oracle 9.2 for parallel execution trace is written to files with names of the format: ServiceName_pServerNumber_ThreadNumber.trc
Below is example output for this event.

kxfpdst                dumping statistics                ---------------------------                                      Query Sessions         1                            Total Messages Sent         0                              Data Messages Sent       948                      Stream Messages Sent       917                      Dialog Messages Sent        26                     Null Messages Sent         0           Fast Shared Memory Streams       669              Fast Distributed Stream         0              Stream Mode Credit Ping         0                 Unknown Credit Pings         0                  Single Credit Pings       252                    Double Credit Pings         0                     Triple Credit Pings         0                 Multiple Credit Pings         0             Total Messages Dequeued         0               Data Messages Dequeued        31               Null Messages Dequeued         0                     Immediate Dequeues         1                          Posted Dequeues        31                       Timed-out Dequeues         0                      Implicit Dequeues       255                   Total Dequeue Waits        85                Total Dequeue Timeouts        44            Dequeues for Credit (geb)        77             Dequeues for Credit (free)        0            Dequeues for Credit (enq)        39


Event 10500 - Trace SMON Process
This event can be used to trace the actions of the SMON background process.
This event can be enabled in the PFILE using:    event = "10500 trace name context forever, level 1"


Event 10608 - Trace Bitmap Index Creation
This event traces bitmap index creation.
For example: ALTER SESSION SET EVENTS '10608 trace name context forever, level 10';


Event 10704 - Trace Enqueues
This event dumps information about which enqueues are being obtained. When enabled it prints out arguments to calls to ksqcmi and ksqlrl and the return values.
For example: ALTER SESSION SET EVENTS '10704 trace name context forever, level 1';


Event 10706 - Trace Global Enqueue Manipulation
This event allows RAC global enqueue manipulation to be trace.
For example: ALTER SESSION SET EVENTS '10706 trace name context forever, level 1';
The amount of output can be limited using the unsupported parameter '_ksi_trace'. This parameter specifies the lock types that should be included e.g. TM, TX etc.
They are specified as a string e.g. 'TMTX'. The parameter '_ksi_trace' can only be set in the PFILE.


Event 10708 - Trace RAC Buffer Cache
This event allows RAC buffer cache activity to be traced.
For example: ALTER SESSION SET EVENTS '10708 trace name context forever, level 10';
This diagnostic applies only to RAC clusters (not single-instance)


Event 10710 - Trace Bitmap Index Access
This event traces bitmap index access. It displays the start ROWID and end ROWID of each bitmap.
For example: ALTER SESSION SET EVENTS '10710 trace name context forever, level 1';


Event 10711 - Trace Bitmap Index Merge Operation
This event traces the bitmap index merge operation.
For example: ALTER SESSION SET EVENTS '10711 trace name context forever, level 1';


Event 10712 - Trace Bitmap Index OR Operation
This event traces the bitmap index OR operation.
For example: ALTER SESSION SET EVENTS '10712 trace name context forever, level 1';


Event 10713 - Trace Bitmap Index AND Operation
This event traces the bitmap index AND operation.
For example: ALTER SESSION SET EVENTS '10713 trace name context forever, level 1';


Event 10714 - Trace Bitmap Index MINUS Operation
This event traces the bitmap index MINUS operation.
For example: ALTER SESSION SET EVENTS '10714 trace name context forever, level 1';


Event 10715 - Trace Bitmap Index Conversion to ROWIDs Operation
This event traces the bitmap index conversion to ROWIDs operation.
For example: ALTER SESSION SET EVENTS '10715 trace name context forever, level 1';


Event 10716 - Trace Bitmap Index Compress/Decompress
This event traces the bitmap index compress/decompress.
For example: ALTER SESSION SET EVENTS '10716 trace name context forever, level 1';


Event 10717 - Trace Bitmap Index Compaction
This event traces the bitmap index compaction.
For example: ALTER SESSION SET EVENTS '10717 trace name context forever, level 1';


Event 10719 - Trace Bitmap Index DML
This event traces the bitmap index DML.
For example: ALTER SESSION SET EVENTS '10719 trace name context forever, level 1';


Event 10730 - Trace Fine Grained Access Predicates
This event traces find grained access (RLS) predicates.
For example: ALTER SESSION SET EVENTS '10730 trace name context forever, level 1';


Event 10731 - Trace CURSOR Statements
This event traces CURSOR statements.
For example: ALTER SESSION SET EVENTS '10731 trace name context forever, level number';

Levels no. are:Action
1Print parent query and subquery
2Print subquery only



Event 10928 - Trace PL/SQL Execution
This event traces PL/SQL execution.
For example: ALTER SESSION SET EVENTS '10928 trace name context forever, level 1';


Event 10938 - Dump PL/SQL Execution Statistics
This event dumps PL/SQL execution statistics..
For example: ALTER SESSION SET EVENTS '10938 trace name context forever, level 1';

This event currently generates the following output

--NOTICE  --------------------------------------- --PL/SQL TRACE INFORMATION IS NOW IN THE DATABASE-- To create the trace tables, use the script. ---- rdbms/admin/tracetab.sql under ORACLE_HOME  --
###################
一、Oracle跟踪文件 Oracle跟踪文件分为三种类型,一种是后台报警日志文件,记录数据库在启动、关闭和运行期间后台进程的活动情况,如表空间创建、回滚段创建、某些alter命令、日志切换、错误消息等。在数据库出现故障时,应首先查看该文件,但文件中的信息与任何错误状态没有必然的联系。后台报警日志文件保存BACKGROUND_DUMP_DEST参数指定的目录中,文件格式为SIDALRT.LOG。另一种类型是DBWR、LGWR、SMON等后台进程创建的后台跟踪文件。后台跟踪文件根据后台进程运行情况产生,后台跟踪文件也保存在BACKGROUND_DUMP_DEST参数指定的目录中,文件格式为siddbwr.trc、sidsmon.trc等。还有一种类型是由连接到Oracle的用户进程(Server Processes)生成的用户跟踪文件。这些文件仅在用户会话期间遇到错误时产生。此外,用户可以通过执行oracle跟踪事件(见后面)来生成该类文件,用户跟踪文件保存在USER_DUMP_DEST参数指定的目录中,文件格式为oraxxxxx.trc,xxxxx为创建文件的进程号(或线程号)。 二、Oracle跟踪事件 Oracle提供了一类命令,可以将Oracle各类内部结构中所包含的信息转储(dump)到跟踪文件中,以便用户能根据文件内容来解决各种故障。设置跟踪事件有两种方法,一种是在init.ora文件中设置事件,这样open数据库后,将影响到所有的会话。设置格式如下: EVENT="eventnumber trace name eventname [forever,] [level levelnumber] : ......." 通过:符号,可以连续设置多个事件,也可以通过连续使用event来设置多个事件。 另一种方法是在会话过程中使用alter session set events命令,只对当前会话有影响。设置格式如下: alter session set events '[eventnumber|immediate] trace name eventname [forever] [, level levelnumber] : .......' 通过:符号,可以连续设置多个事件,也可以通过连续使用alter session set events 来设置多个事件。 格式说明:eventnumber指触发dump的事件号,事件号可以是Oracle错误号(出现相应错误时跟踪指定的事件)或oralce内部事件号,内部事件号在10000到10999之间,不能与immediate关键字同用。 immediate关键字表示命令发出后,立即将指定的结构dump到跟踪文件中,这个关键字只用在alter session语句中,并且不能与 eventnumber、forever关键字同用。 trace name 是关键字。 eventname指事件名称(见后面),即要进行dump的实际结构名。若eventname为context,则指根据内部事件号进行跟踪。 forever关键字表示事件在实例或会话的周期内保持有效状态,不能与immediate同用。 level为事件级别关键字。但在dump错误栈(errorstack)时不存在级别。 levelnumber表示事件级别号,一般从1到10,1表示只dump结构头部信息,10表示dump结构的所有信息。 1、buffers事件:dump SGA缓冲区中的db buffer结构 alter session set events 'immediate trace name buffers level 1'; --表示dump缓冲区的头部。 2、blockdump事件:dump数据文件、索引文件、回滚段文件结构 alter session set events 'immediate trace name blockdump level 66666'; --表示dump块地址为6666的数据块。 在Oracle 8以后该命令已改为: alter system dump datafile 11 block 9; --表示dump数据文件号为11中的第9个数据块。 3、controlf事件:dump控制文件结构 alter session set events 'immediate trace name controlf level 10'; --表示dump控制文件的所有内容。 4、locks事件:dump LCK进程的信息 alter session set events 'immediate trace name locks level 5'; 5、redohdr事件:dump redo日志的头部信息 alter session set events 'immediate trace name redohdr level 1'; --表示dump redo日志头部的控制文件项。 alter session set events 'immediate trace name redohdr level 2'; --表示dump redo日志的通用文件头。 alter session set events 'immediate trace name redohdr level 10'; --表示dump redo日志的完整文件头。 注意:redo日志的内容dump可以采用下面的语句: alter system dump logfile 'logfilename'; 6、loghist事件:dump控制文件中的日志历史项 alter session set events 'immediate trace name loghist level 1'; --表示只dump最早和最迟的日志历史项。 levelnumber大于等于2时,表示2的levelnumber次方个日志历史项。 alter session set events 'immediate trace name loghist level 4'; --表示dump 16个日志历史项。 7、file_hdrs事件:dump 所有数据文件的头部信息 alter session set events 'immediate trace name file_hdrs level 1'; --表示dump 所有数据文件头部的控制文件项。 alter session set events 'immediate trace name file_hdrs level 2'; --表示dump 所有数据文件的通用文件头。 alter session set events 'immediate trace name file_hdrs level 10'; --表示dump 所有数据文件的完整文件头。 8、errorstack事件:dump 错误栈信息,通常Oracle发生错误时前台进程将得到一条错误信息,但某些情况下得不到错误信息,可以采用这种方式得到Oracle错误。 alter session set events '604 trace name errorstack forever'; --表示当出现604错误时,dump 错误栈和进程栈。 9、systemstate事件:dump所有系统状态和进程状态 alter session set events 'immediate trace name systemstate level 10'; --表示dump 所有系统状态和进程状态。 10、coalesec事件:dump指定表空间中的自由区间 levelnumber以十六进制表示时,两个高位字节表示自由区间数目,两个低位字节表示表空间号,如0x00050000表示dump系统表空间中的5个自由区间,转换成十进制就是327680,即: alter session set events 'immediate trace name coalesec level 327680'; 11、processsate事件:dump进程状态 alter session set events 'immediate trace name processsate level 10'; 12、library_cache事件:dump library cache信息 alter session set events 'immediate trace name library_cache level 10'; 13、heapdump事件:dump PGA、SGA、UGA中的信息 alter session set events 'immediate trace name heapdump level 1'; 14、row_cache事件:dump数据字典缓冲区中的信息 alter session set events 'immediate trace name row_cache level 1'; 三、内部事件号 1、10013:用于监视事务恢复 2、10015:转储UNDO SEGMENT头部 event = "10015 trace name context forever" 3、10029:用于给出会话期间的登陆信息 4、10030:用于给出会话期间的注销信息 5、10032:转储排序的统计信息 6、10033:转储排序增长的统计信息 7、10045:跟踪Freelist管理操作 8、10046:跟踪SQL语句 alter session set events '10046 trace name context forever, level 4'; --跟踪SQL语句并显示绑定变量 alter session set events '10046 trace name context forever, level 8'; --跟踪SQL语句并显示等待事件 9、10053:转储优化策略 10、10059:模拟redo日志中的创建和清除错误 11、10061:阻止SMON进程在启动时清除临时段 12、10079:转储 SQL*NET统计信息 13、10081:转储高水标记变化 14、10104:转储Hash连接统计信息 15、10128:转储分区休整信息 16、10200:转储一致性读信息 17、10201:转储一致性读中Undo应用 18、10209:允许在控制文件中模拟错误 19、10210:触发数据块检查事件 event = "10210 trace name context forever, level 10" 20、10211:触发索引检查事件 21、10213:模拟在写控制文件后崩溃 22、10214:模拟在控制文件中的写错误 levelnumber从1-9表示产生错误的块号,大于等于10则每个控制文件将出错 23、10215:模拟在控制文件中的读错误 24、10220:转储Undo头部变化 25、10221;转储Undo变化 26、10224:转储索引的分隔与删除 27、10225:转储基于字典管理的区间的变化 28、10229:模拟在数据文件上的I/O错误 29、10231:设置在全表扫描时忽略损坏的数据块 alter session set events '10231 trace name context off'; -- 关闭会话期间的数据块检查 event = "10231 trace name context forever, level 10" -- 对任何进程读入SGA的数据块进行检查 30、10232:将设置为软损坏(DBMS_REPAIR包设置或DB_BLOCK_CHECKING为TRUE时设置)的数据块dump到跟踪文件 31、10235:用于内存堆检查 alter session set events '10235 trace name context forever, level 1'; 32、10241:转储远程SQL执行 33、10246:跟踪PMON进程 34、10248:跟踪dispatch进程 35、10249:跟踪MTS进程 36、10252:模拟写数据文件头部错误 37、10253:模拟写redo日志文件错误 38、10262:允许连接时存在内存泄漏 alter session set events '10262 trace name context forever, level 300'; -- 允许存在300个字节的内存泄漏 39、10270:转储共享游标 40、10285:模拟控制文件头部损坏 41、10286:模拟控制文件打开错误 42、10287:模拟归档出错 43、10357:调试直接路径机制 44、10500:跟踪SMON进程 45、10608:跟踪位图索引的创建 46、10704:跟踪enqueues 47、10706:跟踪全局enqueues 48、10708:跟踪RAC的buffer cache 49、10710:跟踪对位图索引的访问 50、10711:跟踪位图索引合并操作 51、10712:跟踪位图索引OR操作 52、10713:跟踪位图索引AND操作 53、10714:跟踪位图索引MINUS操作 54、10715:跟踪位图索引向ROWID的转化 55、10716:跟踪位图索引的压缩与解压 56、10719:跟踪位图索引的修改 57、10731:跟踪游标声明 58、10928:跟踪PL/SQL执行 59、10938:转储PL/SQL执行统计信息 最后要说明的是,由于版本不同以上语法可能有些变化,但大多数还是可用的。 附完整的跟踪事件列表,event No.10000 to 10999 SET SERVEROUTPUT ON DECLARE err_msg VARCHAR2(120); BEGIN dbms_output.enable (1000000); FOR err_num IN 10000..10999 LOOP err_msg := SQLERRM (-err_num); IF err_msg NOT LIKE '%Message '||err_num||' not found%' THEN dbms_output.put_line (err_msg); END IF; END LOOP; END; / 1.select sid,serial#,username,osuser,Machine from v$session;查询session的sid,serial# 2.exec dbms_system.set_sql_trace_in_session(141,6,true);开始跟踪 3.exec dbms_system.set_sql_trace_in_session(141,6,true) 停止跟踪 4.tkprof *.trc *.txt 1.select sid,serial#,username,osuser,machine from v$session;查询session的sid,serial# 2.exec dbms_system.set_sql_trace_in_session(141,6,true);开始跟踪 3.exec dbms_system.set_sql_trace_in_session(141,6,true) 停止跟踪 4.tkprof *.trc *.txt 5.查看文件
 
ORA-10000: controlfile debug event, name 'control_file'ORA-10001: controlfile crash event1ORA-10002: controlfile crash event2ORA-10003: controlfile crash event3ORA-10004: controlfile crash event4ORA-10005: trace latch operations for debugginGoRA-10006: testing - block recovery forcedORA-10007: log switch debug crash after new log select, thread ORA-10008: log switch debug crash after new log header write, thread ORA-10009: log switch debug crash after old log header write, thread ORA-10010: Begin TransactionORA-10011: End   TransactionORA-10012: Abort TransactionORA-10013: Instance RecoveryORA-10014: Roll Back to Save PointORA-10015: Undo Segment RecoveryORA-10016: Undo Segment extendORA-10017: Undo Segment WrapORA-10018: Data Segment CreateORA-10019: Data Segment RecoveryORA-10020: partial link restored to linked list (KSG)ORA-10021: latch cleanup for state objects (KSS)ORA-10022: trace ktsgspORA-10023: Create Save Undo SegmentORA-10024: Write to Save UndoORA-10025: Extend Save Undo SegmentORA-10026: Apply Save UndoORA-10027: Specify Deadlock Trace Information to be DumpedORA-10028: Dump trace information during lock / resource latch cleanupORA-10029: session logon (KSU)ORA-10030: session logoff (KSU)ORA-10031: sort debug event (S*)ORA-10032: sort statistics (SOR*)ORA-10033: sort run information (SRD*/SRS*)ORA-10035: parse SQL statement (OPIPRS)ORA-10036: create remote row source (QKANET)ORA-10037: allocate remote row source (QKARWS)ORA-10038: dump row source tree (QBADRV)ORA-10039: type checking (OPITCA)ORA-10040: dirty cache listORA-10041: dump undo records skippedORA-10042: trap error during undo applicationORA-10043: check consistency of owner/waiter/converter lists in KSQORA-10044: free list undo operationsORA-10045: free list update operations - ktsrsp, ktsunlORA-10046: enable SQL statement timingORA-10047: trace switching of sessionsORA-10048: Undo segment shrinkORA-10049: protect library cache memory heapsORA-10050: sniper traceORA-10051: trace OPI callsORA-10052: don't clean up obj$ORA-10053: CBO Enable optimizer traceORA-10054: trace UNDO handling in MLSORA-10055: trace UNDO handingORA-10056: dump analyze stats (kdg)ORA-10057: suppress file names in error messagesORA-10058: use table scan cost in tab$.spare1ORA-10059: simulate error in logfile create/clearORA-10060: CBO Enable predicate dumpORA-10061: disable SMON from cleaning temp segmentORA-10062: disable usage of OS Roles in osdsORA-10063: disable usage of DBA and OPER privileges in osdsORA-10064: thread enable debug crash level , thread ORA-10065: limit library cache dump information for state object dumpORA-10066: simulate failure to verify fileORA-10067: force redo log checksum errors - block numberORA-10068: force redo log checksum errors - file numberORA-10069: Trusted Oracle test eventORA-10070: force datafile checksum errors - block numberORA-10071: force datafile checksum errors - file numberORA-10072: protect latch recovery memoryORA-10073: have PMON dump info before latch cleanupORA-10074: default trace function mask for kstORA-10075: CBO Disable outer-join to regular join conversionORA-10076: CBO Enable cartesian product join costingORA-10077: CBO Disable view-merging optimization for outer-joinsORA-10078: CBO Disable constant predicate elimination optimizationORA-10079: trace data sent/received via SQL*NetORA-10080: dump a block on a segment list which cannot be exchangedORA-10081: segment High Water Mark has been advancedORA-10082: free list head block is the same as the last blockORA-10083: a brand new block has been requested from space managementORA-10084: free list becomes emptyORA-10085: free lists have been mergedORA-10086: CBO Enable error if kko and qka disagree on oby sortORA-10087: disable repair of media corrupt data blocksORA-10088: CBO Disable new NOT IN optimizationORA-10089: CBO Disable index sortingORA-10090: invoke other events before crash recoveryORA-10091: CBO Disable constant predicate mergingORA-10092: CBO Disable hash joinORA-10093: CBO Enable force hash joinsORA-10094: before resizing a data fileORA-10095: dump debugger commands to trace fileORA-10096: after the cross instance call when resizing a data fileORA-10097: after generating redo when resizing a data fileORA-10098: after the OS has increased the size of a data fileORA-10099: after updating the file header with the new file sizeORA-10100: after the OS has decreased the size of a data fileORA-10101: atomic redo write recoveryORA-10102: switch off anti-joinsORA-10103: CBO Disable hash join swappingORA-10104: dump hash join statistics to trace fileORA-10105: CBO Enable constant pred trans and MPs w WHERE-clauseORA-10106: CBO Disable evaluating correlation pred last for NOT INORA-10107: CBO Always use bitmap indexORA-10108: CBO Don't use bitmap indexORA-10109: CBO Disable move of negated predicatesORA-10110: CBO Try index rowid range scansORA-10111: Bitmap index creation switchORA-10112: Bitmap index creation switchORA-10113: Bitmap index creation switchORA-10114: Bitmap index creation switchORA-10115: CBO Bitmap optimization use maximal expressionORA-10116: CBO Bitmap optimization switchORA-10117: CBO Disable new parallel cost model ORA-10118: CBO Enable hash join costing ORA-10119: QKA Disable GBY sort eliminationORA-10120: generate relative file # different from absoluteORA-10121: CBO Don't sort bitmap chainsORA-10122: Disable transformation of count(col) to count(*)ORA-10123: QKA Disable Bitmap And-EQualsORA-10124: Force creation of segmented arrays by kscsAllocateORA-10125: Disable remote sort eliminationORA-10126: Debug oracle java xaORA-10127: Disable remote query block operationORA-10128: Dump Partition Pruning InformationORA-10129: Alter histogram lookup for remote queriesORA-10130: sort disable readaheadsORA-10131: use v$sql_plan code path for explain planORA-10132: dump plan after compilationORA-10133: testing for SQL Memory ManagementORA-10134: tracing for SQL Memory Management for sessionORA-10135: CBO do not count 0 rows partitionsORA-10136: CBO turn off fix for bug 1089848ORA-10137: CBO turn off fix for bug 1344111ORA-10138: CBO turn off fix for bug 1577003ORA-10139: CBO turn off fix for bug 1386119ORA-10140: CBO turn off fix for bug 1332980ORA-10141: CBO disable additional keys for inlist in bitmap optimizationORA-10142: CBO turn off advanced OR-expansion checksORA-10143: CBO turn off hintsORA-10144: CBO turn off cost based selection of bji over bsj subqueryORA-10145: test auditing network errorsORA-10146: enable Oracle TRACE collectionORA-10147: enable join push through UNION viewORA-10148: Use pre-7.3.3 random generatorORA-10149: allow the creation of constraints with illegal date constantsORA-10150: import exceptionsORA-10151: Force duplicate dependency removalORA-10152: CBO don't consider function costs in plansORA-10153: Switch to use public synonym if private one does not translateORA-10154: Switch to disallow synonyms in DDL statementsORA-10155: CBO disable generation of transitive OR-chainsORA-10156: CBO disable index fast full scanORA-10157: CBO disable index access path for in-listORA-10158: CBO preserve predicate order in post-filtersORA-10159: CBO disable order-by sort pushdown into domain indexesORA-10160: CBO disable use of join indexORA-10161: CBO recursive semi-join on/off-switchORA-10162: CBO join-back elimination on/off-switchORA-10163: CBO join-back elimination on/off-switchORA-10164: CBO disable subquery-adjusted cardinality fixORA-10165: mark session to be aborted during shutdown normalORA-10166: trace long operation statistics updatesORA-10167: CBO use old index MIN/MAX optimizationORA-10168: CBO disable single-table predicate predicate generationORA-10169: CBO disable histograms for multi partitionsORA-10170: CBO use old bitmap costingORA-10171: CBO disable transitive join predicatesORA-10172: CBO force hash join backORA-10173: CBO no constraint-based join-back eliminationORA-10174: view join-back elimination switchORA-10175: CBO star transformation switchORA-10176: CBO colocated join switchORA-10177: CBO colocated join switchORA-10178: CBO turn off hash cluster filtering through memcmpORA-10179: CBO turn off transitive predicate replacementORA-10180: temp table transformation print error messagesORA-10181: CBO disable multi-column in-list processingORA-10182: CBO disable generation of implied predicatesORA-10183: CBO disable cost roundingORA-10184: CBO disable OR-exp if long inlist on bitmap columnORA-10185: CBO force index joinsORA-10186: CBO disable index joinORA-10187: CBO additional index join switchORA-10188: CBO additional index join switchORA-10189: CBO turn off FFS null fixORA-10190: Analyze use old frequency histogram collection and densityORA-10191: Avoid conversion of in-lists back to OR-expanded formORA-10192: nopushdown when number of groups exceed number of rowsORA-10193: Force repeatable sampling with specified seedORA-10194: CBO disable new LIKE selectivity heuristicORA-10195: CBO don't use check constraints for transitive predicatesORA-10196: CBO disable index skip scanORA-10197: CBO force index skip scanORA-10198: check undo recordORA-10199: set parameter in sessionORA-10200: consistent read buffer statusORA-10201: consistent read undo applicationORA-10202: consistent read block headerORA-10203: block cleanoutORA-10204: signal recursive extendORA-10205: row cache debuggingORA-10206: transaction table consistent readORA-10207: consistent read transactions' status reportORA-10208: consistent read loop checkORA-10209: enable simulated error on controlfileORA-10210: check data block integrityORA-10211: check index block integrityORA-10212: check cluster integrityORA-10213: crash after controlfile writeORA-10214: simulate write errors on controlfileORA-10215: simulate read errors on controlfileORA-10216: dump controlfile headerORA-10217: debug sequence numbersORA-10218: dump uba of applied undoORA-10219: monitor multi-pass row lockingORA-10220: show updates to the transaction tableORA-10221: show changes done with undoORA-10222: row cacheORA-10223: transaction layer - turn on verification codesORA-10224: index block split/delete traceORA-10225: free/used extent row cacheORA-10226: trace CR applications of undo for data operationsORA-10227: verify (multi-piece) row structureORA-10228: trace application of redo by kcocbkORA-10229: simulate I/O error against datafilesORA-10230: check redo generation by copying before applyingORA-10231: skip corrupted blocks on _table_scans_ORA-10232: dump corrupted blocks symbolically when kcbgottenORA-10233: skip corrupted blocks on index operationsORA-10234: trigger event after calling kcrapc to do redo N timesORA-10235: check memory manager internal structuresORA-10236: library cache managerORA-10237: simulate ^C (for testing purposes)ORA-10238: instantiation managerORA-10239: multi-instance library cache managerORA-10240: dump dba's of blocks that we wait forORA-10241: remote SQL execution tracing/validationORA-10242: suppress OER 2063 (for testing distrib w/o different error log)ORA-10243: simulated error for test  of K2GTAB latch cleanupORA-10244: make tranids in error msgs print as 0.0.0 (for testing)ORA-10245: simulate lock conflict error for testing PMONORA-10246: print trace of PMON actions to trace fileORA-10247: Turn on scGCmn tracing. (VMS ONLY)ORA-10248: turn on tracing for dispatchersORA-10249: turn on tracing for multi-stated serversORA-10250: Trace all allocate and free calls to the topmost SGA heapORA-10251: check consistency of transaction table and undo blockORA-10252: simulate write error to data file headerORA-10253: simulate write error to redo logORA-10254: trace cross-instance callsORA-10255: pl/sql parse checkingORA-10256: turn off shared server load balancingORA-10257: trace shared server load balancingORA-10258: force shared servers to be chosen round-robinORA-10259: get error message text from remote using explicit callORA-10260: Trace calls to SMPRSET (VMS ONLY)ORA-10261: Limit the size of the PGA heapORA-10262: Don't check for memory leaksORA-10263: Don't free empty PGA heap extentsORA-10264: Collect statistics on context area usage (x$ksmcx)ORA-10265: Keep random system generated output out of error messagesORA-10266: Trace OSD stack usageORA-10267: Inhibit KSEDMP for testingORA-10268: Don't do forward coalesce when deleting extentsORA-10269: Don't do coalesces of free space in SMONORA-10270: Debug shared cursorsORA-10271: distributed transaction after COLLECTORA-10272: distributed transaction before PREPAREORA-10273: distributed transaction after PREPAREORA-10274: distributed transaction before COMMITORA-10275: distributed transaction after COMMITORA-10276: distributed transaction before FORGETORA-10277: Cursor sharing (or not) related event (used for testing)ORA-10278: Internal testingORA-10279: Simulate block corruption in kdb4chkORA-10280: Internal testing - segmentation fault during crash recoveryORA-10281: maximum time to wait for process creationORA-10282: Inhibit signalling of other backgrounds when one diesORA-10283: simulate asynch I/O never completingORA-10284: simulate zero/infinite asynch I/O bufferingORA-10285: Simulate controlfile header corruptionORA-10286: Simulate controlfile open errorORA-10287: Simulate arcHiver errorORA-10288: Do not check block type in ktrgetORA-10289: Do block dumps to trace file in hex rather than fromattedORA-10290: kdnchk - checkvalid event - not for general purpose use.ORA-10291: die in tbsdrv to test controlfile undoORA-10292: dump uet entries on a 1561 from dtsdrvORA-10293: dump debugging information when doing block recoveryORA-10294: enable PERSISTENT DLM operations on non-compliant systemsORA-10295: die after file header update durning cf xactORA-10296: disable ORA-379ORA-10297: customize dictionary object number cacheORA-10298: ksfd i/o tracingORA-10299: Trace prefetch tracking decisions made by CKPTORA-10300: disable undo compatibility check at database openORA-10301: Enable LCK timeout table consistency checkORA-10302: trace create or drop internal triggerORA-10303: trace loading of library cache for internal triggersORA-10304: trace replication triggerORA-10305: trace updatable materialized view triggerORA-10306: trace materialized view log triggerORA-10307: trace RepCat executionORA-10308: replication testing eventORA-10309: Trigger Debug eventORA-10310: trace synchronous change table triggerORA-10311: Disable Flashback Table Timestamp checkingORA-10312: Allow disable to log rows into the mapping tableORA-10313: Allow Row CR operations for single instanceORA-10314: Enable extra stats gathering for CRORA-10316: Events for extensible txn header, non zero ext header sizeORA-10317: Events for extensible txn header, zero ext header sizeORA-10318: Trace extensible txn header movementsORA-10319: Trace PGA statistics maintenanceORA-10320: Enable data layer (kdtgrs) tracing of space management callsORA-10321: Datafile header verification debug failure.ORA-10322: CBO don't simplify inlist predicatesORA-10323: before committing an add datafile commandORA-10324: Enable better checking of redo logs errorsORA-10325: Trace control file record section expand and shrink operationsORA-10326: clear logfile debug crash at , log ORA-10327: simulate ORA-00235 error for testingORA-10328: disable first-to-mount split-brain error, for testingORA-10329: simulate lost write, test detection by two-pass recoveryORA-10330: clear MTTR statistics in checkpoint progress recordORA-10331: simulate resilvering during recoveryORA-10332: force ALTER SYSTEM QUIESCE RESTRICTED command to failORA-10333: dump MTTR statistics each time it is updatedORA-10334: force FG to wait to be killed during MTTR advisory simulationORA-10336: Do remote object transfer using remote SQLORA-10337: enable padding owner name in slave sqlORA-10338: CBO don't use inlist iterator with function-based indexesORA-10339: CBO disable DECODE simplificationORA-10340: Buffer queues sanity check for corrupted buffersORA-10341: Simulate out of PGA memory in DBWR during object reuseORA-10342: Raise unknown exception in ACQ_ADD when checkpointingORA-10343: Raise an out of memory exception-OER 4031 in ACQ_ADDORA-10344: Simulate kghxal returning 0 in ACQ_ADD but no exceptionORA-10345: validate queue when linking or unlinking a bufferORA-10346: check that all buffers for checkpoint have been writtenORA-10347: dump active checkpoint entries and checkpoint buffersORA-10348: test abnormal termination of process initiating file checkpointORA-10349: do not allow ckpt to completeORA-10350: Simulate more than one object & tsn id in object reuseORA-10351: size of slotsORA-10352: report direct path statisticsORA-10353: number of slotsORA-10354: turn on direct read path for parallel queryORA-10355: turn on direct read path for scansORA-10356: turn on hint usage for direct readORA-10357: turn on debug information for direct pathORA-10358: Simulate out of PGA memory in cache advisory resetORA-10359: turn off updates to control file for direct writesORA-10360: enable dbwr consistency checkingORA-10365: turn on debug information for adaptive direct readsORA-10370: parallel query server kill eventORA-10371: disable TQ hintORA-10372: parallel query server kill event procORA-10373: parallel query server kill eventORA-10374: parallel query server interrupt (validate lock value)ORA-10375: turn on checks for statistics rollupsORA-10376: turn on table queue statisticsORA-10377: turn off load balancingORA-10378: force hard process/range affinityORA-10379: direct read for rowid range scans (unimplemented)ORA-10380: kxfp latch cleanup testing eventORA-10381: kxfp latch cleanup testing eventORA-10382: parallel query server interrupt (reset)ORA-10383: auto parallelization testing eventORA-10384: parallel dataflow scheduler tracingORA-10385: parallel table scan range sampling methodORA-10386: parallel SQL hash and range statisticsORA-10387: parallel query server interrupt (normal)ORA-10388: parallel query server interrupt (failure)ORA-10389: parallel query server interrupt (cleanup)ORA-10390: Trace parallel query slave executionORA-10391: trace PX granule allocation/assignmentORA-10392: parallel query debugging bitsORA-10393: print parallel query statisticsORA-10394: generate a fake load to test adaptive and load balancingORA-10395: adjust sample size for range table queuesORA-10396: circumvent range table queues for queriesORA-10397: suppress verbose parallel coordinator error reportingORA-10398: enable timeouts in parallel query threadsORA-10399: trace buffer allocationORA-10400: turn on system state dumps for shutdown debuggingORA-10401: turn on IPC (ksxp) debuggingORA-10402: turn on IPC (skgxp) debuggingORA-10403: fake CPU number for default degree of parallelismORA-10404: crash dbwr after writeORA-10405: emulate broken mirrorsORA-10406: enable datetime TIMESTAMP, INTERVAL datatype creationORA-10407: enable datetime TIME datatype creationORA-10408: disable OLAP builtin window function usageORA-10409: enable granule memset and block invalidation at startupORA-10410: trigger simulated communications errors in KSXPORA-10411: simulate errors in IMRORA-10412: trigger simulated errors in CGS/CM interfaceORA-10413: force simulated error for testing purposesORA-10414: simulated error from event  level ORA-10425: enable global enqueue service open event traceORA-10426: enable global enqueue service convert event traceORA-10427: enable global enqueue service traffic controller event traceORA-10428: enable tracing of global enqueue service distributed resourceORA-10429: enable tracing of global enqueue service IPC callsORA-10430: enable tracing of global enqueue service AST callsORA-10431: enable verification messages on pi consistencyORA-10432: enable tracing of global cache service fusion callsORA-10433: global enqueue service testing eventORA-10434: enable tracing of global enqueue service multiple LMSORA-10435: enable tracing of global enqueue service deadlock detetctionORA-10436: enable global cache service duplicate ping checkingORA-10437: enable trace of global enqueue service S optimized resourcesORA-10442: enable trace of kst for ORA-01555 diagnosticsORA-10450: signal ctrl-c in kDDDca (drop column) after n rowsORA-10496: Turn off fix for bug 2554178ORA-10498: Trim blank characters including contol charactersORA-10499: revert to old scale behaviourORA-10500: turn on traces for SMONORA-10501: periodically check selected heapORA-10502: CBO disable the fix for bug 2098120ORA-10503: enable user-specified graduated bind lengthsORA-10504: CBO disable the fix for bug 2607029ORA-10510: turn off SMON check to offline pending offline rollback segmentORA-10511: turn off SMON check to cleanup undo dictionaryORA-10512: turn off SMON check to shrink rollback segmentsORA-10513: turn off wrap source compressionORA-10515: turn on event to use physical cleanoutORA-10520: recreate package/procedure/view only if definition has changedORA-10550: signal error during create as select/create index after n rowsORA-10560: block type ''ORA-10561: block type '', data object# ORA-10562: Error occurred while applying redo to data block (file# , block# )ORA-10563: Test recovery had to corrupt data block (file# , block# ) in order to proceedORA-10564: tablespace ORA-10565: Another test recovery session is activeORA-10566: Test recovery has used all the memory it can useORA-10567: Redo is inconsistent with data block (file# , block# )ORA-10568: Failed to allocate recovery state object: out of SGA memoryORA-10570: Test recovery completeORA-10571: Test recovery canceledORA-10572: Test recovery canceled due to errorsORA-10573: Test recovery tested redo from change  to ORA-10574: Test recovery did not corrupt any data blockORA-10575: Give up restoring recovered datafiles to consistent state: out of memoryORA-10576: Give up restoring recovered datafiles to consistent state: some error occurredORA-10577: Can not invoke test recovery for managed standby database recoveryORA-10578: Can not allow corruption for managed standby database recoveryORA-10579: Can not modify control file during test recoveryORA-10580: Can not modify datafile header during test recoveryORA-10581: Can not modify redo log header during test recoveryORA-10582: The control file is not a backup control fileORA-10583: Can not recovery file  renamed as missing during test recoveryORA-10584: Can not invoke parallel recovery for test recoveryORA-10585: Test recovery can not apply redo that may modify control fileORA-10586: Test recovery had to corrupt 1 data block in order to proceedORA-10587: Invalid count for ALLOW n CORRUPTION optionORA-10588: Can only allow 1 corruption for normal media/standby recoveryORA-10589: Test recovery had to corrupt  data blocks in order to proceedORA-10590: kga (argus debugger) test flagsORA-10591: kga (argus debugger) test flagsORA-10592: kga (argus debugger) test flagsORA-10593: kga (argus debugger) test flagsORA-10594: kga (argus debugger) test flagsORA-10595: kga (argus debugger) test flagsORA-10596: kga (argus debugger) test flagsORA-10597: kga (argus debugger) test flagsORA-10598: kga (argus debugger) test flagsORA-10599: kga (argus debugger) test flagsORA-10600: check cursor frame. allocationORA-10601: turn on debugging for cursor_sharing (literal replacement)ORA-10602: cause an access violation (for testing purposes)ORA-10603: cause an error to occur during truncate (for testing purposes)ORA-10604: trace parallel create indexORA-10605: enable parallel create index by defaultORA-10606: trace parallel create indexORA-10607: trace index rowid partition scanORA-10608: trace create bitmap indexORA-10609: trace for array index insertionORA-10610: trace create index pseudo optimizerORA-10611: causes migration to fail - testing onlyORA-10612: prints debug information for auto-space managed segmentsORA-10613: prints debug information for auto-space managed segmentsORA-10614: Operation not allowed on this segmentORA-10615: Invalid tablespace type for temporary tablespaceORA-10616: Operation not allowed on this tablespaceORA-10617: Cannot create rollback segment in dictionary managed tablespaceORA-10618: Operation not allowed on this segmentORA-10619: Avoid assertions when possibleORA-10620: Operation not allowed on this segmentORA-10621: data block does not belong to the segmentORA-10622: test/trace online index (re)buildORA-10623: Enable Index range scan Prefetch - testing onlyORA-10624: Disable UJV invalidation on drop indexORA-10625: Turn off redo log dump for the index when OERI 12700ORA-10627: Dump the content of the index leaf blockORA-10628: Turn on sanity check for kdiss index skip scan stateORA-10640: Operation not permitted during SYSTEM tablespace migrationORA-10641: Cannot find a rollback segment to bind toORA-10642: Found rollback segments in dictionary managed tablespacesORA-10643: Database should be mounted in restricted mode and Exclusive modeORA-10644: SYSTEM tablespace cannot be default temporary tablespaceORA-10645: Recursive Extension in SYSTEM tablespace during migrationORA-10646: Too many recursive extensions during SYSTEM tablespace migrationORA-10647: Tablespace other than SYSTEM,,  not found in read only modeORA-10650: disable cache-callback optimisationORA-10651: incorrect file number block number specifiedORA-10666: Do not get database enqueue nameORA-10667: Cause sppst to check for valid process idsORA-10690: Set shadow process core file dump type (Unix only)ORA-10691: Set background process core file type (Unix only)ORA-10700: Alter access violation exception handlerORA-10701: Dump direct loader index keysORA-10702: Enable histogram data generationORA-10703: Simulate process death during enqueue getORA-10704: Print out information about what enqueues are being obtainedORA-10705: Print Out Tracing information for every I/O done by ODSsORA-10706: Print out information about global enqueue manipulationORA-10707: Simulate process death for instance reGIStrationORA-10708: print out trace information from the RAC buffer cacheORA-10709: enable parallel instances in create index by defaultORA-10710: trace bitmap index accessORA-10711: trace bitmap index mergeORA-10712: trace bitmap index orORA-10713: trace bitmap index andORA-10714: trace bitmap index minusORA-10715: trace bitmap index conversion to rowidsORA-10716: trace bitmap index compress/decompressORA-10717: trace bitmap index compaction trace for index creationORA-10718: event to disable automatic compaction after index creationORA-10719: trace bitmap index dmlORA-10720: trace db schedulingORA-10721: Internal testing - temp table transformationORA-10722: set parameters for CPU frequency calculation (debug)ORA-10723: Internal testing - release buffer for buffer cache shrinkORA-10724: trace cross-instance broadcastORA-10730: trace row level security policy predicatesORA-10731: dump SQL for CURSOR expressionsORA-10740: disables fix for bug 598861ORA-10750: test rollback segment blksize guessing for index array insertORA-10800: disable Smart Disk scanORA-10801: enable Smart Disk traceORA-10802: reserved for Smart DiskORA-10803: write timing statistics on cluster database recovery scanORA-10804: reserved for ksxbORA-10806: Switch to 7.3 mode when detaching sessionsORA-10807: Disable user id check when switching to a global transactionORA-10810: Trace snapshot too oldORA-10811: Trace block cleanoutsORA-10812: Trace Consistent ReadsORA-10826: enable upgrade/downgrade error message traceORA-10827: database must be opened with MIGRATE optionORA-10830: Trace group by sort row sourceORA-10831: Trace group by rollup row sourceORA-10841: Default un-inintialized charact set form. to SQLCS_IMPLICITORA-10842: Event for OCI Tracing and Statistics InfoORA-10850: Enable time manager tracingORA-10851: Allow Drop command to drop queue tablesORA-10852: Enable tracing for Enqueue Dequeue OperationsORA-10853: event for AQ statistics latch cleanup testingORA-10856: Disable AQ propagator from using streamingORA-10857: Force AQ propagator to use two-phase commitORA-10858: Crash the AQ propagator at different stages of commitORA-10859: Disable updates of message retry countORA-10860: event for AQ admin disable new name parserORA-10861: disable storing extended message propertiesORA-10862: resolve default queue owner to current user in enqueue/dequeueORA-10871: dump file open/close timestamp during media recoveryORA-10900: extent manager fault insertion event #ORA-10902: disable seghdr conversion for ro operationORA-10903: Force tablespaces to become locally managedORA-10904: Allow locally managed tablespaces to have user allocationORA-10905: Do cache verification (kcbcxx) on extent allocationORA-10906: Unable to extend segment after insert direct loadORA-10907: Trace extent management eventsORA-10908: Trace temp tablespace eventsORA-10909: Trace free list eventsORA-10910: inject corner case events into the RAC buffer cacheORA-10911: Locally managed SYSTEM tablespace bitmaps can be modified only under the supervision of Oracle SupportORA-10912: Used to perform. admin operations on locally managed SYSTEM tablespaceORA-10913: Create locally managed database if compatible > 920 by defaultORA-10924: import storage parse error ignore eventORA-10925: trace name context foreverORA-10926: trace name context foreverORA-10927: trace name context foreverORA-10928: trace name context foreverORA-10929: trace name context foreverORA-10930: trace name context foreverORA-10931: trace name context foreverORA-10932: trace name context foreverORA-10933: trace name context foreverORA-10934: Reserved.  Used only in version 7.x.ORA-10935: Reserved.  Used only in version 7.x.ORA-10936: trace name context foreverORA-10937: trace name context foreverORA-10938: trace name context foreverORA-10939: trace name context foreverORA-10940: trace name context foreverORA-10941: trace name context foreverORA-10943: trace name context foreverORA-10944: trace name context foreverORA-10945: trace name context foreverORA-10970: backout event for bug 2133357ORA-10975: trace execution of parallel propagationORA-10976: internal package related tracingORA-10977: trace event for RepapiORA-10979: trace flags for join index implementationORA-10980: prevent sharing of parsed query during Materialized View query generationORA-10981: dscn computation-related event in replicationORA-10982: event to turn off CDC-format MV LogsORA-10983: event to enable Create_Change_Table debuggingORA-10984: subquery materialized view-related eventORA-10985: event for NULL refresh of materialized viewsORA-10986: donot use HASH_AJ in refreshORA-10987: event for the support of caching table with object featureORA-10988: event to get exclusive lock during materialized view refresh in IASORA-10989: event to internally create statistics MVORA-10996: event to make a process hold a latch in ksuORA-10999: do not get database enqueue name

关于ORACLE event的使用说明就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

--结束END--

本文标题: ORACLE event的使用说明

本文链接: https://www.lsjlt.com/news/246136.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • ORACLE event的使用说明
    这篇文章给大家介绍ORACLE event的使用说明,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。eventEvent Reference 10013 - Monitor Transaction Recovery102...
    99+
    2023-06-06
  • c# delegate和event的使用说明
    delegate是什么 委托(delegate) 是存有对某个方法的引用的一种引用类型变量,引用可在运行时被改变。如果不好理解,可以把委托理解成为函数指针,但它们是有区别的。 del...
    99+
    2022-11-12
  • oracle database link使用说明
        作用:将多个oracle数据库逻辑上看成一个数据库,也就是说在一个数据库中可以操作另一个数据库中的对象简易语法:CREATE [PUBLIC] DA...
    99+
    2022-10-18
  • Oracle内建包UTL_FILE使用说明
    在数据库的开发中,当PL/SQL语句很复杂的时候,我想写一些Log,就像java的Log4j那样。这样就可以很好的跟踪程序的运行情况。在网上找到的文章不是很好用,修改了一下。 1:在Oracle服...
    99+
    2022-10-18
  • mysql8.0JSON_CONTAINS的使用说明
    目录JSON_CONTAINS的使用语法案例JSON_CONTAINS函数问题结构如下JSON_CONTAINS的使用 语法 JSON_CONTAINS(json_doc, val[...
    99+
    2022-11-13
  • RCMD的使用说明
    这篇文章主要介绍“RCMD的使用说明”,在日常操作中,相信很多人在RCMD的使用说明问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”RCMD的使用说明”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!*****...
    99+
    2023-06-08
  • z3py使用说明
    http://z3prover.github.io/api/html/z3.html http://www.cs.tau.ac.il/~msagiv/courses/asv/z3py/guide-examples.htm 学习...
    99+
    2023-01-31
    使用说明 z3py
  • window.dialogArguments 使用说明
    f1.php页面JS代码,第二个传的参数必须是self不能是别的 复制代码 代码如下: <script type="text/javascript"> function ...
    99+
    2022-11-21
    dialogArguments
  • mysql8.0 JSON_CONTAINS的使用说明
    目录jsON_CONTAINS的使用语法案例JSON_CONTAINS函数问题结构如下JSON_CONTAINS的使用 语法 JSON_CONTAINS(json_doc, val[, path]) 案例 selec&#...
    99+
    2022-09-27
  • Pytorch BertModel的使用说明
    基本介绍 环境: Python 3.5+, Pytorch 0.4.1/1.0.0 安装: pip install pytorch-pretrained-bert 必需参数: ...
    99+
    2022-11-12
  • java ImmutableMap的使用说明
    ImmutableMap:一个不可变集合 java中的Immutable对象: 简单地说,如果一个对象实例不能被更改就是一个Immutable的对象,Java SDK提供的大量值对象...
    99+
    2022-11-12
  • Oracle 应用产品说明文档 Oracle Applications Library
    今儿搜文档找到个oracle官方的应用产品说明文档,含应用产品表结构说明,接口描述等等。Oracle 应用产品说明文档(中文版): http://www.onejava.net/article/oracle...
    99+
    2022-10-18
  • ZLibrary使用说明-Zlirbrary
    ZLibrary使用说明 如果您是一位书虫,那么ZLibrary是一个值得一试的网站。该网站提供了大量的免费电子书籍,涵盖了各种不同的主题和类别。下面是一些有关如何使用ZLibrary的详细说明: 第1步:访问ZLibrary网站 要...
    99+
    2023-09-15
    服务器 运维 Powered by 金山文档
  • Android ContentResolver使用说明
    Android是如何实现应用程序之间数据共享的?一个应用程序可以将自己的数据完全暴露出去,外界更本看不到,也不用看到这个应用程序暴露的数据是如何存储的,或者是使用数据库还是使用...
    99+
    2022-06-06
    Android
  • Python sys 使用说明
    获取linux下python的路径,以及执行python时使用的参数。 代码如下:   #!/usr/bin/python # -*- encoding:utf-8 -*- # time:2012-07-06 import sys;   p...
    99+
    2023-01-31
    使用说明 Python sys
  • Xilinx URAM使用说明
    Xilinx URAM(Ultra RAM)是一种高性能、低延迟的存储器资源,用于在Xilinx FPGA器件中实现大容量的存储和高...
    99+
    2023-09-23
    Xilinx
  • 【pytorch】torch.cdist使用说明
    使用说明 torch.cdist的使用介绍如官网所示, 它是批量计算两个向量集合的距离。 其中, x1和x2是输入的两个向量集合。 p 默认为2,为欧几里德距离。 它的功能上等同于 scipy.sp...
    99+
    2023-09-02
    pytorch 深度学习 python
  • Oracle Golden Gate 系列五 -- GG 使用配置 说明
    一. Preparing the database for Oracle GoldenGate 1.1 Preparing constraints for Oracle GoldenGate ...
    99+
    2022-10-18
  • 基于ThreadPoolTaskExecutor的使用说明
    目录ThreadPoolTaskExecutor的使用springboot 配置提交任务ThreadPoolTaskExecutor配置问题有关spring中ThreadPoolTa...
    99+
    2022-11-12
  • 基于@JsonProperty的使用说明
    目录一、背景二、使用方式三、注意事项一、背景 在熟悉代码的过程中,看到了@JsonProperty注解的使用,查了下使用的方法,但是总觉得欠缺了点什么东西,所以自己实践了下这个注解的...
    99+
    2022-11-13
    @JsonProperty使用 @JsonProperty使用说明 基于@JsonProperty
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作