千家信息网

Oracle所有诊断事件列表events是怎样的

发表于:2025-01-21 作者:千家信息网编辑
千家信息网最后更新 2025年01月21日,Oracle所有诊断事件列表events是怎样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。Oracle所有诊断事件列
千家信息网最后更新 2025年01月21日Oracle所有诊断事件列表events是怎样的

Oracle所有诊断事件列表events是怎样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。


Oracle所有诊断事件列表events



通过如下的脚本可以获取所有的诊断事件列表:


在UNIX系统下message文件在底下目录$ORACLE_HOME/rdbms/mesg/oraus.msg
在NT系统下message文件在底下目录$ORACLE_HOME/rdbms/mesg/oraus.msg
oraus.msg文件属于文本文件,可以直接打开查看。

诊断事件可以像普通的ORA错误一样采用oerr命令来查询,如下所示:

event="10248 trace name context forever, level 10"
event="10249 trace name context forever, level 10"

另一种方法是在会话过程中使用alter session set events命令,只对当前会话有影响。设置格式如下:

alter session|system set events '[eventnumber|immediate] trace name eventname [forever] [, level levelnumber] : .......'

通过:符号,可以连续设置多个事件,也可以通过连续使用alter session set events 来设置多个事件。

SQL> show parameter event


------------------------------------ ----------- ------------------------------
SQL> alter system set event='10046 trace name context forever,level 12';
*
ORA-02095: specified initialization parameter cannot be modified






System altered.


Database closed.
ORACLE instance shut down.
ORA-32004: obsolete and/or deprecated parameter(s) specified


Total System Global Area 1157627904 bytes
Variable Size 402654536 bytes
Redo Buffers 31457280 bytes
Database opened.


NAME TYPE VALUE
event string 10046 trace name context forev
SQL>




System altered.




System altered.

SQL> ALTER system SET event='1461 trace name errorstack level 3';
*
ORA-02095: specified initialization parameter cannot be modified
SQL> ALTER system SET event='1461 trace name errorstack level 3' scope=spfile;
验证是否已成功更改:
File created.
[oracle@rac01 ~]$ grep event 1.ora
这种方法的话,需要重启DB。下面Rollback这个参数更改
System altered.
File created.
[oracle@rac01 ~]$ grep event 2.ora
2. alter system set events:此方法对memory生效,无法对spfile生效

SQL> !
[oracle@rac01 ~]$ tail -n1 /oracle/admin/strm1/bdump/alert_strm1.log
这个参数更改没有反应到spfile中
File created.
[oracle@rac01 ~]$ grep event 3.ora
其实这里的1461是个BUG 6085625,Metalink上可以参照NOTE: 461911.1
另外需要注意的是,RAC环境中用方法2动态设置event的话需要在所有instance设置。不过理解了上面的区别的话这个也就很容易明白了。

四. 示例

4.1 查看当前trc 文件
select
  u_dump.value || '/' ||
  db_name.value || '_ora_' ||
  v$process.spid ||
  nvl2(v$process.traceid, '_' || v$process.traceid, null )
  || '.trc' "Trace File"
from
v$parameter u_dump
cross join v$parameter db_name
cross join v$process
join v$session
on v$process.addr = v$session.paddr
where
  u_dump.name = 'user_dump_dest' and
  db_name.name = 'db_name' and
  v$session.audsid=sys_context('userenv','sessionid');
eg:
/oracle/product/10.2.0/admin/dw/udump\dw_ora_389530.trc

4.2 执行event

alter session set events '10046 trace name context forever, level 1';
select count(1) from all_tables;
alter session set events '10046 trace name context off' ;

4.3 在查看dw_ora_389530.trc

$dw_ora_389530.trc




以下是所有的诊断事件列表:

返回
事件ID事件说明例子
10046enable SQL statement timinglevel 0:禁用SQL_TRACE,等价于SQL_TRACE=FALSE
level 1:启用标准的sql_trace功能跟踪SQL语句,包括解析、执行、提取、提交和回滚等,等价于SQL_TRACE=TRUE
level 4:Level 1 +包括变量(bind values)的详细信息
level 8:Level 1 + 包括等待事件
level 12:包括绑定变量与等待事件,包含Level 1 + Level 4 + Level 8
1 Print SQL statements, execution plans and execution statistics
4 As level 1 plus bind variables
8 As level 1 plus wait statistics
12 As level 1 plus bind variables and wait statistics
ALTER SESSION SET EVENTS '10046 trace name context forever,level 12';
ALTER SESSION SET EVEVTS '10046 trace name context off';
10053CBO Enable optimizer trace转储优化策略,Dump Optimizer Decisions---在分析SQL语句时,Dump出优化器所做的选择,级别level 1最详细
Level Action
1 Print statistics and computations
2 Print computations only
ALTER SESSION SET EVENTS '10053 trace name context forever, level 1';
10704Print out information about what enqueues are being obtainedWhen enabled, prints out arguments to calls to ksqcmi and ksqlrl and the return values。跟踪enqueues,可以查看锁的信息。
Level: 1-4: print out basic info for ksqlrl, ksqcmi
5-9: also print out stuff in callbacks: ksqlac, ksqlop
10+: also print out time for each line
ALTER SESSION SET EVENTS '10704 trace name context forever,level 10';
10710Event 10710 - Trace Bitmap Index Access跟踪位图索引的访问情况ALTER SESSION SET EVENTS '10710 trace name context forever, level 1';
10711Event 10711 - Trace Bitmap Index Merge Operation跟踪位图索引合并操作ALTER SESSION SET EVENTS '10711 trace name context forever, level 1';
10712Event 10712 - Trace Bitmap Index OR Operation跟踪位图索引或操作情况ALTER SESSION SET EVENTS '10712 trace name context forever, level 1';
10713Event 10713 - Trace Bitmap Index AND Operation跟踪位图索引与操作ALTER SESSION SET EVENTS '10713 trace name context forever, level 1';
10714Event 10714 - Trace Bitmap Index MINUS Operation跟踪位图索引minus操作ALTER SESSION SET EVENTS '10714 trace name context forever, level 1';
10715Event 10715 - Trace Bitmap Index Conversion to ROWIDs Operation跟踪位图索引转换ROWID操作ALTER SESSION SET EVENTS '10715 trace name context forever, level 1';
10716Event 10716 - Trace Bitmap Index Compress/Decompress跟踪位图索引压缩和解压缩情况ALTER SESSION SET EVENTS '10716 trace name context forever, level 1';
10717Event 10717 - Trace Bitmap Index CompactionALTER SESSION SET EVENTS '10717 trace name context forever, level 1';
10719Event 10719 - Trace Bitmap Index DML跟踪位图索引列的DML操作(引起位图索引改变的DML操作)ALTER SESSION SET EVENTS '10719 trace name context forever, level 1';
10730Event 10730 - Trace Fine Grained Access Predicates跟踪细粒度审计的断语ALTER SESSION SET EVENTS '10730 trace name context forever, level 1';
10731Event 10731 - Trace CURSOR Statements跟踪CURSOR的语句情况,跟踪游标声明ALTER SESSION SET EVENTS '10731 trace name context forever, level level';
LEVEL定义
1 Print parent query and subquery
2 Print subquery only
10928Event 10928 - Trace PL/SQL Execution跟踪PL/SQL执行情况ALTER SESSION SET EVENTS '10928 trace name context forever, level 1';
10938Event 10938 - Dump PL/SQL Execution Statistics转储PL/SQL执行统计信息,跟踪PL/SQL执行状态。使用前需要执行rdbms/admin下的tracetab.sqlALTER SESSION SET EVENTS '10938 trace name context forever, level 1';
Memory Dumps
flush_cache刷新BUFFER CACHEALTER SESSION SET EVENTS 'immediate trace name flush_cache';
DROP_SEGMENTS手工删除临时段。当这些临时段无法自动清除的时候可以手工清除alter session set events 'immediate trace name DROP_SEGMENTS level ts#+1'; --ts#是指要删除临时段的表空间的ts#
global_area1 包含PGA
2 包含SGA
4 包含UGA
8 包含indrect memory
ALTER SESSION SET EVENTS 'immediate trace name global_area level n';
Library Cache1 library cache统计信息
2 包含hash table histogram
3 包含object handle
4 包含object结构(Heap 0)
ALTER SESSION SET EVENTS 'immediate trace name library_cache level 10';
Row Cachedump数据字典缓冲区中的信息:
1 row cache统计信息
2 包含hash table histogram
8 包含object结构
ALTER SESSION SET EVENTS 'immediate trace name row_cache level n';
buffers1 buffer header
2 level 1 + block header
3 level 2 + block contents
4 level 1 + hash chain
5 level 2 + hash chain
6 level 3 + hash chain
8 level 4 + users/waiters
9 level 5 + users/waiters
10 level 6 + users/waiters
ALTER SESSION SET EVENTS 'immediate trace name buffers level n';
Buffern为某个指定block的rdba,该命令可以转储某个block在buffer中的所有版本。ALTER SESSION SET EVENTS 'immediate trace name buffer level n';
Heapdump PGA、SGA、UGA中的信息:
1 PGA摘要
2 SGA摘要
4 UGA摘要
8 Current call(CGA)摘要
16 User call(CGA)摘要
32 Large call(LGA)摘要
1025 PGA内容
2050 SGA内容
4100 UGA内容
8200 Current call内容
16400 User call内容
32800 Large call内容
ALTER SESSION SET EVENTS 'immediate trace name heapdump level level';
Sub HeapOracle 9.0.1版本之前
ALTER SESSION SET EVENTS 'immediate trace name heapdump_addr level n';
若n为subheap的地址,转储的是subheap的摘要信息
若n为subheap的地址+1,转储的则是subheap的内容
Oracle 9.2.0版本之后
ALTER SESSION SET EVENTS 'immediate trace name heapdump_addr level n, addr m';
其中m为subheap的地址,n为1转储subheap的摘要,n为2转储subheap的内容
Process State分析进程状态ALTER SESSION SET EVENTS 'immediate trace name processstate level 10';
systemstatedump所有系统状态和进程状态,分析系统状态,最好每10分钟一次,做三次对比
alter session set events 'immediate trace name SYSTEMSTATE level 10';
ALTER SESSION SET EVENTS 'immediate trace name systemstate level 10';
errorstackdump错误栈信息,通常Oracle发生错误时前台进程将得到一条错误信息,但某些情况下得不到错误信息,可以采用这种方式得到Oracle错误
0 Error stack
1 level 0 + function call stack
2 level 1 + process state
3 level 2 + context area
ALTER SESSION SET EVENTS 'immediate trace name errorstack level n';
alter session set events '604 trace name errorstack forever'; --表示当出现604错误时,dump 错误栈和进程栈。
alter session set events '942 trace name errorstack level 3';
alter system set events='1438 trace name errorstack forever,level 3';
alter system set events='1438 trace name errorstack off';
hanganalyzeALTER SESSION SET EVENTS 'immediate trace name hanganalyze level n';
Work Area1 SGA信息
2 Workarea Table摘要信息
3 Workarea Table详细信息
ALTER SESSION SET EVENTS 'immediate trace name workareatab_dump level n';
Latches1 latch信息
2 统计信息
ALTER SESSION SET EVENTS 'immediate trace name latches level n';
events1 session
2 process
3 system
ALTER SESSION SET EVENTS 'immediate trace name events level n';
LocksALTER SESSION SET EVENTS 'immediate trace name locks level n';
Shared Server Processn取值为1~14ALTER SESSION SET EVENTS 'immediate trace name shared_server_state level n';
Background MessagesALTER SESSION SET EVENTS 'immediate trace name bg_messages level (pid+1)';
coalesec事件dump指定表空间中的自由区间levelnumber以十六进制表示时,两个高位字节表示自由区间数目,两个低位字节表示表空间号,如0x00050000表示dump系统表空间中的5个自由区间,转换成十进制就是327680,即:
alter session set events 'immediate trace name coalesec level 327680';
File Dumps
blockdump事件dump数据文件、索引文件、回滚段文件结构,在Oracle 8以后该命令已改为:
alter system dump datafile 11 block 9; --表示dump数据文件号为11中的第9个数据块。
alter session set events 'immediate trace name blockdump level 66666'; --表示dump块地址为6666的数据块。
block分析数据文件块,转储数据文件n的块m:
alter system dump datafile n block m;
ALTER SYSTEM DUMP DATAFILE file# BLOCK block#;
ALTER SYSTEM DUMP DATAFILE file# BLOCK MIN min # BLOCK MAX max #;
Tree DumpALTER SESSION SET EVENTS 'immediate trace name treedump level object_id';
Undo Segment HeaderALTER SYSTEM DUMP UNDO_HEADER 'segment_name';
Undo for a TransactionALTER SYSTEM DUMP UNDO BLOCK 'segment_name' XID xidusn xidslot xidsqn;
File Headerdump 所有数据文件的头部信息:
1 控制文件中的文件头信息
2 level 1 + 文件头信息
3 level 2 + 数据文件头信息
10 level 3
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 所有数据文件的完整文件头。
Control file转储控制文件:
1 文件头信息
2 level 1 + 数据库信息 + 检查点信息
3 level 2 + 可重用节信息
10 level 3
12
alter system set events 'immediate trace name controlf level 12';
Redo log Header分析日志文件头:
1 控制文件中的redo log信息
2 level 1 + 文件头信息
3 level 2 + 日志文件头信息
10 level 3
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 log分析日志文件:
ALTER SYSTEM DUMP LOGFILE 'FileName'
SCN MIN MinSCN SCN MAX MaxSCN TIME MIN MinTime TIME MAX MaxTime
LAYER Layer OPCODE Opcode
DBA MIN File#.Block# DBA MAX File#.Block#
RBA MIN LogFileSequence#.Block# RBA MAX LogFileSequence#.Block#;
其中time = ((((yyyy - 1988) * 12 + mm - 1) * 31 + dd - 1) * 24 + hh) * 60 + mi) * 60 + ss;
ALTER SYSTEM DUMP LOGFILE 'FileName';
Loghistdump控制文件中的日志历史项:
1 dump控制文件中最早和最迟的日志历史项
>1 dump 2^n个日志历史项
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个日志历史项。
内部事件
10000control file debug event, name 'control_file'
10001control file crash event1
10002control file crash event2
10003control file crash event3
10004block recovery testing - internal error
10005trace latch operations for debugging
10006block recovery testing - external error
10007log switch debug crash after new log select, thread
10008log switch debug crash after new log header write, thread
10009log switch debug crash after old log header write, thread
10010Begin Transaction
10011End Transaction
10012Abort Transaction
10013Instance Recovery用于监视事务恢复,在Startup时跟踪事务恢复ALTER SESSION SET EVENTS '10013 trace name context forever, level 1';
10014Roll Back to Save Point
10015Undo Segment Recovery转储UNDO SEGMENT头部,Dump Undo Segment Headers,在事务恢复后做Dump回退段头信息ALTER SESSION SET EVENTS '10015 trace name context forever, level 1';
10016Undo Segment extend
10017Undo Segment Wrap
10018Data Segment Create
10019Turn off data/space search cache
10020partial link restored to linked list (KSG)
10021KST event to trace control file header writes and reads
10022trace ktsgsp
10023Create Save Undo Segment
10024Write to Save Undo
10025Simulate block recovery errors
10026Apply Save Undo
10027Specify Deadlock Trace Information to be Dumped
10028Dump trace information during lock / resource latch cleanup
10029session logon (KSU)用于给出会话期间的登陆信息
10030session logoff (KSU)用于给出会话期间的注销信息
10031sort debug event (S*)
10032sort statistics (SOR*)转储排序的统计信息,Dump Sort Statistics----Dump排序的统计信息,level 10是最详细的ALTER SESSION SET EVENTS '10032 trace name context forever, level 10';
10033sort run information (SRD*/SRS*)转储排序增长的统计信息ALTER SESSION SET EVENTS '10033 trace name context forever, level 10';
10034access path analysis (APA*)
10035Write parse failures to alert log file解析失败写入告警日志alter system set events '10035 trace name context forever,leve 5';
alter system set events '10035 trace name context off';
10036create remote row source (QKANET)
10037allocate remote row source (QKARWS)
10038dump row source tree (QBADRV)
10039type checking (OPITCA)
10040disable result-cache
10041dump undo records skipped
10042file header reads return youngest mirror
10043check consistency of owner/waiter/converter lists in KSQ
10044free list undo operations
10045free list update operations - ktsrsp, ktsunl跟踪Freelist管理操作,Trace Free List Management Operations-跟踪FreelistALTER SESSION SET EVENTS '10045 trace name context forever, level 1';
10047trace switching of sessions
10048Undo segment shrink
10049protect library cache memory heaps
10050sniper trace
10051trace OPI calls
10052don't clean up obj$
10054CBO Enable optimizer trace for recursive statement (RPI)
10055Rowsets: turn off rowsets for various operations
10056dump analyze stats (kdg)
10057suppress file names in error messages
10058use table scan cost in tab$.spare1
10059simulate error in logfile create/clear模拟redo日志中的创建和清除错误
10060CBO Enable predicate dump
10061disable SMON from cleaning temp segment阻止SMON进程在启动时清除临时段
10062disable usage of OS Roles in osds
10063disable usage of DBA and OPER privileges in osds
10064thread enable debug crash level , thread
10065limit library cache dump information for state object dumpRestrict Library Cache Dump Output for State Object Dumps
10066simulate failure to verify file
10067force redo log checksum errors - block number
10068force redo log checksum errors - file number
10069Flashback images for offline file are lost
10070force datafile checksum errors - block number
10071force datafile checksum errors - file number
10072local tempspace tracing - recovery layer
10073latch cleanup tracing
10074default trace function mask for kst
10075CBO Disable outer-join to regular join conversion
10076CBO Enable cartesian product join costing
10077CBO Disable view-merging optimization for outer-joins
10078CBO Disable constant predicate elimination optimization
10079trace data sent/received via SQL*Net转储SQL*NET统计信息,Dump SQL*Net Statistics---Dump SQL*NeT的统计信息ALTER SESSION SET EVENTS '10079 trace name context forever, level 2';
10080dump a block on a segment list which cannot be exchanged
10081segment High Water Mark has been advanced转储高水标记变化,Trace High Water Mark Changes-跟踪HWM的改变ALTER SESSION SET EVENTS '10081 trace name context forever, level 1';
10082free list head block is the same as the last block
10083Trace IMCDT in LIMITED mode
10084free list becomes empty
10085free lists have been merged
10086CBO Enable error if kko and qka disagree on oby sort
10087disable repair of media corrupt data blocks
10088CBO Disable new NOT IN optimization
10089CBO Disable index sorting
10090invoke other events before crash recovery
10091CBO Disable constant predicate merging
10092CBO Disable hash join
10093CBO Enable force hash joins
10094before resizing a data file
10095dump debugger commands to trace file
10096after the cross instance call when resizing a data file
10097after generating redo when resizing a data file
10098after the OS has increased the size of a data file
10099after updating the file header with the new file size
10100after the OS has decreased the size of a data file
10101DBWR refresh fails on cross instance resize call
10102switch off anti-joins
10103CBO Disable hash join swapping
10104dump hash join statistics to trace file转储Hash连接统计信息,Dump Hash Join Statistics-Dump HASH JOIN的统计信息,用level 10ALTER SESSION SET EVENTS '10104 trace name context forever, level 10';
10105CBO Enable constant pred trans and MPs w WHERE-clause
10106CBO Disable evaluating correlation pred last for NOT IN
10107CBO Always use bitmap index
10108CBO Don't use bitmap index
10109CBO Disable move of negated predicates
10110CBO Try index rowid range scans
10111Bitmap index creation switch
10112Bitmap index creation switch
10113Bitmap index creation switch
10114Bitmap index creation switch
10115CBO Bitmap optimization use maximal expression
10116CBO Bitmap optimization switch
10117CBO Disable new parallel cost model
10118CBO Enable hash join costing
10119QKA Disable GBY sort elimination
10120generate relative file # different from absolute
10121CBO Don't sort bitmap chains
10122Disable transformation of count(col) to count(*)
10124Force creation of segmented arrays by kscsAllocate
10125Disable remote sort elimination
10126Debug oracle java xa
10127Disable remote query block operation
10128Dump Partition Pruning Information转储分区休整信息,Dump Partition Pruning Information-Dump分区表信息,
Level Action
0x0001 Dump pruning descriptor for each partitioned object
0x0002 Dump partition iterators
0x0004 Dump optimizer decisions about partition-wise joins
0x0008 Dump ROWID range scan pruning information
在9.0.1或者后面的版本,在level 2后还需要建立如下的表:
CREATE TABLE kkpap_pruning
(
partition_count NUMBER,
iterator VARCHAR2(32),
partition_level VARCHAR2(32));
ALTER SESSION SET EVENTS '10128 trace name context forever, level level';
10129Alter histogram lookup for remote queries
10130sort disable readaheads
10131CONNECT BY debug event
10132dump plan after compilation
10133testing for SQL Memory Management
10134tracing for SQL Memory Management for session
10135CBO do not count 0 rows partitions
10136CBO turn off fix for bug 1089848
10137CBO turn off fix for bug 1344111
10138CBO turn off fix for bug 1577003
10139CBO turn off fix for bug 1386119
10140CBO turn off fix for bug 1332980
10141CBO disable additional keys for inlist in bitmap optimization
10142CBO turn off advanced OR-expansion checks
10143CBO turn off hints
10144CBO turn off cost based selection of bji over bsj subquery
10145test auditing network errors
10146enable Oracle TRACE collection
10147enable join push through UNION view
10148Quarantine trace event
10149allow the creation of constraints with illegal date constants
10150import exceptions
10152CBO don't consider function costs in plans
10153Switch to use public synonym if private one does not translate
10154Switch to disallow synonyms in DDL statements
10155CBO disable generation of transitive OR-chains
10156CBO disable index fast full scan
10157CBO disable index access path for in-list
10158CBO preserve predicate order in post-filters
10159CBO disable order-by sort pushdown into domain indexes
10160CBO disable use of join index
10161CBO recursive semi-join on/off-switch
10162CBO join-back elimination on/off-switch
10163CBO join-back elimination on/off-switch
10164CBO disable subquery-adjusted cardinality fix
10165mark session for special handling during instance administration
10166trace long operation statistics updates
10167CBO use old index MIN/MAX optimization
10168CBO disable single-table predicate predicate generation
10169CBO disable histograms for multi partitions
10170CBO use old bitmap costing
10171CBO disable transitive join predicates
10172CBO force hash join back
10173Dynamic Sampling time-out error
10174view join-back elimination switch
10175CBO star transformation switch
10176CBO colocated join switch
10177CBO colocated join switch
10178CBO turn off hash cluster filtering through memcmp
10179CBO turn off transitive predicate replacement
10180temp table transformation print error messages
10181CBO disable multi-column in-list processing
10182CBO disable generation of implied predicates
10183CBO disable cost rounding
10184CBO disable OR-exp if long inlist on bitmap column
10185CBO force index joins
10186CBO disable index join
10187CBO additional index join switch
10188CBO additional index join switch
10189CBO turn off FFS null fix
10190Analyze use old frequency histogram collection and density
10191Avoid conversion of in-lists back to OR-expanded form
10192nopushdown when number of groups exceed number of rows
10193Force repeatable sampling with specified seed
10194CBO disable new LIKE selectivity heuristic
10195CBO don't use check constraints for transitive predicates
10196CBO disable index skip scan
10197CBO force index skip scan
10199set parameter in session
10200consistent read buffer status转储一致性读信息
10201consistent read undo application转储一致性读中Undo应用
10202consistent read block header
10203block cleanout
10204signal recursive extend
10205row cache debugging
10206transaction table consistent read
10207consistent read transactions' status report
10208consistent read loop check
10209enable simulated error on control file允许在控制文件中模拟错误
10210check data block integrity触发数据块检查事件event = "10210 trace name context forever, level 10"
10211触发索引检查事件,我并没有找到这个事件
10212check cluster integrity
10213crash after control file write模拟在写控制文件后崩溃
10214simulate write errors on control file模拟在控制文件中的写错误,levelnumber从1-9表示产生错误的块号,大于等于10则每个控制文件将出错
10215simulate read errors on control file模拟在控制文件中的读错误
10216dump control file header
10217debug sequence numbers
10218dump uba of applied undo
10219monitor multi-pass row locking
10220show updates to the transaction table转储Undo头部变化
10221show changes done with undo转储Undo变化
10222row cache
10223transaction layer - turn on verification codes
10224index block split/delete trace10224事件可以分析索引块分裂及删除alter session set events '10224 trace name context forever,level 10';
alter session set events '10224 trace name context off';
10225free/used extent row cache转储基于字典管理的区间的变化
10226trace CR applications of undo for data operations
10227verify (multi-piece) row structure
10228trace application of redo by kcocbk
10229simulate I/O error against datafiles模拟在数据文件上的I/O错误
10230KSFD block repair test event
10231skip corrupted blocks on _table_scans_设置在全表扫描时忽略损坏的数据块alter session set events '10231 trace name context off'; -- 关闭会话期间的数据块检查
event = "10231 trace name context forever, level 10" -- 对任何进程读入SGA的数据块进行检查
10232dump corrupted blocks symbolically when kcbgotten将设置为软损坏(DBMS_REPAIR包设置或DB_BLOCK_CHECKING为TRUE时设置)的数据块dump到跟踪文件
10233skip corrupted blocks on index operations
10234trigger event after calling kcrapc to do redo N times
10235check memory manager internal structures用于内存堆检查alter session set events '10235 trace name context forever, level 1';
10236dump redo on object no. or block type mismatch errors 1410/8103
10237simulate ^C (for testing purposes)
10238instantiation manager
10239multi-instance library cache manager
10240dump dba's of blocks that we wait for
10241remote SQL execution tracing/validation转储远程SQL执行
10242suppress OER 2063 (for testing distrib w/o different error log)
10243simulated error for test of K2GTAB latch cleanup
10244make tranids in error msgs print as 0.0.0 (for testing)
10245Testing event used by server I/O ksfd/ksfq module
10246print trace of PMON actions to trace file跟踪PMON进程,将PMON的动作输出到trace文件中alter session set events '10246 trace name context forever,level 4';
alter session set events '10246 trace name context off';
10247Turn on scgcmn tracing. (VMS ONLY)
10248turn on tracing for dispatchers跟踪dispatch进程
10249turn on tracing for multi-stated servers跟踪MTS进程
10250Trace all allocate and free calls to the topmost SGA heap
10251check consistency of transaction table and undo block
10252shared IO pool error simulation模拟写数据文件头部错误
10253limit SQL text returned from X$KGLNA[1]模拟写redo日志文件错误
10254trace cross-instance calls
10255pl/sql parse checking
10256shared server debug event
10257trace shared server load balancing
10258force shared servers to be chosen round-robin
10259get error message text from remote using explicit call
10260PGA limit ( MB) exceeded - process terminated10260, 00000, "PGA limit (%s MB) exceeded - process terminated"
// *Cause: The Resource Manager SESSION_PGA_LIMIT directive was exceeded
// because the process used too much program global area (PGA)
// memory.
// *Action: Reduce the complexity of the update or query, or contact your
// database administrator for more information.
10261Limit the size of the PGA heap
10262Don't check for memory leaks允许连接时存在内存泄漏alter session set events '10262 trace name context forever, level 300'; -- 允许存在300个字节的内存泄漏
10263Don't free empty PGA heap extents
10265Keep random system generated output out of error messages
10266Trace OSD stack usage
10267Inhibit KSEDMP for testing
10268Don't do forward coalesce when deleting extents
10269Don't do coalesces of free space in SMON
10270Debug shared cursors转储共享游标
10271distributed transaction after COLLECT
10272distributed transaction before PREPARE
10273distributed transaction after PREPARE
10274distributed transaction before COMMIT
10275distributed transaction after COMMIT
10276distributed transaction before FORGET
10277Cursor sharing (or not) related event (used for testing)
10278Internal testing
10279Simulate block corruption in kdb4chk
10280Internal testing - segmentation fault during crash recovery
10281maximum time to wait for process creation
10282Inhibit signalling of other backgrounds when one dies
10284simulate zero/infinite asynch I/O buffering
10285Simulate control file header corruption模拟控制文件头部损坏
10286Simulate control file open error模拟控制文件打开错误
10287Simulate archiver error模拟归档出错
10288Do not check block type in ktrget
10289Do block dumps to trace file in hex rather than fromatted
10290Internal sequence tracing event
10291die in tbsdrv to test control file undo
10292hang analysis trace event
10293trace log switch media recovery checkpoints
10294ksrpc tracing
10295die after file header update durning cf xact
10296disable 379
10297shared I/O pool tracing
10298ksfd i/o tracing
10299Trace prefetch tracking decisions made by CKPT
10300Distributed transaction tracing
10301Enable LCK timeout table consistency check
10302trace create or drop internal trigger
10303trace loading of library cache for internal triggers
10304trace replication trigger
10305trace updatable materialized view trigger
10306trace materialized view log trigger
10307trace RepCat execution
10308replication testing event
10309Trigger Debug event
10310trace synchronous change table trigger
10311Disable Flashback Table Timestamp checking
10312Allow disable to log rows into the mapping table
10314Enable extra stats gathering for CR
10316Events for extensible txn header, non zero ext header size
10317Events for extensible txn header, zero ext header size
10318Trace extensible txn header movements
10319Trace PGA statistics maintenance
10320Enable data layer (kdtgrs) tracing of space management calls
10321Datafile header verification debug failure.
10322CBO don't simplify inlist predicates
10323before committing an add datafile command
10324Enable better checking of redo logs errors
10325Trace control file record section expand and shrink operations
10326clear logfile debug crash at , log
10327simulate 00235 error for testing
10328disable first-to-mount split-brain error, for testing
10329simulate out-of-memory error during first pass of recovery
10330clear MTTR statistics in checkpoint progress record
10331simulate resilvering during recovery
10332force ALTER SYSTEM QUIESCE RESTRICTED command to fail
10333dump MTTR statistics each time it is updated
10334force FG to wait to be killed during MTTR advisory simulation
10335trace database open status
10336Do remote object transfer using remote SQL
10337enable padding owner name in slave sql
10338CBO don't use inlist iterator with function-based indexes
10339CBO disable DECODE simplification
10340Buffer queues sanity check for corrupted buffers
10341Simulate out of PGA memory in DBWR during object reuse
10342Raise unknown exception in ACQ_ADD when checkpointing
10343Raise an out of memory exception-OER 4031 in ACQ_ADD
10344reserved for simulating object hash reorganization
10345validate queue when linking or unlinking a buffer
10346check that all buffers for checkpoint have been written
10347dump active checkpoint entries and checkpoint buffers
10348test abnormal termination of process initiating file checkpoint
10349do not allow ckpt to complete
10350Simulate more than one object & tsn id in object reuse
10351size of slots
10352report direct path statistics
10353number of slots
10354turn on direct read path for parallel query
10355turn on direct read path for scans
10356turn on hint usage for direct read
10357turn on debug information for direct path调试直接路径机制
10358Simulate out of PGA memory in cache advisory reset
10359turn off updates to control file for direct writes
10360enable dbwr consistency checking
10361check buffer change vector count consistency
10362simulate a write error to take a file offline
10363Simulate messaging error for fast object reuse/checkpoint
10364Do not clear GIMH_STC_SHUT_BEGIN state during shutdown
10365turn on debug information for adaptive direct reads
10366kgnfs tracing
10367kgodm tracing
10368maximum number of internal errors a process will tolerate
10369test SQL monitoring feature
10370parallel query server kill event
10371disable TQ hint
10372parallel query server kill event proc
10373parallel query server kill event
10375turn on checks for statistics rollups
10376enable archive compression loads
10377force slave allocation
10378force hard process/range affinity
10380kxfp latch cleanup testing event
10381kxfp latch cleanup testing event
10382parallel query server interrupt (reset)
10383auto parallelization testing event
10384parallel dataflow scheduler tracing
10385parallel table scan range sampling method
10386parallel SQL hash and range statistics
10387parallel query server interrupt (normal)
10388parallel query server interrupt (failure)
10389parallel query server interrupt (cleanup)
10390Trace parallel query slave execution
10391trace PX granule allocation/assignment
10392parallel query debugging bits
10393print parallel query statistics
10394generate a fake load to test adaptive and load balancing
10395adjust sample size for range table queues
10397suppress verbose parallel coordinator error reporting
10398enable timeouts in parallel query threads
10399trace buffer allocation
10400turn on system state dumps for shutdown debugging
10401turn on IPC (ksxp) debugging
10402turn on IPC (skgxp) debugging
10403fake CPU number for default degree of parallelism
10404crash dbwr after write
10405emulate broken mirrors
10406enable datetime TIMESTAMP, INTERVAL datatype creation
10407enable datetime TIME datatype creation
10408disable OLAP builtin window function usage
10409enable granule memset and block invalidation at startup
10410trigger simulated communications errors in KSXP
10412dump the call stack if an error is signaled
10413force simulated error for testing purposes
10414simulated error from event level
10415parallel degree specified is too large, max value allowed
10416disable fix for 2736734
10417limit 1 file per sbtinfo2() validation call
10418disable re-creating tempfile
10419create tempfile without create_scn and time
10420trace KSO OS-process operations
10421enable dump from ksbwco if there is no reply
10422KSU debugging
10423dump the call stack if the specified error is cleared
10424KGE debugging
10425enable global enqueue operations event trace
10426enable ges/gcs reconfiguration event trace
10427enable global enqueue service traffic controller event trace
10428enable tracing of global enqueue service cached resource
10429enable tracing of global enqueue service IPC calls
10430enable ges/gcs dynamic remastering event trace
10431enable verification messages on pi consistency
10432enable tracing of global cache service fusion calls
10433global enqueue service testing event
10434enable tracing of global enqueue service multiple LMS
10435enable tracing of global enqueue service deadlock detetction
10436enable global cache service duplicate ping checking
10437enable trace of global enqueue service S optimized resources
10438force lowest node to be master of all gcs resources
10439enable tracing of global cache service fusion calls - part 2
10440enable global enqueue service inquire resource modes trace
10441enable diagnosibility daemon (DIAG) trace
10442enable trace of kst for 01555 diagnostics
10443reserved for data layer diagnostics and debugging
10444enable DLM timeout testing
10445enable tracing of LMS priority management
10446reserved for data layer diagnostics and debugging
10447reserved for data layer diagnostics and debugging
10448Dump trace for OLTP partial compression features diagnostics
10449enable trace of kst for undo manageability features diagnostics
10450signal ctrl-c in kdddca (drop column) after n rows
10451Force heap segment compression bypassing compatibility checks
10452Cannot do block media recovery; media recovery session may be in progress
10453Dump compression statistics to trace file
10454Disable column reordering during compression
10455Do Compression Block Checking
10456cannot open standby database; media recovery session may be in progress
10457cannot close standby database due to active media recovery
10458standby database requires recovery
10459cannot start media recovery on standby database; conflicting state detected
10460Perform backward tablescans for consistent read reduction
10461Simulate control file corruption during write operation
10462enable recovery debug module
10463enable controlfile test
10464enable incremental checkpoint debug for split brain check
10465force slave death during parallel crash recovery
10466enable HARD check for block write
10467amplify control file record expansion for testing
10468log writer debug module
10469error creating control file backup, no checkpoint
10470disable compatibility check for lost write detection10470, 00000, "disable compatibility check for lost write detection"
// *Document: NO
// *Cause:
// *Action: Set this event to run database with lost write detection
// enabled in compatibility mode below 11.0.
// Level 1: equivalent of "typical" setting
// Level 2: equivalent of "full" setting
// for the parameter db_lost_write_protect
在12c中,Lost write detection related event
10470, 00000, "Lost write detection related event"
// *Document: NO
// *Cause:
// *Action: Set this event to enable certain lost write detection related
// functionalities.
10471PQ slave allocation timeout test
10472dump reading log buffer hit ratio histogram to lgwr trace file
10473enable BRR tracing
10474controlfile time tracing
10475readable standby debug event
10476control file corruption range testing
10477simulated rollback error
10478DBW0 file identification trace event
10479disk sector size test event
10480Soft asserts for fast detection of datafile storage problems
10481Backup data block for data file has an unlogged change
10482Automatic block repair cannot repair an offline or read-only data file
10483Simulate overly advanced incremental checkpoint
10484Enable test move operation在12c中,Enable tracing for online data file move operation
10485Real-Time Query cannot be enabled while applying migration redo.
10486Verify data file-related SGA alignment
10487Dump redo memory protection information.
10488Dump block headers read for media recovery.
10489Generate future redo for testing
10490Trace OSM misc. events
10491Trace OSM messaging (KFN) events
10492Trace OSM metadata events
10493Return empty define buffers on 1422
10494Trace OSM metadata events
10495Trace OSM metadata events
10496Turn off fix for bug 2554178
10497Trace OSM metadata events
10498Trim blank characters including contol characters
10499Trace OSM metadata events
10500turn on traces for SMON跟踪SMON进程
10501periodically check selected heap
10502CBO disable the fix for bug 2098120
10503enable user-specified graduated bind lengths
10504CBO disable the fix for bug 2607029
10505CBO enable dynamic sampling dump to table
10506Disable fix for bug 2588217
10507Trace bind equivalence logic
10508Enable fix for bug 14772545
10509Check kghu subheaps at call boundaries
10510turn off SMON check to offline pending offline rollback segment
10511turn off SMON check to cleanup undo dictionary
10512turn off SMON check to shrink rollback segments
10513turn on IPC (ksmsq) debugging
10515turn on event to use physical cleanout
10519enable ALTER TYPE RESET support
10520recreate view only if definition has changed
10521CMON connection pool test event
10522turn off wrap source compression
10523force recreate package even if definition is unchanged
10524CMON connection pool trace event
10525Disable automatic object validation for describe
10526enables lightweight thread tracing
10527enables SGA allocation tracing
10528enables ksmg tracing
10530lightweight thread spawn failed, error stack:
10531lightweight thread unit test failure error
10532lightweight thread encountered internal error
10542Enable tracing for block compare
10543Standby Block Media Recovery (bmr) and split brain testing event
10544Inject standby autobmr failures
10545Print standby autobmr messages in alert log
10546Cannot perform block media recovery; standby database does not have requisite redo.
10547Cannot perform block media recovery; standby database is not caught up with primary.
10548Cannot perform block media recovery on a read-only plugged-in datafile.
10549Cannot perform block media recovery using a read-only plugged-in backup datafile.
10550signal error during create as select/create index after n rows
10551Internal testing for 1551 error handling
10552allow unlimited corruption during recovery
10553Incompatible UNTIL CONSISTENT clause
10554Media recovery failed to bring datafile to a consistent point
10555Disable redo dumping
10556Enable tracing for multi instance Redo Apply
10557NID clears database incarnation section in controlfile
10558Disable unkeep marker handling for ADG
10559LGWR code path debugging event for deferred log flush on ping
10560block type ''
10561block type '', data object#
10562Error occurred while applying redo to data block (file# , block# )
10563Test recovery had to corrupt data block (file# , block# ) in order to proceed
10564tablespace
10565Another test recovery session is active
10566Test recovery has used all the memory it can use
10567Redo is inconsistent with data block (file# , block# , file offset is bytes)
10568Failed to allocate recovery state object: out of SGA memory
10569Trace datafile header writes
10570Test recovery complete
10571Test recovery canceled
10572Test recovery canceled due to errors
10573Test recovery tested redo from change to
10574Test recovery did not corrupt any data block
10575Give up restoring recovered datafiles to consistent state: out of memory
10576Give up restoring recovered datafiles to consistent state: some error occurred
10577Can not invoke test recovery for managed standby database recovery
10578Can not allow corruption for managed standby database recovery
10579Can not modify control file during test recovery
10580Can not modify datafile header during test recovery
10581Can not modify redo log header during test recovery
10582The control file is not a backup control file
10583Can not recovery file renamed as missing during test recovery
10584Can not invoke parallel recovery for test recovery
10585Test recovery can not apply redo that may modify control file
10586Test recovery had to corrupt 1 data block in order to proceed
10587Invalid count for ALLOW n CORRUPTION option
10588media recovery file header validation
10589Test recovery had to corrupt data blocks in order to proceed
10590kga (argus debugger) test flags
10591kga (argus debugger) test flags
10592kga (argus debugger) test flags
10593kga (argus debugger) test flags
10594kga (argus debugger) test flags
10595kga (argus debugger) test flags
10596kga (argus debugger) test flags
10597kga (argus debugger) test flags
10598kga (argus debugger) test flags
10599kga (argus debugger) test flags
10600check cursor frame allocation
10601turn on debugging for cursor_sharing (literal replacement)
10603cause an error to occur during truncate (for testing purposes)
10604trace parallel create index
10605enable parallel create index by default
10606trace parallel create index
10607trace index rowid partition scan
10608trace create bitmap index跟踪位图索引的创建
10609trace for array index insertion
10610trace create index pseudo optimizer
10611causes migration to fail - testing only
10612prints debug information for auto-space managed segments
10613prints debug information for auto-space managed segments
10614Operation not allowed on this segment
10615Invalid tablespace type for temporary tablespace
10616Operation not allowed on this tablespace
10617Cannot create rollback segment in dictionary managed tablespace
10618Operation not allowed on this segment
10619Avoid assertions when possible
10620Operation not allowed on this segment
10621specify retry count for online index build cleanup DML lock get
10622test/trace online index (re)buildtest or trace online index build or rebuild
10623test synchronized flow of SORT rows into FOR UPDATE lock phase
10624Disable UJV invalidation on drop index
10625Turn off redo log dump for the index when OERI 12700
10626specify timeout for online index rebuild to wait for DML
10627Dump the content of the index leaf block
10628Turn on sanity check for kdiss index skip scan state
10629force online index build to backoff and retry DML lock upgrade
10630Illegal syntax specified with SHRINK clause
10631SHRINK clause should not be specified for this object
10632Invalid rowid
10633No space found in the segment
10634Segment is already being shrunk
10635Invalid segment or tablespace type
10636ROW MOVEMENT is not enabled
10637The segment does not exist
10638Index status is invalid
10639Dump library cache during reparse loops
10640Operation not permitted during SYSTEM tablespace migration
10641Cannot find a rollback segment to bind to
10642Found rollback segments in dictionary managed tablespaces
10643Database should be mounted in restricted mode and Exclusive mode
10644SYSTEM tablespace cannot be default temporary tablespace
10645Recursive Extension in SYSTEM tablespace during migration
10646Too many recursive extensions during SYSTEM tablespace migration
10647Tablespace other than SYSTEM, , not found in read only mode
10648Tablespace SYSAUX is not offline
10649Turn off/trace lob index freelist coalesce
10650disable cache-callback optimisation
10651incorrect file number block number specified
10652Object has on-commit materialized views
10653Table is in a cluster
10654Table is of type temporary or external
10655Segment can be shrunk
10656Table is in unusable state due to incomplete operation
10657Lob column to be shrunk does not exist
10658Lob column to be shrunk is marked unused
10659Segment being shrunk is not a lob
10660Segment is a shared lob segment
10661Invalid option specified
10662Segment has long columns
10663Object has rowid based materialized views
10664Table has bitmap join indexes
10665Inject Evil Literals
10666Do not get database enqueue name
10667Cause sppst to check for valid process ids
10668Inject Evil Identifiers
10690Set shadow process core file dump type (Unix only)
10691Set background process core file type (Unix only)
10693Internal event
10700Alter access violation exception handler
10701Dump direct loader index keys
10702Application continuity debugging was not enabled
10706Print out information about global enqueue manipulation跟踪全局enqueues
10707Simulate process death for instance registration
10708print out trace information from the RAC buffer cache跟踪RAC的buffer cache
10709enable parallel instances in create index by default
10718event to disable automatic compaction after index creation
10719trace bitmap index dml
10720trace db scheduling
10721Internal testing - temp table transformation
10722set parameters for CPU frequency calculation (debug)在12c中,trace server level database scheduling
10723Internal testing - release buffer for buffer cache shrink
10724trace cross-instance broadcast
10725bitmap index version control
10726frequent itemset counting
10727introduce failure events in IPC
10728set parameters for CPU frequency calculation (debug)
10732honor pctfree during insert into AQ IOTs
10733test transient-IOT metadata during PMO cleanup
10734reroute external procedures
10735debug ksws operations
10736buffer cache pin history dump
10737test block checking
10738internal block testing
10739debug WLM (kywm) operations
10740disables fix for bug 598861
10741trace missing BRR generation
10742dump process state on flush buffer_cache
10743define the misbehaved vt dump thresholds
10744disable LMD stale cvak traces and dumps
10745enable LCK1 kqlmbivg-NULL-kglhdrac dump
10746enable KGCE_DEBUG_MODE
10750test rollback segment blksize guessing for index array insert
10751override for remote row source maximum buffer size
10752override for the Exponential Moving Average factor
10753enforce deterministic behaviour for prefetching row source
10754disable fix for bug 14173995 for multi-table select for update
10755Event to store SIG_1551 stacks to KST
10756Event to enable svpt/autotxn tracing
10757Event to control tracing row source: rows to dump per rowset
10758Event to control tracing row source: start row number
10759Event to control tracing row source: end row number
10760Event to control tracing row source: maximum encoded operands to check
10761Event to control tracing row source: size of dictionary
10780LogMiner API trace event
10781LogMiner reader trace event
10782LogMiner preparer trace event
10783LogMiner builder trace event
10784LogMiner dictionary trace event
10785LogMiner trace event
10786call push/pop (KSU)
10787trace intra-instance broadcast
10788trace call stacks
10789LogMiner test event
10790LogMiner trace event
10791Logical Standby swithover/failover trace event
10792Logical Standby XDAT trace event
10793Logical Standby trace event
10794Logical Standby trace event
10795VKTM Process trace event
10796Elevate Scheduler Priority trace event
10797Logical Standby Test Event
10798debug GSM operations
10800disable Smart Disk scan
10804reserved for ksxb
10806Switch to 7.3 mode when detaching sessions
10807Disable user id check when switching to a global transaction
10808Enable assert when waiting without a reason
10809Trace state object allocate / free history
10810Trace snapshot too old
10811Trace block cleanouts
10812Trace Consistent Reads
10826enable upgrade/downgrade error message trace
10827enable upgrade/downgrade diagnostics
10828memory allocator error
10830Trace group by sort row source
10831Trace group by rollup row source
10832Trace approximate NDV row source
10833Runtime distribution keys for adaptive partial rollup
10834Runtime behavior control for adaptive partial rollup
10835exclude SYS_OP_CYCLED_SEQ from TQ keys for scalable percentile
10839trace / debug caching module (qesca.c)
10840trace / debug pl/sql caching module (kkxmInitCache)
10841Default un-inintialized charact set form to SQLCS_IMPLICIT
10842Event for OCI Tracing and Statistics Info
10843Event for client result cache tracing
10844turn on Native Net IPC debugging (skgxp)
10845Enable Director tracing
10846Enable Director Single Node Testing在12c中,Event for non-blocking testing
10847OCI dump action is being invoked for internal error
10848OCI Non Blocking not supported with
10849Internal OCI event number
10850Enable time manager tracing
10851Allow Drop command to drop queue tables
10852Enable tracing for Enqueue Dequeue Operations
10853Enable tracing for Replicating AQ Operations
10854Sets poll count used for AQ listen code under RAC
10856Disable AQ propagator from using streaming
10857Force AQ propagator to use two-phase commit
10858Crash the AQ propagator at different stages of commit
10859Disable updates of message retry count
10860event for AQ admin disable new name parser
10861disable storing extended message properties
10862resolve default queue owner to current user in enqueue/dequeue
10863Control behavior of buffered background operations
10864event to enable AQ dedicated propagation
10865Control tracing of notification operations
10866event to order dequeue by condition
10867event to turn off authentication for emon to oci client connections在12c中,turn off authentication for emon to oci client and disable HA rstat
10868event to enable interop patch for AQ enqueue options
10870Disable multi-instance standby role transition
10871dump file open/close timestamp during media recovery
10872Flashback Database fault insertion event #.
10873file needs to be either taken out of backup mode or media recovered
10874Change max logfiles in hashtable in krfbVerifyRedoAvailable
10875Require instance bounce after switchover to primary
10876IDR Test event
10877error signaled in parallel recovery slave
10878parallel recovery slave died unexpectedly
10879error signaled in parallel recovery slave
10880trace Java VM execution
10883Event for Fast Application Notification tracing
10884TTC event
10885Switchover test event
10886Recovery test event
10887An Oracle Active Data Guard license is required to open a pluggable database while standby recovery is applying changes.
10888TTC event for optimized fetch
10889minimum number of instances needed for redo apply unavailable
10890ADG test event
10891disable column pruning in ANSI join transformation
10892multi-instance redo apply encountered nonlogged operation
10893TTC trace event
10898LGWR timing event
10900extent manager fault insertion event #
10901disable the fix for bug 1230798
10902disable seghdr conversion for ro operation
10903Force tablespaces to become locally managed
10904Allow locally managed tablespaces to have user allocation
10905Do cache verification (kcbcxx) on extent allocation
10906Unable to extend segment after insert direct load
10907Trace extent management events
10908Trace temp tablespace events
10909Trace free list events
10910inject corner case events into the RAC buffer cache
10911Locally managed SYSTEM tablespace bitmaps can be modified only under the supervision of Oracle Support
10912Used to perform admin operations on locally managed SYSTEM tablespace
10913Create locally managed database if compatible > 920 by default
10914invalid TABLESPACE GROUP clause
10915TABLESPACE GROUP cannot be specified for this type of tablespace
10916TABLESPACE GROUP already specified
10917TABLESPACE GROUP cannot be specified
10918TABLESPACE GROUP name cannot be the same as tablespace name
10919Default temporary tablespace group must have at least one tablespace
10920Cannot offline tablespace belonging to default temporary tablespace group
10921Cannot drop tablespace belonging to default temporary tablespace group
10922Temporary tablespace group is empty
10923prints debug information for object space server manageability
10924import storage parse error ignore event
10925trace name context forever
10926trace name context forever
10927trace name context forever
10929trace name context forever
10930trace name context forever
10931trace name context forever
10932trace name context forever
10933trace name context forever
10934trace name context forever
10936trace name context forever
10937trace name context forever
10939trace name context forever
10940trace name context forever
10941trace name context forever
10943trace name context forever
10944trace name context forever
10945trace name context forever
10946trace name context forever
10947trace name context forever
10948trace name context forever
10949Disable autotune direct path read for full table scan
10960AQ tracing event
10961Enable tracing for Scheduler subscriber cleanup
10970backout event for bug 2133357
10971prints debugging information for LOBs
10972raise a 1551 exception in kdu_array_flush
10973backout evet for 2619509
10974Turn on LOB integrity verification
10975trace execution of parallel propagation
10976internal package related tracing
10977trace event for RepAPI
10978general event for materialized view logs
10979trace flags for join index implementation
10980prevent sharing of parsed query during Materialized View query generation
10981dscn computation-related event in replication
10982event to turn off CDC-format MV Logs
10983event to enable Create_Change_Table debugging
10984subquery materialized view-related event
10985event for NULL refresh of materialized views
10986donot use HASH_AJ in refresh
10987event for the support of caching table with object feature
10988event to get exclusive lock during materialized view refresh in IAS
10989event to internally create statistics MV
10990dump spreadsheet info
10991event for optimizing the online redefinition instantiation
10992event to enable dbms_job instead of dbms_scheduler
10993Runtime enable IOQ batching
10994Compiletime enable IOQ batching
10995general event for materialized views
10997another startup/shutdown operation of this instance inprogress
10998event to enable short stack dumps in system state dumps
10999do not get database enqueue name
28401屏蔽密码延迟验证,
28401, 00000, "Event to disable delay after three failed login attempts"
// *Document: NO
// *Cause: N/A
// *Action: Set this event in your environment to disable the login delay
// which will otherwise take place after three failed login attempts.
// *Note: THIS IS NOT A USER ERROR NUMBER/MESSAGE. THIS DOES NOT NEED TO BE
// TRANSLATED OR DOCUMENTED.
ALTER SYSTEM SET EVENTS '28401 TRACE NAME CONTEXT FOREVER, LEVEL 1';--屏蔽密码延迟验证
ALTER SYSTEM SET EVENTS '28401 TRACE NAME CONTEXT OFF'; --关闭28401事件
5614566如果数据库版本为Oracle 10g以前,那么只能清空整个Shared Pool,命令为:"ALTER SYSTEM FLUSH SHARED_POOL;"。在Oracle 10g中提供了一个包DBMS_SHARED_POOL,该包可以实现该功能。若该包没有安装,则可以通过$ORACLE_HOME/rdbms/admin/dbmspool.sql进行安装。在Oracle 10.2.0.4中有BUG(MOS为:751876.1),需要通过设置事件来规避该问题,命令为:" ALTER SESSION SET EVENTS '5614566 TRACE NAME CONTEXT FOREVER';"
使用这种方法,就可以精确的将一个SQL从共享池中删除,从而使得Oracle为这个SQL重新生成执行计划。这种方法只针对单个SQL语句,使得解决问题的同时不会造成任何的误伤。
SYS@lhrdb> SELECT ADDRESS,HASH_VALUE FROM V$SQLAREA WHERE ROWNUM<=1;
ADDRESS HASH_VALUE
---------------- ----------
0000000092D263D0 3231842444
SYS@lhrdb> EXEC DBMS_SHARED_POOL.PURGE('0000000092D263D0,3231842444','C');
PL/SQL procedure successfull
ALTER SESSION SET EVENTS '5614566 TRACE NAME CONTEXT FOREVER';



看完上述内容是否对您有帮助呢?如果还想对相关知识有进一步的了解或阅读更多相关文章,请关注行业资讯频道,感谢您对的支持。

0