달력

09

« 2018/09 »

  •  
  •  
  •  
  •  
  •  
  •  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  •  
  •  
  •  
  •  
  •  
  •  

모니터링을 위해서 주기적으로 메일이 발송되도록 하는작업을 함.

(인터넷을 뒤져봐서 되는것과 함께 [한글]처리하는것 포함해서 처리한것)

CREATE OR REPLACE PROCEDURE 프로시저명 (

pSender    VARCHAR2,
pRecipient VARCHAR2,
pSubject   VARCHAR2,
pMessage   CLOB) IS
c UTL_SMTP.CONNECTION;
MSG CLOB;
l_boundary  VARCHAR2(50) := '----=*#abc1234321cba#*=';
E_SQLCODE VARCHAR2(30);
E_SQLMSG VARCHAR2(1000);

BEGIN

c := UTL_SMTP.OPEN_CONNECTION('localhost');
UTL_SMTP.HELO(c, 'localhost');
UTL_SMTP.MAIL(c, pSender);
UTL_SMTP.RCPT(c, pRecipient);
UTL_SMTP.OPEN_DATA(c);

MSG := 'From : ' || '"Sender" <'||pSender||'>' ||UTL_TCP.CRLF;
MSG := MSG||'To' || ': ' || '"Recipient" <'||pRecipient||'>' || UTL_TCP.CRLF;

MSG := MSG||'Subject' || ': ' || pSubject || UTL_TCP.CRLF;

MSG := MSG||'MIME-Version: 1.0' || UTL_TCP.CRLF;

  --MSG := MSG||'Content-Type: multipart/alternative; boundary="'||l_boundary || '"' || UTL_TCP.crlf || UTL_TCP.crlf;
MSG := MSG||'Content-Type: text/html; charset="UTF-8"' ||UTL_TCP.crlf || UTL_TCP.crlf;
MSG := MSG||UTL_TCP.CRLF ||pMessage;

  

UTL_SMTP.WRITE_RAW_DATA(c,UTL_RAW.CAST_TO_RAW(MSG));
UTL_SMTP.CLOSE_DATA(c);
UTL_SMTP.QUIT(c);

EXCEPTION
     WHEN OTHERS THEN         
     UTL_SMTP.QUIT(c);

      

END;

/



네트워크 접근에 관한부분이 smtp 있다고 되는게 아니더라.

아래의 dict 를 조회하면 네트워크 접근 엑세스 정보 확인이 되고.

SELECT HOST
            ,LOWER_PORT      
            ,UPPER_PORT
            ,ACL
            ,ACLID  
   FROM DBA_NETWORK_ACLS;


아래는 네트워크 엑세스 추가할때 쓰는 패키지

BEGIN

DBMS_NETWORK_ACL_ADMIN.assign_acl ( acl => 'acl_scott.xml', host => 'mail.********.nl', lower_port => 25, upper_port => NULL); COMMIT;


Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설
2013.11.18 09:36

이관찌꺼기 DROP Oracle/Oracle 오류기타2013.11.18 09:36

이관 프로젝트가 종료후에 DB가 잘 돌아간다.
성능이 좋아져서 이슈가 없는 상황이 되어 조용한데.
어느순간부터 ALERT LOG가 매일같이 반복해서 찍히는것이 있었다.

DBMS_STATS: GATHER_STATS_JOB: GATHER_TABLE_STATS('"SYS"','"ET$1C5100030001"','""', ...)

DBMS_STATS: ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

KUP-11024: This external table can only be accessed from within a Data Pump job.

DBMS_STATS:  Too many errors...  Rest of the erros are not reporded.

찾아보니.

이관할때 DATA PUMP 로 퍼날랐었는데. 
오라클은 이런저런 정보를 다 기록을 하고 가지고있는것 인지.
위와같은 ET$1C5100030001  같은 정보를 통계를 작업하려고 하나보다.


실체는 없는데 저걸 찾는걸 봐선 따로관리하는 리스트업이 있나보다.
일단 그래서 찾은 쿼리는 아래와같다.

SELECT OWNER_NAME, JOB_NAME, OPERATION, JOB_MODE, 

STATE, ATTACHED_SESSIONS 

FROM DBA_DATAPUMP_JOBS 

WHERE JOB_NAME NOT LIKE 'BIN$%' 

ORDER BY 1,2; 

그래서 해당테이블을 "DROP TABLE SYSTEM.SYS_IMPORT_TABLE_01" 하여 DROP 했다.

일단 오늘 했으니 통계가 조용히 끝날지 안끝날지는 오늘밤이 지나면 알겠지.

 

SELECT 'DROP TABLE '||OWNER||'.'||TABLE_NAME||' PURGE;'
   FROM DBA_EXTERNAL_TABLES;

해당 DICT에 나오는 내용도 전부 드랍 했더니 조용하다....

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설

오라클의 설치된 패치정보를 보는 명령어

내가 현재 있는 고객사의 DB가 설치된곳은 미국이다. 미국의 서버호스팅업체중 이름을 들으면 "아 거기~" 하는 업체가 있는데
하도 지랄스럽게 관리하여 현재 운영되는 DB와 신규로 이관한 DB의 패치정보도 직접봐야하는 상황이라서
해당 정보보는 방법을 찾아보고 메모한다.

 

$ opatch lsinventory -all
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /oracle/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /oracle/app/oraInventory
   from           : /oracle/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.3.0
Log file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2013-10-14_14-31-39PM_1.log

Lsinventory Output file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2013-10-14_14-31-39PM.txt

--------------------------------------------------------------------------------
List of Oracle Homes:
  Name          Location
   OraDb11g_home1         /oracle/app/oracle/product/11.2.0/dbhome_1
   agent12c3         /oraagent/oracle/agent12g/core/12.1.0.3.0
   sbin12c3         /oraagent/oracle/agent12g/sbin
   OraHome11         /oraagent/oracle/agent12g/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.3.0
   OraHome12         /oraagent/oracle/agent12g/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.4.0
   OraHome13         /oraagent/oracle/agent12g/plugins/oracle.sysman.db.discovery.plugin_12.1.0.4.0
   OraHome14         /oraagent/oracle/agent12g/plugins/oracle.sysman.emas.discovery.plugin_12.1.0.4.0
   OraHome15         /oraagent/oracle/agent12g/plugins/oracle.sysman.oh.agent.plugin_12.1.0.3.0
   agent12c2         /oraagent/oracle/agent12c/core/12.1.0.3.0
   OraHome6         /oraagent/oracle/agent12c/plugins/oracle.sysman.beacon.agent.plugin_12.1.0.3.0
   OraHome7         /oraagent/oracle/agent12c/plugins/oracle.sysman.csa.discovery.plugin_12.1.0.3.0
   OraHome8         /oraagent/oracle/agent12c/plugins/oracle.sysman.csa.agent.plugin_12.1.0.3.0
   OraHome9         /oraagent/oracle/agent12c/plugins/oracle.sysman.emrep.agent.plugin_12.1.0.3.0
   OraHome17         /oraagent/oracle/agent12c/plugins/oracle.sysman.db.agent.plugin_12.1.0.4.0
   OraHome21         /oraagent/oracle/agent12c/plugins/oracle.sysman.emas.agent.plugin_12.1.0.4.0
   agent12c1         /oracle/oracle/agent12c/core/12.1.0.3.0
   sbin12c11         /oracle/oracle/agent12c/sbin
   OraHome10         /oracle/oracle/agent12c/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.3.0
   OraHome16         /oracle/oracle/agent12c/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.4.0
   OraHome18         /oracle/oracle/agent12c/plugins/oracle.sysman.db.discovery.plugin_12.1.0.4.0
   OraHome19         /oracle/oracle/agent12c/plugins/oracle.sysman.emas.discovery.plugin_12.1.0.4.0
   OraHome20         /oracle/oracle/agent12c/plugins/oracle.sysman.oh.agent.plugin_12.1.0.3.0
   oracle_sysman_db_12_1_0_4_0_agent_Home0         /oracle/oracle/agent12c/plugins/oracle.sysman.db.agent.plugin_12.1.0.4.0
   sbin12c4         /oraagent/oracle/agent12c/sbin
   OraHome1         /oraagent/oracle/agent12c/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.3.0
   OraHome2         /oraagent/oracle/agent12c/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.4.0
   OraHome3         /oraagent/oracle/agent12c/plugins/oracle.sysman.db.discovery.plugin_12.1.0.4.0
   OraHome4         /oraagent/oracle/agent12c/plugins/oracle.sysman.emas.discovery.plugin_12.1.0.4.0
   OraHome5         /oraagent/oracle/agent12c/plugins/oracle.sysman.oh.agent.plugin_12.1.0.3.0

Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.3.0
There are 1 products installed in this Oracle Home.


Interim patches (1) :

Patch  16056266     : applied on Tue Jul 23 00:00:15 KST 2013
Unique Patch ID:  15962803
Patch description:  "Database Patch Set Update : 11.2.0.3.6 (16056266)"
   Created on 12 Mar 2013, 02:14:47 hrs PST8PDT
Sub-patch  14727310; "Database Patch Set Update : 11.2.0.3.5 (14727310)"
Sub-patch  14275605; "Database Patch Set Update : 11.2.0.3.4 (14275605)"
Sub-patch  13923374; "Database Patch Set Update : 11.2.0.3.3 (13923374)"
Sub-patch  13696216; "Database Patch Set Update : 11.2.0.3.2 (13696216)"
Sub-patch  13343438; "Database Patch Set Update : 11.2.0.3.1 (13343438)"
   Bugs fixed:
     13566938, 13593999, 10350832, 14138130, 12919564, 13561951, 13624984
     13588248, 13080778, 13914613, 13804294, 14258925, 12873183, 13645875
     14472647, 12880299, 14664355, 14409183, 12998795, 14469008, 13719081
     13492735, 13496884, 12857027, 14263036, 14263073, 13732226, 13742433
     16368108, 16314469, 12905058, 13742434, 12849688, 12950644, 13742435
     13464002, 13534412, 12879027, 13958038, 14613900, 12585543, 12535346
     12588744, 11877623, 13786142, 12847466, 13649031, 13981051, 12582664
     12797765, 14262913, 12923168, 13384182, 13612575, 13466801, 13484963
     14207163, 11063191, 13772618, 13070939, 12797420, 13041324, 16314467
     16314468, 12976376, 11708510, 13680405, 14589750, 13026410, 13742437
     13737746, 14644185, 13742438, 13326736, 13596521, 13001379, 16344871
     13099577, 9873405, 14275605, 13742436, 9858539, 14841812, 11715084
     16231699, 14040433, 12662040, 9703627, 12617123, 12845115, 12764337
     13354082, 14459552, 13397104, 13913630, 12964067, 12983611, 13550185
     13810393, 12780983, 12583611, 14546575, 13476583, 15862016, 11840910
     13903046, 15862017, 13572659, 16294378, 13718279, 14088346, 13657605
     13448206, 16314466, 14480676, 13419660, 13632717, 14063281, 14110275
     13430938, 13467683, 13420224, 13812031, 14548763, 16299830, 12646784
     13616375, 14035825, 12861463, 12834027, 15862021, 13632809, 13377816
     13036331, 14727310, 13685544, 15862018, 13499128, 16175381, 13584130
     12829021, 15862019, 12794305, 14546673, 12791981, 13787482, 13503598
     10133521, 12718090, 13399435, 14023636, 13860201, 12401111, 13257247
     13362079, 14176879, 12917230, 13923374, 14220725, 14480675, 13524899
     13559697, 9706792, 14480674, 13916709, 13098318, 13773133, 14076523
     13340388, 13366202, 13528551, 12894807, 13454210, 13343438, 12748240
     14205448, 13385346, 15853081, 14273397, 12971775, 13582702, 10242202
     13035804, 13544396, 16382353, 8547978, 14226599, 14062795, 13035360
     12693626, 13332439, 14038787, 14062796, 12913474, 14841409, 14390252
     16314470, 13370330, 13059165, 14062797, 14062794, 12959852, 13358781
     12345082, 12960925, 9659614, 13699124, 14546638, 13936424, 13338048
     12938841, 12658411, 12620823, 12656535, 14062793, 12678920, 13038684
     14062792, 13807411, 13250244, 12594032, 15862022, 9761357, 12612118
     13742464, 14052474, 13911821, 13457582, 13527323, 15862020, 13910420
     13502183, 12780098, 13705338, 13696216, 14841558, 10263668, 15862023
     16056266, 15862024, 13554409, 13645917, 13103913, 13011409, 14063280

 

--------------------------------------------------------------------------------

OPatch succeeded.
$

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설
2013.10.01 10:02

ADDM 비활성 , 활성 Oracle/Oracle 오류기타2013.10.01 10:02

ADDM 활성 비활성 정보 ( 타 블로그에서 찾음 )

DBA_HIST_시리즈들이 데이터가 전부 0건이어서 ADDM 이 파업하고 쉬나보다~ 해서 깨워보고자 이것저것 찾아보던중

한블로그에서 10g 와 11g에서 활성하는 방법을 정리해서 그부분을 가져옴.


블로그 URL : http://jhdba.wordpress.com/2009/01/17/disabling-addm-in-10g-and-11g/


해당 블로그 갈무리한 정보

10g

Use the package to modify the snapshot interval to 0

Execute dbms_workload_repository.modify_snapshot_settings
(retention=>20160, interval=> 0);

11g

The initialization parameter should be set to DIAGNOSTIC+TUNING (default) or DIAGNOSTIC to enable automatic database diagnostic monitoring. Setting CONTROL_MANAGEMENT_PACK_ACCESS to NONE disables many Oracle Database features, including ADDM, and is strongly discouraged, but seems to be the only way to disable the automatic monitoring.

Tuning relies on having a diagnostic license which explains why the options are NONE, DIAGNOSTIC or DIAGNOSTIC+TUNING


Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설

오라클 성능테스트 중에 해당 메세지가 ALERT LOG 에 찍혔다.

<msg time='2013-09-27T11:17:47.865+09:00' org_id='oracle' comp_id='rdbms'

 client_id='' type='UNKNOWN' level='16'

 host_id='호스트' host_addr='아이피' module=''

 pid='76246'>

 <txt>Thread 1 cannot allocate new log, sequence 1264

 </txt>

</msg>

<msg time='2013-09-27T11:17:47.870+09:00' org_id='oracle' comp_id='rdbms'

 client_id='' type='UNKNOWN' level='16'

 host_id='호스트' host_addr='아이피' module=''

 pid='76246'>

 <txt>Private strand flush not complete

 </txt>

</msg>

<msg time='2013-09-27T11:17:47.873+09:00' org_id='oracle' comp_id='rdbms'

 client_id='' type='UNKNOWN' level='16'

 host_id='호스트' host_addr='아이피' module=''

 pid='76246'>

 <txt>  Current log# 3 seq# 1263 mem# 0: /oradata/oracle/oradata/redo/redo03a.log

 </txt>

</msg>


저 메세지의 정체를 확인하고자 함.

내기억에 oracle 공부할때 redo strand라는 이름이 머릿속에 있다.

인터넷 구글링중 : 

LGWR이벤트에서 DBWR작업 완료대기중에 IMU FLUSH 중에 발생하는 메세지라고 하는것같다~(해석의 한계)

관련 메타링크라고하는데 메타링크 못들어가므로 일단 No.만 기록 : Oracle Metalink note 372557.1


Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설

Alert Log에 아래와 같은 메세지가 찍혔다.

<msg time='2013-09-27T09:49:43.403+09:00' org_id='oracle' comp_id='rdbms'

 msg_id='kewa_eflush_cb:4334:2772171331' client_id='' type='NOTIFICATION'

 group='ash' level='16' host_id='호스트아이디'

 host_addr='호스트아이피' module='MMON_SLAVE' pid='21117'>

 <txt>Active Session History (ASH) performed an emergency flush. This may mean that ASH is undersized. If emergency flushes are a recurring issue, you may consider increasing

 ASH size by setting the value of _ASH_SIZE to a sufficiently large value. Currently, ASH size is 167772160 bytes. Both ASH size and the total number of emergency flushes sin

ce instance startup can be monitored by running the following query:

 select total_size,awr_flush_emergency_count from v$ash_info;

 </txt>


ASH BUFFER에 담긴 데이터가 이~멀전씨하게 플러시가 되어서 메세지를 남긴것 같은데~ 관련 사항을 조사함.

1. 위 메세지대로 v$ASH_INFO 의 TOTAL_SIZE 확인

SELECT TOTAL_SIZE FROM V$ASH_INFO;


2. 어찌하였든 버퍼니까 어딘가 메모리에 올릴것이다 어디에 올릴까 SGA일것인데 그래서 SGASTAT 뒤져보다.

SELECT *FROM V$SGASTAT WHERE BYTES = (SELECT TOTAL_SIZE FROM V$ASH_INFO);


SQL> SELECT *FROM V$SGASTAT WHERE BYTES = (SELECT TOTAL_SIZE FROM V$ASH_INFO);

POOL         NAME                            BYTES

------------ -------------------------- ----------

shared pool  ASH buffers                 167772160

SQL>


3. SGA 중에 SHARED POOL 을 씀을 확인후 설정한값을 고려하여 사이즈를 적절히 늘려줬다.

- 설정된 사이즈중에 저놈만 일치했고 관련 용어가 저놈임을 확실하다라고 판단!

SQL> alter system set "_ash_size"=251658240 scope=both;

System altered.

SQL> select total_size,awr_flush_emergency_count from v$ash_info;

TOTAL_SIZE AWR_FLUSH_EMERGENCY_COUNT

---------- -------------------------

 251658240                         9

SQL> SELECT *FROM V$SGASTAT WHERE BYTES = (SELECT TOTAL_SIZE FROM V$ASH_INFO);

POOL         NAME                            BYTES

------------ -------------------------- ----------

shared pool  ASH buffers                 251658240

SQL> 


4. 완료.

현재 DB서버의 여러가지 성능테스트중이어서 짧은시간에 쌓이는 정보들이 많아서 또한 최대 성능을 테스트하기위해서 세션들이
우르르 붙어서 작업을 하다보니 데이터가 많아지나보다 버퍼에 다 못올렸겠지라고 생각되며 오라클이 
아~~~ 절라 이멀전씨하다~ 플러시! 
이래서 플러시 되느라 메세지가 찍혀진것같다.



Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설

GRANT SELECT_CATALOG_ROLE TO 사용자;
GRANT SELECT ANY DICTIONARY TO 사용자;

 

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설
2013.09.16 13:41

Memlock limit too small Oracle/Oracle 오류기타2013.09.16 13:41

Oracle Version : 11.2.0.3
OS : RedHat Linux 6

발생 상황 :

ALERT LOG 에 아래와 같은 메세지 발견

<msg time='2013-09-15T21:10:41.305-04:00' org_id='oracle' comp_id='rdbms'
type='UNKNOWN' level='16' host_id='hostdomain'
host_addr='10.0.0.10' pid='58761'>
<txt>Memlock limit too small: 65536 to accommodate segment size: 1610612736
</txt>
</msg>

 

처리방법 :

 

/etc/security/limits.conf 파일에

아래 두줄추가.

oracle soft memlock unlimited
oracle hard memlock unlimited

 

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설

내컴퓨터에 오라클을 설치하고 다른 서버에 DBLINK로 붙어서 작업하는중에
메세지가 뜬다. 

[ ORA-02020 : 너무 많은 데이터베이스 링크들이 사용되고 있습니다.]

해결 방안 :

파라미터명 : open_link , open_link_per_instance 수정
이 파라미터보니까 동적으로 적용이 안되네. 아마도 open_file과 관련이 있어서 그러나 ? =_=

아무튼 이 문제는 내PC에 설치한 오라클은 4로 되어있어서 나는 오류.

 

 

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설
Code Description
10000 Control file debug event, name ‘control_file’
10001 Control file crash event1
10002 Control file crash event2
10003 Control file crash event3
10004 Control file crash event4
10005 Trace latch operations for debugging
10006 Testing - block recovery forced
10007 Log switch debug crash after new log select, thread %s
10008 Log switch debug crash after new log header write, thread %s
10009 Log switch debug crash after old log header write, thread %s
10010 Begin Transaction
10011 End Transaction
10012 Abort Transaction
10013 Instance Recovery
10014 Roll Back to Save Point
10015 Undo Segment Recovery
10016 Undo Segment extend
10017 Undo Segment Wrap
10018 Data Segment Create
10019 Data Segment Recovery
10020 Partial link restored to linked list (KSG)
10021 Latch cleanup for state objects (KSS)
10022 Trace ktsgsp
10023 Create Save Undo Segment
10024 Write to Save Undo
10025 Extend Save Undo Segment
10026 Apply Save Undo
10027 Latch cleanup for enqueue locks (KSQ)
10028 Latch cleanup for enqueue resources (KSQ)
10029 Session logon (KSU)
10030 Session logoff (KSU)
10031 Row source debug event (R*)
10032 Sort end (SOR*)
10035 Parse SQL statement (OPIPRS)
10036 Create remote row source (QKANET)
10037 Allocate remote row source (QKARWS)
10038 Dump row source tree (QBADRV)
10039 Type checking (OPITCA)
10040 Dirty cache list
10041 Dump undo records skipped
10042 Trap error during undo application
10044 Free list undo operations
10045 Free list update operations - ktsrsp, ktsunl
10046 Enable SQL statement timing
10047 Trace switching of sessions
10048 Undo segment shrink
10049 Protect library cache memory heaps
10050 Sniper trace
10051 Trace OPI calls
10052 Don’t clean up obj$
10053 CBO Enable optimizer trace
10054 Trace UNDO handling in MLS
10055 Trace UNDO handing
10056 Dump analyze stats (kdg)
10057 Suppress file names in error messages
10058 Use table scan cost in tab$.spare1
10060 CBO Enable predicate dump
10061 Disable SMON from cleaning temp segment
10062 Disable usage of OS Roles in osds
10063 Disable usage of DBA and OPER privileges in osds
10064 Thread enable debug crash level %s, thread %s
10065 Limit library cache dump information for state object dump
10066 Simulate failure to verify file
10067 Force redo log checksum errors - block number
10068 Force redo log checksum errors - file number
10069 Trusted Oracle test event
10070 Force datafile checksum errors - block number
10071 Force datafile checksum errors - file number
10072 Protect latch recovery memory
10073 Have PMON dump info before latch cleanup
10074 Default trace function mask for kst
10075 CBO Disable outer-join to regular join conversion
10076 CBO Enable cartesian product join costing
10077 CBO Disable view-merging optimization for outer-joins
10078 CBO Disable constant predicate elimination optimization
10080 Dump a block on a segment list which cannot be exchanged
10081 Segment High Water Mark has been advanced
10082 Free list head block is the same as the last block
10083 A brand new block has been requested from space management
10084 Free list becomes empty
10085 Free lists have been merged
10086 CBO Enable error if kko and qka disagree on oby sort
10087 Disable repair of media corrupt data blocks
10088 CBO Disable new NOT IN optimization
10089 CBO Disable index sorting
10090 Invoke other events before crash recovery
10091 CBO Disable constant predicate merging
10092 CBO Disable hash join
10093 CBO Enable force hash joins
10094 Before resizing a data file
10095 Dump debugger commands to trace file
10096 After the cross instance call when resizing a data file
10097 After generating redo when resizing a data file
10098 After the OS has increased the size of a data file
10099 After updating the file header with the new file size
10100 After the OS has decreased the size of a data file
10101 Atomic redo write recovery
10102 Switch off anti-joins
10103 CBO Disable hash join swapping
10104 Dump hash join statistics to trace file
10105 CBO Enable constant pred trans and MPs w WHERE-clause
10106 CBO Disable evaluating correlation pred last for NOT IN
10107 CBO Always use bitmap index
10108 CBO Don’t use bitmap index
10109 CBO Disable move of negated predicates
10110 CBO Try index rowid range scans
10111 Bitmap index creation switch
10112 Bitmap index creation switch
10113 Bitmap index creation switch
10114 Bitmap index creation switch
10115 CBO Bitmap optimization use maximal expression
10116 CBO Bitmap optimization switch
10117 CBO Disable new parallel cost model
10118 CBO Enable hash join costing
10119 QKA Disable GBY sort elimination
10120 CBO Disable index fast full scan
10121 CBO Don’t sort bitmap chains
10122 CBO disable count(col) = count(*) transformation
10123 QKA Disable Bitmap And-EQuals
10145 Test auditing network errors
10146 Enable Oracle TRACE collection
10200 Block cleanout
10201 Consistent read undo application
10202 Consistent read block header
10203 Consistent read buffer status
10204 Signal recursive extend
10205 Row cache debugging
10206 Transaction table consistent read
10207 Consistent read transactions’ status report
10208 Consistent read loop check
10209 Enable simulated error on control file
10210 Check data block integrity
10211 Check index block integrity
10212 Check cluster integrity
10213 Crash after control file write
10214 Simulate write errors on control file
10215 Simulate read errors on control file
10216 Dump control file header
10217 Debug sequence numbers
10218 Dump uba of applied undo
10219 Monitor multi-pass row locking
10220 Show updates to the transaction table
10221 Show changes done with undo
10222 Row cache
10223 Transaction layer - turn on verification codes
10226 Trace CR applications of undo for data operations
10227 Verify (multi-piece) row structure
10228 Trace application of redo by kcocbk
10230 Check redo generation by copying before applying
10231 Skip corrupted blocks on _table_scans_
10232 Dump corrupted blocks symbolically when kcbgotten
10233 Skip corrupted blocks on index operations
10234 Trigger event after calling kcrapc to do redo N times
10235 Check memory manager internal structures
10236 Library cache manager
10237 Simulate ^C (for testing purposes)
10238 Instantiation manager
10239 Multi-instance library cache manager
10240 Dump dba’s of blocks that we wait for
10241 Dump SQL generated for remote execution (OPIX)
10243 Simulated error for test %s of K2GTAB latch cleanup
10244 Make tranids in error msgs print as 0.0.0 (for testing)
10245 Simulate lock conflict error for testing PMON
10246 Print trace of PMON actions to trace file
10247 Turn on scgcmn tracing. (VMS ONLY)
10248 Turn on tracing for dispatchers
10249 Turn on tracing for multi-stated servers
10250 Trace all allocate and free calls to the topmost SGA heap
10251 Check consistency of transaction table and undo block
10252 Simulate write error to data file header
10253 Simulate write error to redo log
10254 Trace cross-instance calls
10256 Turn off multi-threaded server load balancing
10257 Trace multi-threaded server load balancing
10258 Force shared servers to be chosen round-robin
10259 Get error message text from remote using explicit call
10260 Trace calls to SMPRSET (VMS ONLY)
10261 Limit the size of the PGA heap
10262 Don’t check for memory leaks
10263 Don’t free empty PGA heap extents
10264 Collect statistics on context area usage (x$ksmcx)
10265 Keep random system generated output out of error messages
10266 Trace OSD stack usage
10267 Inhibit KSEDMP for testing
10268 Don’t do forward coalesce when deleting extents
10269 Don’t do coalesces of free space in SMON
10270 Debug shared cursors
10271 Distributed transaction after COLLECT
10272 Distributed transaction before PREPARE
10273 Distributed transaction after PREPARE
10274 Distributed transaction before COMMIT
10275 Distributed transaction after COMMIT
10276 Distributed transaction before FORGET
10277 Cursor sharing (or not) related event (used for testing)
10281 Maximum time to wait for process creation
10282 Inhibit signalling of other backgrounds when one dies
10286 Simulate control file open error
10287 Simulate archiver error
10288 Do not check block type in ktrget
10289 Do block dumps to trace file in hex rather than fromatted
10290 Kdnchk - checkvalid event - not for general purpose use.
10291 Die in dtsdrv to test controlfile undo”
10292 Dump uet entries on a 1561 from dtsdrv”
10293 Dump debugging information when doing block recovery”
10294 Enable PERSISTENT DLM operations on non-compliant systems”
10300 Disable undo compatibility check at database open
10301 Enable LCK timeout table consistency check”
10320 Enable data layer (kdtgrs) tracing of space management calls”
10352 Report direct path statistics
10353 Number of slots
10354 Turn on direct read path for parallel query
10355 Turn on direct read path for scans
10356 Turn on hint usage for direct read
10357 Turn on debug information for direct path
10374 Parallel query server interrupt (validate lock value)
10375 Turn on checks for statistics rollups
10376 Turn on table queue statistics
10377 Turn off load balancing
10379 Direct read for rowid range scans (unimplemented)
10380 Kxfp latch cleanup testing event
10381 Kxfp latch cleanup testing event
10382 Parallel query server interrupt (reset)
10383 Auto parallelization testing event
10384 Parallel dataflow scheduler tracing
10385 Parallel table scan range sampling method
10386 Parallel SQL hash and range statistics
10387 Parallel query server interrupt (normal)
10388 Parallel query server interrupt (failure)
10389 Parallel query server interrupt (cleanup)
10390 Trace parallel query slave execution
10391 Trace rowid range partitioning
10392 Parallel query debugging bits
10393 Print parallel query statistics
10394 Allow parallelization of small tables
10395 Adjust sample size for range table queues
10396 Circumvent range table queues for queries
10397 Suppress verbose parallel coordinator error reporting
10398 Enable timeouts in parallel query threads
10399 Use different internal maximum buffer size
10400 Turn on system state dumps for shutdown debugging
10500 Turn on traces for SMON
10510 Turn off SMON check to offline pending offline rollbacksegment
10511 Turn off SMON check to cleanup undo dictionary
10512 Turn off SMON check to shrink rollback segments
10600 Check cursor frame allocation
10602 Cause an access violation (for testing purposes)
10603 Cause an error to occur during truncate (for testing purposes)
10604 Trace parallel create index
10605 Enable parallel create index by default
10606 Trace parallel create index
10607 Trace index rowid partition scan
10608 Trace create bitmap index
10610 Trace create index pseudo optimizer
10666 Do not get database enqueue name
10667 Cause sppst to check for valid process ids
10690 Set shadow process core file dump type (Unix only)
10691 Set background process core file type (Unix only)
10700 Alter access violation exception handler
10701 Dump direct loader index keys
10702 Enable histogram data generation
10703 Simulate process death during enqueue get
10704 Print out information about what enqueues are being obtained
10706 Print out information about instance lock manipulation
10707 Simulate process death for instance registration
10708 Print out Tracing information for skxf multi instance comms
10709 Enable parallel instances in create index by default
10710 Trace bitmap index access
10711 Trace bitmap index merge
10712 Trace bitmap index or
10713 Trace bitmap index and
10714 Trace bitmap index minus
10715 Trace bitmap index conversion to rowids
10800 Disable Smart Disk scan
10801 Enable Smart Disk trace
10802 Reserved for Smart Disk
10803 Write timing statistics on OPS recovery scan
10804 Reserved for ksxb
10805 Reserved for row sort
10900 Extent manager fault insertion event #%s
10924 Import storage parse error ignore event
10925 Trace name context forever
10926 Trace name context forever
10927 trace name context forever
10928 trace name context forever
10999 do not get database enqueue name

Posted by ORACLE,DBA,BIG,DATA,JAVA 흑풍전설