您好,登錄后才能下訂單哦!
這篇文章給大家介紹ORACLE event的使用說明,內容非常詳細,感興趣的小伙伴們可以參考借鑒,希望對大家能有所幫助。
event
Event Reference
10013 - Monitor Transaction Recovery | 10270 - Debug Shared Cursors |
10015 - Dump Undo Segment Headers | 10357 - Debug Direct Path |
10032 - Dump Sort Statistics | 10390 - Dump Parallel Execution Slave Statistics |
10033 - Dump Sort Intermediate Run Statistics | 10391 - Dump Parallel Execution Granule Allocation |
10045 - Trace Free List Management Operations | 10393 - Dump Parallel Execution Statistics |
10046 - Enable SQL Statement Trace | 10500 - Trace SMON Process |
10053 - Dump Optimizer Decisions | 10608 - Trace Bitmap Index Creation |
10060 - Dump Predicates | 10704 - Trace Enqueues |
10065 - Restrict Library Cache Output for State Object Dumps | 10706 - Trace Global Enqueue Manipulation |
10079 - Dump SQL*Net Statistics | 10708 - Trace RAC Buffer Cache |
10081 - Dump High Water Mark Changes | 10710 - Trace Bitmap Index Access |
10104 - Dump Hash Join Statistics | 10711 - Trace Bitmap Index Merge Operation |
10128 - Dump Partition Pruning Information | 10712 - Trace Bitmap Index OR Operation |
10200 - Dump Consistent Reads | 10713 - Trace Bitmap Index AND Operation |
10201 - Dump Consistent Read Undo Application | 10714 - Trace Bitmap Index MINUS Operation |
10220 - Dump Changes to Undo Header | 10715 - Trace Bitmap Index Conversion to ROWIDs |
10221 - Dump Undo Changes | 10716 - Trace Bitmap Index Compress / Decompress |
10224 - Dump Index Block Splits / Deletes | 10717 - Trace Bitmap Index Compaction |
10225 - Dump Changes to Dictionary Managed Extents | 10719 - Trace Bitmap Index DML |
10241 - Dump Remote SQL Execution | 10730 - Trace Fine Grained Access Predicates |
10246 - Trace PMON Process | 10731 - Trace CURSOR Statements |
10248 - Trace Dispatcher Processes | 10928 - Trace PL/SQL Execution |
10249 - Trace Shared Server (MTS) Processes | 10938 - 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 |
0 | Disabled |
1 | Print SQL statements, execution plans and execution statistics. Same as ALTER SESSION SET sql_trace = TRUE |
4 | All level 1 plus bind variables |
8 | All level 1 plus wait statistics |
12 | All 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 |
1 | Print statistics and computations |
2 | Print 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 |
1 | Table: |
2 | T1 |
3 | frofand |
4 | "T1"."C02"=0 |
The following table summarises the various operations that can be reported by this event
Operation | Description |
fptconst | Folding constants |
fptrnum | Remove ROWNUM predicates |
fptwhr | Remove 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 |
froiand | index-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 |
frofand | table predicate |
froutand | outer 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 |
1 | Address of library object only |
2 | As level 1 plus library object lock details |
3 | As 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 |
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 |
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 |
0x0001 | Slave-side execution messages |
0x0002 | Coordinator-side execution messages |
0x0004 | Slave context state changes |
0x0008 | Slave ROWID range bind variables and xty |
0x0010 | Slave fetched rows as enqueued to TQ |
0x0020 | Coordinator wait reply handling |
0x0040 | Coordinator wait message buffering |
0x0080 | Slave dump timing |
0x0100 | Coordinator dump timing |
0x0200 | Slave dump allocation file number |
0x0400 | Terse format for debug dumps |
0x0800 | Trace CRI random sampling |
0x1000 | Trace signals |
0x2000 | Trace parallel execution granule operations |
0x4000 | Force 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 |
0x0001 | Dump summary of each object scanned in parallel |
0x0002 | Full dump of each object except extent map |
0x0004 | Full dump of each object including extent map |
0x0010 | Dump summary of each granule generators |
0x0020 | Full dump of granule generators except granule instances |
0x0040 | Full dump of granule generators including granule instances |
0x0080 | Dump system information |
0x0100 | Dump reference object for the query |
0x0200 | Gives timing in kxfralo |
0x0400 | Trace affinity module |
0x0800 | Trace granule allocation during query execution |
0x1000 | Trace object flush |
0x2000 | Unknown |
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 |
1 | Print parent query and subquery |
2 | Print 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 event1 ORA-10002: controlfile crash event2 ORA-10003: controlfile crash event3 ORA-10004: controlfile crash event4 ORA-10005: trace latch operations for debugging ORA-10006: testing - block recovery forced ORA-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 Transaction ORA-10011: End Transaction ORA-10012: Abort Transaction ORA-10013: Instance Recovery ORA-10014: Roll Back to Save Point ORA-10015: Undo Segment Recovery ORA-10016: Undo Segment extend ORA-10017: Undo Segment Wrap ORA-10018: Data Segment Create ORA-10019: Data Segment Recovery ORA-10020: partial link restored to linked list (KSG) ORA-10021: latch cleanup for state objects (KSS) ORA-10022: trace ktsgsp ORA-10023: Create Save Undo Segment ORA-10024: Write to Save Undo ORA-10025: Extend Save Undo Segment ORA-10026: Apply Save Undo ORA-10027: Specify Deadlock Trace Information to be Dumped ORA-10028: Dump trace information during lock / resource latch cleanup ORA-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 list ORA-10041: dump undo records skipped ORA-10042: trap error during undo application ORA-10043: check consistency of owner/waiter/converter lists in KSQ ORA-10044: free list undo operations ORA-10045: free list update operations - ktsrsp, ktsunl ORA-10046: enable SQL statement timing ORA-10047: trace switching of sessions ORA-10048: Undo segment shrink ORA-10049: protect library cache memory heaps ORA-10050: sniper trace ORA-10051: trace OPI calls ORA-10052: don't clean up obj$ ORA-10053: CBO Enable optimizer trace ORA-10054: trace UNDO handling in MLS ORA-10055: trace UNDO handing ORA-10056: dump analyze stats (kdg) ORA-10057: suppress file names in error messages ORA-10058: use table scan cost in tab$.spare1 ORA-10059: simulate error in logfile create/clear ORA-10060: CBO Enable predicate dump ORA-10061: disable SMON from cleaning temp segment ORA-10062: disable usage of OS Roles in osds ORA-10063: disable usage of DBA and OPER privileges in osds ORA-10064: thread enable debug crash level , thread ORA-10065: limit library cache dump information for state object dump ORA-10066: simulate failure to verify file ORA-10067: force redo log checksum errors - block number ORA-10068: force redo log checksum errors - file number ORA-10069: Trusted Oracle test event ORA-10070: force datafile checksum errors - block number ORA-10071: force datafile checksum errors - file number ORA-10072: protect latch recovery memory ORA-10073: have PMON dump info before latch cleanup ORA-10074: default trace function mask for kst ORA-10075: CBO Disable outer-join to regular join conversion ORA-10076: CBO Enable cartesian product join costing ORA-10077: CBO Disable view-merging optimization for outer-joins ORA-10078: CBO Disable constant predicate elimination optimization ORA-10079: trace data sent/received via SQL*Net ORA-10080: dump a block on a segment list which cannot be exchanged ORA-10081: segment High Water Mark has been advanced ORA-10082: free list head block is the same as the last block ORA-10083: a brand new block has been requested from space management ORA-10084: free list becomes empty ORA-10085: free lists have been merged ORA-10086: CBO Enable error if kko and qka disagree on oby sort ORA-10087: disable repair of media corrupt data blocks ORA-10088: CBO Disable new NOT IN optimization ORA-10089: CBO Disable index sorting ORA-10090: invoke other events before crash recovery ORA-10091: CBO Disable constant predicate merging ORA-10092: CBO Disable hash join ORA-10093: CBO Enable force hash joins ORA-10094: before resizing a data file ORA-10095: dump debugger commands to trace file ORA-10096: after the cross instance call when resizing a data file ORA-10097: after generating redo when resizing a data file ORA-10098: after the OS has increased the size of a data file ORA-10099: after updating the file header with the new file size ORA-10100: after the OS has decreased the size of a data file ORA-10101: atomic redo write recovery ORA-10102: switch off anti-joins ORA-10103: CBO Disable hash join swapping ORA-10104: dump hash join statistics to trace file ORA-10105: CBO Enable constant pred trans and MPs w WHERE-clause ORA-10106: CBO Disable evaluating correlation pred last for NOT IN ORA-10107: CBO Always use bitmap index ORA-10108: CBO Don't use bitmap index ORA-10109: CBO Disable move of negated predicates ORA-10110: CBO Try index rowid range scans ORA-10111: Bitmap index creation switch ORA-10112: Bitmap index creation switch ORA-10113: Bitmap index creation switch ORA-10114: Bitmap index creation switch ORA-10115: CBO Bitmap optimization use maximal expression ORA-10116: CBO Bitmap optimization switch ORA-10117: CBO Disable new parallel cost model ORA-10118: CBO Enable hash join costing ORA-10119: QKA Disable GBY sort elimination ORA-10120: generate relative file # different from absolute ORA-10121: CBO Don't sort bitmap chains ORA-10122: Disable transformation of count(col) to count(*) ORA-10123: QKA Disable Bitmap And-EQuals ORA-10124: Force creation of segmented arrays by kscsAllocate ORA-10125: Disable remote sort elimination ORA-10126: Debug oracle java xa ORA-10127: Disable remote query block operation ORA-10128: Dump Partition Pruning Information ORA-10129: Alter histogram lookup for remote queries ORA-10130: sort disable readaheads ORA-10131: use v$sql_plan code path for explain plan ORA-10132: dump plan after compilation ORA-10133: testing for SQL Memory Management ORA-10134: tracing for SQL Memory Management for session ORA-10135: CBO do not count 0 rows partitions ORA-10136: CBO turn off fix for bug 1089848 ORA-10137: CBO turn off fix for bug 1344111 ORA-10138: CBO turn off fix for bug 1577003 ORA-10139: CBO turn off fix for bug 1386119 ORA-10140: CBO turn off fix for bug 1332980 ORA-10141: CBO disable additional keys for inlist in bitmap optimization ORA-10142: CBO turn off advanced OR-expansion checks ORA-10143: CBO turn off hints ORA-10144: CBO turn off cost based selection of bji over bsj subquery ORA-10145: test auditing network errors ORA-10146: enable Oracle TRACE collection ORA-10147: enable join push through UNION view ORA-10148: Use pre-7.3.3 random generator ORA-10149: allow the creation of constraints with illegal date constants ORA-10150: import exceptions ORA-10151: Force duplicate dependency removal ORA-10152: CBO don't consider function costs in plans ORA-10153: Switch to use public synonym if private one does not translate ORA-10154: Switch to disallow synonyms in DDL statements ORA-10155: CBO disable generation of transitive OR-chains ORA-10156: CBO disable index fast full scan ORA-10157: CBO disable index access path for in-list ORA-10158: CBO preserve predicate order in post-filters ORA-10159: CBO disable order-by sort pushdown into domain indexes ORA-10160: CBO disable use of join index ORA-10161: CBO recursive semi-join on/off-switch ORA-10162: CBO join-back elimination on/off-switch ORA-10163: CBO join-back elimination on/off-switch ORA-10164: CBO disable subquery-adjusted cardinality fix ORA-10165: mark session to be aborted during shutdown normal ORA-10166: trace long operation statistics updates ORA-10167: CBO use old index MIN/MAX optimization ORA-10168: CBO disable single-table predicate predicate generation ORA-10169: CBO disable histograms for multi partitions ORA-10170: CBO use old bitmap costing ORA-10171: CBO disable transitive join predicates ORA-10172: CBO force hash join back ORA-10173: CBO no constraint-based join-back elimination ORA-10174: view join-back elimination switch ORA-10175: CBO star transformation switch ORA-10176: CBO colocated join switch ORA-10177: CBO colocated join switch ORA-10178: CBO turn off hash cluster filtering through memcmp ORA-10179: CBO turn off transitive predicate replacement ORA-10180: temp table transformation print error messages ORA-10181: CBO disable multi-column in-list processing ORA-10182: CBO disable generation of implied predicates ORA-10183: CBO disable cost rounding ORA-10184: CBO disable OR-exp if long inlist on bitmap column ORA-10185: CBO force index joins ORA-10186: CBO disable index join ORA-10187: CBO additional index join switch ORA-10188: CBO additional index join switch ORA-10189: CBO turn off FFS null fix ORA-10190: Analyze use old frequency histogram collection and density ORA-10191: Avoid conversion of in-lists back to OR-expanded form ORA-10192: nopushdown when number of groups exceed number of rows ORA-10193: Force repeatable sampling with specified seed ORA-10194: CBO disable new LIKE selectivity heuristic ORA-10195: CBO don't use check constraints for transitive predicates ORA-10196: CBO disable index skip scan ORA-10197: CBO force index skip scan ORA-10198: check undo record ORA-10199: set parameter in session ORA-10200: consistent read buffer status ORA-10201: consistent read undo application ORA-10202: consistent read block header ORA-10203: block cleanout ORA-10204: signal recursive extend ORA-10205: row cache debugging ORA-10206: transaction table consistent read ORA-10207: consistent read transactions' status report ORA-10208: consistent read loop check ORA-10209: enable simulated error on controlfile ORA-10210: check data block integrity ORA-10211: check index block integrity ORA-10212: check cluster integrity ORA-10213: crash after controlfile write ORA-10214: simulate write errors on controlfile ORA-10215: simulate read errors on controlfile ORA-10216: dump controlfile header ORA-10217: debug sequence numbers ORA-10218: dump uba of applied undo ORA-10219: monitor multi-pass row locking ORA-10220: show updates to the transaction table ORA-10221: show changes done with undo ORA-10222: row cache ORA-10223: transaction layer - turn on verification codes ORA-10224: index block split/delete trace ORA-10225: free/used extent row cache ORA-10226: trace CR applications of undo for data operations ORA-10227: verify (multi-piece) row structure ORA-10228: trace application of redo by kcocbk ORA-10229: simulate I/O error against datafiles ORA-10230: check redo generation by copying before applying ORA-10231: skip corrupted blocks on _table_scans_ ORA-10232: dump corrupted blocks symbolically when kcbgotten ORA-10233: skip corrupted blocks on index operations ORA-10234: trigger event after calling kcrapc to do redo N times ORA-10235: check memory manager internal structures ORA-10236: library cache manager ORA-10237: simulate ^C (for testing purposes) ORA-10238: instantiation manager ORA-10239: multi-instance library cache manager ORA-10240: dump dba's of blocks that we wait for ORA-10241: remote SQL execution tracing/validation ORA-10242: suppress OER 2063 (for testing distrib w/o different error log) ORA-10243: simulated error for test of K2GTAB latch cleanup ORA-10244: make tranids in error msgs print as 0.0.0 (for testing) ORA-10245: simulate lock conflict error for testing PMON ORA-10246: print trace of PMON actions to trace file ORA-10247: Turn on scgcmn tracing. (VMS ONLY) ORA-10248: turn on tracing for dispatchers ORA-10249: turn on tracing for multi-stated servers ORA-10250: Trace all allocate and free calls to the topmost SGA heap ORA-10251: check consistency of transaction table and undo block ORA-10252: simulate write error to data file header ORA-10253: simulate write error to redo log ORA-10254: trace cross-instance calls ORA-10255: pl/sql parse checking ORA-10256: turn off shared server load balancing ORA-10257: trace shared server load balancing ORA-10258: force shared servers to be chosen round-robin ORA-10259: get error message text from remote using explicit call ORA-10260: Trace calls to SMPRSET (VMS ONLY) ORA-10261: Limit the size of the PGA heap ORA-10262: Don't check for memory leaks ORA-10263: Don't free empty PGA heap extents ORA-10264: Collect statistics on context area usage (x$ksmcx) ORA-10265: Keep random system generated output out of error messages ORA-10266: Trace OSD stack usage ORA-10267: Inhibit KSEDMP for testing ORA-10268: Don't do forward coalesce when deleting extents ORA-10269: Don't do coalesces of free space in SMON ORA-10270: Debug shared cursors ORA-10271: distributed transaction after COLLECT ORA-10272: distributed transaction before PREPARE ORA-10273: distributed transaction after PREPARE ORA-10274: distributed transaction before COMMIT ORA-10275: distributed transaction after COMMIT ORA-10276: distributed transaction before FORGET ORA-10277: Cursor sharing (or not) related event (used for testing) ORA-10278: Internal testing ORA-10279: Simulate block corruption in kdb4chk ORA-10280: Internal testing - segmentation fault during crash recovery ORA-10281: maximum time to wait for process creation ORA-10282: Inhibit signalling of other backgrounds when one dies ORA-10283: simulate asynch I/O never completing ORA-10284: simulate zero/infinite asynch I/O buffering ORA-10285: Simulate controlfile header corruption ORA-10286: Simulate controlfile open error ORA-10287: Simulate archiver error ORA-10288: Do not check block type in ktrget ORA-10289: Do block dumps to trace file in hex rather than fromatted ORA-10290: kdnchk - checkvalid event - not for general purpose use. ORA-10291: die in tbsdrv to test controlfile undo ORA-10292: dump uet entries on a 1561 from dtsdrv ORA-10293: dump debugging information when doing block recovery ORA-10294: enable PERSISTENT DLM operations on non-compliant systems ORA-10295: die after file header update durning cf xact ORA-10296: disable ORA-379 ORA-10297: customize dictionary object number cache ORA-10298: ksfd i/o tracing ORA-10299: Trace prefetch tracking decisions made by CKPT ORA-10300: disable undo compatibility check at database open ORA-10301: Enable LCK timeout table consistency check ORA-10302: trace create or drop internal trigger ORA-10303: trace loading of library cache for internal triggers ORA-10304: trace replication trigger ORA-10305: trace updatable materialized view trigger ORA-10306: trace materialized view log trigger ORA-10307: trace RepCat execution ORA-10308: replication testing event ORA-10309: Trigger Debug event ORA-10310: trace synchronous change table trigger ORA-10311: Disable Flashback Table Timestamp checking ORA-10312: Allow disable to log rows into the mapping table ORA-10313: Allow Row CR operations for single instance ORA-10314: Enable extra stats gathering for CR ORA-10316: Events for extensible txn header, non zero ext header size ORA-10317: Events for extensible txn header, zero ext header size ORA-10318: Trace extensible txn header movements ORA-10319: Trace PGA statistics maintenance ORA-10320: Enable data layer (kdtgrs) tracing of space management calls ORA-10321: Datafile header verification debug failure. ORA-10322: CBO don't simplify inlist predicates ORA-10323: before committing an add datafile command ORA-10324: Enable better checking of redo logs errors ORA-10325: Trace control file record section expand and shrink operations ORA-10326: clear logfile debug crash at , log ORA-10327: simulate ORA-00235 error for testing ORA-10328: disable first-to-mount split-brain error, for testing ORA-10329: simulate lost write, test detection by two-pass recovery ORA-10330: clear MTTR statistics in checkpoint progress record ORA-10331: simulate resilvering during recovery ORA-10332: force ALTER SYSTEM QUIESCE RESTRICTED command to fail ORA-10333: dump MTTR statistics each time it is updated ORA-10334: force FG to wait to be killed during MTTR advisory simulation ORA-10336: Do remote object transfer using remote SQL ORA-10337: enable padding owner name in slave sql ORA-10338: CBO don't use inlist iterator with function-based indexes ORA-10339: CBO disable DECODE simplification ORA-10340: Buffer queues sanity check for corrupted buffers ORA-10341: Simulate out of PGA memory in DBWR during object reuse ORA-10342: Raise unknown exception in ACQ_ADD when checkpointing ORA-10343: Raise an out of memory exception-OER 4031 in ACQ_ADD ORA-10344: Simulate kghxal returning 0 in ACQ_ADD but no exception ORA-10345: validate queue when linking or unlinking a buffer ORA-10346: check that all buffers for checkpoint have been written ORA-10347: dump active checkpoint entries and checkpoint buffers ORA-10348: test abnormal termination of process initiating file checkpoint ORA-10349: do not allow ckpt to complete ORA-10350: Simulate more than one object & tsn id in object reuse ORA-10351: size of slots ORA-10352: report direct path statistics ORA-10353: number of slots ORA-10354: turn on direct read path for parallel query ORA-10355: turn on direct read path for scans ORA-10356: turn on hint usage for direct read ORA-10357: turn on debug information for direct path ORA-10358: Simulate out of PGA memory in cache advisory reset ORA-10359: turn off updates to control file for direct writes ORA-10360: enable dbwr consistency checking ORA-10365: turn on debug information for adaptive direct reads ORA-10370: parallel query server kill event ORA-10371: disable TQ hint ORA-10372: parallel query server kill event proc ORA-10373: parallel query server kill event ORA-10374: parallel query server interrupt (validate lock value) ORA-10375: turn on checks for statistics rollups ORA-10376: turn on table queue statistics ORA-10377: turn off load balancing ORA-10378: force hard process/range affinity ORA-10379: direct read for rowid range scans (unimplemented) ORA-10380: kxfp latch cleanup testing event ORA-10381: kxfp latch cleanup testing event ORA-10382: parallel query server interrupt (reset) ORA-10383: auto parallelization testing event ORA-10384: parallel dataflow scheduler tracing ORA-10385: parallel table scan range sampling method ORA-10386: parallel SQL hash and range statistics ORA-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 execution ORA-10391: trace PX granule allocation/assignment ORA-10392: parallel query debugging bits ORA-10393: print parallel query statistics ORA-10394: generate a fake load to test adaptive and load balancing ORA-10395: adjust sample size for range table queues ORA-10396: circumvent range table queues for queries ORA-10397: suppress verbose parallel coordinator error reporting ORA-10398: enable timeouts in parallel query threads ORA-10399: trace buffer allocation ORA-10400: turn on system state dumps for shutdown debugging ORA-10401: turn on IPC (ksxp) debugging ORA-10402: turn on IPC (skgxp) debugging ORA-10403: fake CPU number for default degree of parallelism ORA-10404: crash dbwr after write ORA-10405: emulate broken mirrors ORA-10406: enable datetime TIMESTAMP, INTERVAL datatype creation ORA-10407: enable datetime TIME datatype creation ORA-10408: disable OLAP builtin window function usage ORA-10409: enable granule memset and block invalidation at startup ORA-10410: trigger simulated communications errors in KSXP ORA-10411: simulate errors in IMR ORA-10412: trigger simulated errors in CGS/CM interface ORA-10413: force simulated error for testing purposes ORA-10414: simulated error from event level ORA-10425: enable global enqueue service open event trace ORA-10426: enable global enqueue service convert event trace ORA-10427: enable global enqueue service traffic controller event trace ORA-10428: enable tracing of global enqueue service distributed resource ORA-10429: enable tracing of global enqueue service IPC calls ORA-10430: enable tracing of global enqueue service AST calls ORA-10431: enable verification messages on pi consistency ORA-10432: enable tracing of global cache service fusion calls ORA-10433: global enqueue service testing event ORA-10434: enable tracing of global enqueue service multiple LMS ORA-10435: enable tracing of global enqueue service deadlock detetction ORA-10436: enable global cache service duplicate ping checking ORA-10437: enable trace of global enqueue service S optimized resources ORA-10442: enable trace of kst for ORA-01555 diagnostics ORA-10450: signal ctrl-c in kdddca (drop column) after n rows ORA-10496: Turn off fix for bug 2554178 ORA-10498: Trim blank characters including contol characters ORA-10499: revert to old scale behaviour ORA-10500: turn on traces for SMON ORA-10501: periodically check selected heap ORA-10502: CBO disable the fix for bug 2098120 ORA-10503: enable user-specified graduated bind lengths ORA-10504: CBO disable the fix for bug 2607029 ORA-10510: turn off SMON check to offline pending offline rollback segment ORA-10511: turn off SMON check to cleanup undo dictionary ORA-10512: turn off SMON check to shrink rollback segments ORA-10513: turn off wrap source compression ORA-10515: turn on event to use physical cleanout ORA-10520: recreate package/procedure/view only if definition has changed ORA-10550: signal error during create as select/create index after n rows ORA-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 proceed ORA-10564: tablespace ORA-10565: Another test recovery session is active ORA-10566: Test recovery has used all the memory it can use ORA-10567: Redo is inconsistent with data block (file# , block# ) ORA-10568: Failed to allocate recovery state object: out of SGA memory ORA-10570: Test recovery complete ORA-10571: Test recovery canceled ORA-10572: Test recovery canceled due to errors ORA-10573: Test recovery tested redo from change to ORA-10574: Test recovery did not corrupt any data block ORA-10575: Give up restoring recovered datafiles to consistent state: out of memory ORA-10576: Give up restoring recovered datafiles to consistent state: some error occurred ORA-10577: Can not invoke test recovery for managed standby database recovery ORA-10578: Can not allow corruption for managed standby database recovery ORA-10579: Can not modify control file during test recovery ORA-10580: Can not modify datafile header during test recovery ORA-10581: Can not modify redo log header during test recovery ORA-10582: The control file is not a backup control file ORA-10583: Can not recovery file renamed as missing during test recovery ORA-10584: Can not invoke parallel recovery for test recovery ORA-10585: Test recovery can not apply redo that may modify control file ORA-10586: Test recovery had to corrupt 1 data block in order to proceed ORA-10587: Invalid count for ALLOW n CORRUPTION option ORA-10588: Can only allow 1 corruption for normal media/standby recovery ORA-10589: Test recovery had to corrupt data blocks in order to proceed ORA-10590: kga (argus debugger) test flags ORA-10591: kga (argus debugger) test flags ORA-10592: kga (argus debugger) test flags ORA-10593: kga (argus debugger) test flags ORA-10594: kga (argus debugger) test flags ORA-10595: kga (argus debugger) test flags ORA-10596: kga (argus debugger) test flags ORA-10597: kga (argus debugger) test flags ORA-10598: kga (argus debugger) test flags ORA-10599: kga (argus debugger) test flags ORA-10600: check cursor frame. allocation ORA-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 index ORA-10605: enable parallel create index by default ORA-10606: trace parallel create index ORA-10607: trace index rowid partition scan ORA-10608: trace create bitmap index ORA-10609: trace for array index insertion ORA-10610: trace create index pseudo optimizer ORA-10611: causes migration to fail - testing only ORA-10612: prints debug information for auto-space managed segments ORA-10613: prints debug information for auto-space managed segments ORA-10614: Operation not allowed on this segment ORA-10615: Invalid tablespace type for temporary tablespace ORA-10616: Operation not allowed on this tablespace ORA-10617: Cannot create rollback segment in dictionary managed tablespace ORA-10618: Operation not allowed on this segment ORA-10619: Avoid assertions when possible ORA-10620: Operation not allowed on this segment ORA-10621: data block does not belong to the segment ORA-10622: test/trace online index (re)build ORA-10623: Enable Index range scan Prefetch - testing only ORA-10624: Disable UJV invalidation on drop index ORA-10625: Turn off redo log dump for the index when OERI 12700 ORA-10627: Dump the content of the index leaf block ORA-10628: Turn on sanity check for kdiss index skip scan state ORA-10640: Operation not permitted during SYSTEM tablespace migration ORA-10641: Cannot find a rollback segment to bind to ORA-10642: Found rollback segments in dictionary managed tablespaces ORA-10643: Database should be mounted in restricted mode and Exclusive mode ORA-10644: SYSTEM tablespace cannot be default temporary tablespace ORA-10645: Recursive Extension in SYSTEM tablespace during migration ORA-10646: Too many recursive extensions during SYSTEM tablespace migration ORA-10647: Tablespace other than SYSTEM,, not found in read only mode ORA-10650: disable cache-callback optimisation ORA-10651: incorrect file number block number specified ORA-10666: Do not get database enqueue name ORA-10667: Cause sppst to check for valid process ids ORA-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 handler ORA-10701: Dump direct loader index keys ORA-10702: Enable histogram data generation ORA-10703: Simulate process death during enqueue get ORA-10704: Print out information about what enqueues are being obtained ORA-10705: Print Out Tracing information for every I/O done by ODSs ORA-10706: Print out information about global enqueue manipulation ORA-10707: Simulate process death for instance registration ORA-10708: print out trace information from the RAC buffer cache ORA-10709: enable parallel instances in create index by default ORA-10710: trace bitmap index access ORA-10711: trace bitmap index merge ORA-10712: trace bitmap index or ORA-10713: trace bitmap index and ORA-10714: trace bitmap index minus ORA-10715: trace bitmap index conversion to rowids ORA-10716: trace bitmap index compress/decompress ORA-10717: trace bitmap index compaction trace for index creation ORA-10718: event to disable automatic compaction after index creation ORA-10719: trace bitmap index dml ORA-10720: trace db scheduling ORA-10721: Internal testing - temp table transformation ORA-10722: set parameters for CPU frequency calculation (debug) ORA-10723: Internal testing - release buffer for buffer cache shrink ORA-10724: trace cross-instance broadcast ORA-10730: trace row level security policy predicates ORA-10731: dump SQL for CURSOR expressions ORA-10740: disables fix for bug 598861 ORA-10750: test rollback segment blksize guessing for index array insert ORA-10800: disable Smart Disk scan ORA-10801: enable Smart Disk trace ORA-10802: reserved for Smart Disk ORA-10803: write timing statistics on cluster database recovery scan ORA-10804: reserved for ksxb ORA-10806: Switch to 7.3 mode when detaching sessions ORA-10807: Disable user id check when switching to a global transaction ORA-10810: Trace snapshot too old ORA-10811: Trace block cleanouts ORA-10812: Trace Consistent Reads ORA-10826: enable upgrade/downgrade error message trace ORA-10827: database must be opened with MIGRATE option ORA-10830: Trace group by sort row source ORA-10831: Trace group by rollup row source ORA-10841: Default un-inintialized charact set form. to SQLCS_IMPLICIT ORA-10842: Event for OCI Tracing and Statistics Info ORA-10850: Enable time manager tracing ORA-10851: Allow Drop command to drop queue tables ORA-10852: Enable tracing for Enqueue Dequeue Operations ORA-10853: event for AQ statistics latch cleanup testing ORA-10856: Disable AQ propagator from using streaming ORA-10857: Force AQ propagator to use two-phase commit ORA-10858: Crash the AQ propagator at different stages of commit ORA-10859: Disable updates of message retry count ORA-10860: event for AQ admin disable new name parser ORA-10861: disable storing extended message properties ORA-10862: resolve default queue owner to current user in enqueue/dequeue ORA-10871: dump file open/close timestamp during media recovery ORA-10900: extent manager fault insertion event # ORA-10902: disable seghdr conversion for ro operation ORA-10903: Force tablespaces to become locally managed ORA-10904: Allow locally managed tablespaces to have user allocation ORA-10905: Do cache verification (kcbcxx) on extent allocation ORA-10906: Unable to extend segment after insert direct load ORA-10907: Trace extent management events ORA-10908: Trace temp tablespace events ORA-10909: Trace free list events ORA-10910: inject corner case events into the RAC buffer cache ORA-10911: Locally managed SYSTEM tablespace bitmaps can be modified only under the supervision of Oracle Support ORA-10912: Used to perform. admin operations on locally managed SYSTEM tablespace ORA-10913: Create locally managed database if compatible > 920 by default ORA-10924: import storage parse error ignore event ORA-10925: trace name context forever ORA-10926: trace name context forever ORA-10927: trace name context forever ORA-10928: trace name context forever ORA-10929: trace name context forever ORA-10930: trace name context forever ORA-10931: trace name context forever ORA-10932: trace name context forever ORA-10933: trace name context forever ORA-10934: Reserved. Used only in version 7.x. ORA-10935: Reserved. Used only in version 7.x. ORA-10936: trace name context forever ORA-10937: trace name context forever ORA-10938: trace name context forever ORA-10939: trace name context forever ORA-10940: trace name context forever ORA-10941: trace name context forever ORA-10943: trace name context forever ORA-10944: trace name context forever ORA-10945: trace name context forever ORA-10970: backout event for bug 2133357 ORA-10975: trace execution of parallel propagation ORA-10976: internal package related tracing ORA-10977: trace event for RepAPI ORA-10979: trace flags for join index implementation ORA-10980: prevent sharing of parsed query during Materialized View query generation ORA-10981: dscn computation-related event in replication ORA-10982: event to turn off CDC-format MV Logs ORA-10983: event to enable Create_Change_Table debugging ORA-10984: subquery materialized view-related event ORA-10985: event for NULL refresh of materialized views ORA-10986: donot use HASH_AJ in refresh ORA-10987: event for the support of caching table with object feature ORA-10988: event to get exclusive lock during materialized view refresh in IAS ORA-10989: event to internally create statistics MV ORA-10996: event to make a process hold a latch in ksu ORA-10999: do not get database enqueue name
關于ORACLE event的使用說明就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。