본문 바로가기

Oracle Wait Interface

(5)
buffer is pinned count [source] 조동욱님 영문 블로그 http://dioncho.wordpress.com/2009/04/08/buffer-pinning/ In case of consecutive access on the same buffer within the same fetch call, Oracle pins the buffer so as to visit the buffer without acquiring the cache buffers chains latch and searching the cache buffers chains. The duration of pin is fetch-call scope, so we have a decreased overhead without the pin contention. Also,..
조동욱 님의 OWI (Oracle Wait Interface) 책은 조동욱(ukja.tistory.com) 님의 OWI (Oracle Wait Interface) 이 분야를 많이 모르는 나도 어렵지 않도록 친절하고 상세하게 예제와 함께 설명이 되어 있어서 따라하면서 할 수 있다. 실제 타이핑해보면서 예제를 따라해보지는 못했으나 궁금중을 유발시키는 것들은 실제 해 보면서 요리저리 바꿔보면서 작동하는 원리를 파악해가면 재미가 있다. 다만 역시 실습해보려면 징검다리 중간에 빠지듯이 한번 빠지면 시간 몽땅 잡아먹는 경우가 있음. 좀 더 상세하게 체계적으로 나중에 습득한 내용을 정리해 봐야겠다.
HangAnalyze 3 SQL> oradebug hanganalyze 3 [ 3, 5, 10 ] Hang Analysis in /oracle/app/admin/EJD/udump/ejd_ora_2683086_SGA_with_level_2_SharedPoolDump.trc [level 5] : 4 node dumps -- [SINGLE_NODE] [SINGLE_NODE_NW] [IGN_DMP] [level 10] : 36 node dumps -- [IGN] *** 2011-07-31 02:48:40.154 ============== HANG ANALYSIS: ============== Open chains found: Other chains found: Chain 1 : : Chain 2 : : Chain 3 : : Chain 4..
Systemstate dumps Systemstate dumps A system state dump is trace file containing a snapshot of all processes running in a database. It is used to diagnose hang issues and has more information compared to a hanganalyze dump.There are various ways to dump the systemstate. If you can connect to the database you can dump it using SQL> oradebug setmypid Statement processed. SQL> oradebug unlimit  this is important so..
Dump SGA level 2 SQL> oradebug setmypid Statement processed. SQL> oradebug unlimi ORA-00070: command unlimi is not valid SQL> oradebug unlimit Statement processed. SQL> alter session set tracefile_identifier = 'SGA_TOP_5'; Session altered. SQL> oradebug dump heapdump 536870914 Statement processed. SQL> oradebug close_trace Statement processed.