{"id":794,"date":"2015-12-04T09:09:16","date_gmt":"2015-12-04T09:09:16","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=794"},"modified":"2015-12-04T09:09:16","modified_gmt":"2015-12-04T09:09:16","slug":"oradebug-dumps","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=794","title":{"rendered":"ORADEBUG DUMPS"},"content":{"rendered":"<p>\uc624\ub77c\ub514\ubc84\uadf8\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub0b4\ubd80 \uc815\ubcf4\ub97c \uc5bb\uc744 \ub54c \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub41c\ub2e4.<\/p>\n<p><\/p>\n<p>1.&nbsp;oradebug dump &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">\ub364\ud504 \uc218\ud589<\/p>\n<p><\/p>\n<p>[ Syntax ]&nbsp;<\/p>\n<p>oradebug dump &nbsp;&lt;dump_name&gt; &lt;level&gt; [addr]&nbsp;<\/p>\n<p><\/p>\n<p>[ Parameter ]<\/p>\n<p>&lt;dump_name&gt; &nbsp; &nbsp;<\/p>\n<p>&lt;level&gt;&nbsp;<\/p>\n<p>[&lt;addr&gt;] &nbsp;&nbsp;<\/p>\n<p><\/p>\n<p><\/p>\n<p>SQL&gt; oradebug dumplist &nbsp;( Oradebug \uc5d0\uc11c \ub364\ud504\ud560 \uc218 \uc788\ub294 Named Event)<\/p>\n<p>EVENTS&nbsp;<\/p>\n<p>TRACE_BUFFER_ON&nbsp;<\/p>\n<p>TRACE_BUFFER_OFF&nbsp;<\/p>\n<p>HANGANALYZE&nbsp;<\/p>\n<p>LATCHES&nbsp;<\/p>\n<p>PROCESSSTATE&nbsp;<\/p>\n<p>SYSTEMSTATE&nbsp;<\/p>\n<p>INSTANTIATIONSTATE&nbsp;<\/p>\n<p>REFRESH_OS_STATS&nbsp;<\/p>\n<p>CROSSIC&nbsp;<\/p>\n<p>CONTEXTAREA&nbsp;<\/p>\n<p>HEAPDUMP&nbsp;<\/p>\n<p>HEAPDUMP_ADDR&nbsp;<\/p>\n<p>POKE_ADDRESS&nbsp;<\/p>\n<p>POKE_LENGTH \u2026\u2026\u2026.&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>2.&nbsp;&nbsp;oradebug &nbsp;dump systemstate<\/p>\n<p style=\"margin-left: 2em;\">\uc2dc\uc2a4\ud15c \uc0c1\ud0dc \uc815\ubcf4 \ub364\ud504<\/p>\n<p style=\"margin-left: 2em;\">EX)<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setmypid&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug unlimit&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setinst all&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug -g def dump systemstate 10&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p>3.&nbsp;oradebug &nbsp;dump processstate &nbsp;<\/p>\n<p style=\"margin-left: 2em;\">\ud504\ub85c\uc138\uc2a4 \uc0c1\ud0dc \uc815\ubcf4 \ub364\ud504<\/p>\n<p style=\"margin-left: 2em;\">EX)<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setmypid&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug unlimit&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setinst all&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug -g def dump systemstate 10&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p>4.&nbsp;oradebug &nbsp;dump errorstack&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">error stack \ub364\ud504<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p style=\"margin-left: 2em;\">Dump Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dump Contains&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dump error buffer&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level 0 + call stack&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level 1 + process state objects&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level 2 + context area&nbsp;<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p style=\"margin-left: 2em;\">EX)<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setospid 13446&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Oracle pid: 12, Unix process pid: 13446, image: oracle@apollo (TNS V1-V3)&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug unlimit&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug dump errorstack 3&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;<\/p>\n<p>5.&nbsp;oradebug dump controlf<\/p>\n<p style=\"margin-left: 2em;\">\ub370\uc774\ud130\ud30c\uc77c\uacfc \ucf58\ud2b8\ub864\ud30c\uc77c \ud5e4\ub354\ub97c \ub364\ud504\ud558\ub294 \uac83\uc73c\ub85c&nbsp;\ub9ac\ucee4\ubc84\ub9ac\ub098 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc624\ud508\uc2dc \ud30c\uc77c\ub4e4 \uc0c1\ud0dc\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\ub294\ub2e4\ub294&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">ORA-1113, ORA-376 \ub4f1\uc758 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0 CONTROLF \uc640 FILE_HDRS \ub97c \uc0ac\uc6a9\ud558\uc5ec \uac01 \ud30c\uc77c\uc758 \ud5e4\ub354\ub97c \ub364\ud504\ud558\uc5ec \ud30c\uc77c\ub4e4\uc758 \uc0c1\ud0dc\uc640 \uc5c5\ub370\uc774\ud2b8 \uc2dc\uac04\uc744 \ube44\uad50<\/p>\n<div><\/div>\n<p style=\"margin-left: 2em;\">Dump Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dump Contains&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;only the file header&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;just the file header, the database info record, and checkpoint progress records &nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;all record types, but just the earliest and latest records for circular reuse record types&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as above, but includes the 4 most recent records for circular reuse record types&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;5+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as above, but the number of circular reuse records included doubles with each level&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;<\/p>\n<p>6.&nbsp;Memory Dumps&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">\ubc84\ud37c\uce90\uc2dc \ub364\ud504 \uc218\ud589<\/p>\n<p style=\"margin-left: 2em;\">Dump Level &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dump Contains&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dump the buffer headers only &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include the cache and transaction headers from each block &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include a full dump of each block &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dump the working set lists and the buffer headers and the cache header for each block &nbsp;<\/p>\n<p style=\"margin-left: 2em;\">5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include the transaction header from each block &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include a full dump of each block &nbsp;&nbsp;<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p>7.&nbsp;oradebug dump library_cache<\/p>\n<p style=\"margin-left: 2em;\">\ub77c\uc774\ube0c\ub7ec\ub9ac \uce90\uc2dc \ud1b5\uacc4 \ub364\ud504<\/p>\n<p style=\"margin-left: 2em;\">Dump Level &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dump Contains&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dump libracy cache statistics&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; also include a hash table &nbsp;<\/p>\n<p style=\"margin-left: 2em;\">3 &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level 2 + dump of the library &nbsp;object handles&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">4 &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level 3 + dump of the heap&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;EX)&nbsp;<\/p>\n<p>&nbsp;SQL&gt; oradebug setmypid&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p>&nbsp;SQL&gt; oradebug dump library_cache 2&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>8. oradebug dump heapdump&nbsp;<\/p>\n<p>&nbsp;\ud2b9\uc815 \uc624\ub77c\ud074 \ud504\ub85c\uc138\uc2a4\uc758 \uba54\ubaa8\ub9ac\uac00 \uc9c0\uc18d\uc801\uc73c\ub85c \uc99d\uac00\ub9cc\ud558\uac70\ub098&nbsp;\ud55c\ubc88 \uc99d\uac00\ud55c \ud6c4 \uc904\uc5b4\ub4e4\uc9c0 \uc54a\ub294 \uacbd\uc6b0 \uba54\ubaa8\ub9ac<br \/>\n\uc815\ubcf4\ub97c \ub364\ud504\ud558\uc5ec,&nbsp;<\/p>\n<p>&nbsp;\uc5b4\ub290 \uba54\ubaa8\ub9ac \uc138\uadf8\uba3c\ud2b8 \ubd80\ubd84\uc774 \ub9ce\uc774 \ucc28\uc9c0\ud558\ub294\uc9c0 \ubd84\uc11d\ud558\uae30 \uc704\ud574 HEAPDUMP \ub97c \uc218\ud589<\/p>\n<p><\/p>\n<p>Dump Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dump Contains&nbsp;<\/p>\n<p>1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include PGA heap&nbsp;<\/p>\n<p>2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include Shared Pool&nbsp;<\/p>\n<p>4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include UGA heap &nbsp;<\/p>\n<p>8 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include CGA heap&nbsp;<\/p>\n<p>16 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;include Top CGA&nbsp;<\/p>\n<p>32 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;include Large Pool&nbsp;<\/p>\n<p><\/p>\n<p>9.&nbsp;oradebug dump heapdump_addr<\/p>\n<p><\/p>\n<p>Dump Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dump Contains&nbsp;<\/p>\n<p>1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dump structure&nbsp;<\/p>\n<p>2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;also include contents&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>EX)<\/p>\n<p>SQL&gt; oradebug setmypid&nbsp;<\/p>\n<p>Statement processed.&nbsp;<\/p>\n<p>SQL&gt; oradebug unlimit&nbsp;<\/p>\n<p>Statement processed.&nbsp;<\/p>\n<p>SQL&gt; oradebug dump heapdump 2&nbsp;<\/p>\n<p>Statement processed.&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &nbsp; &nbsp; &nbsp;part of the trace file &nbsp; &nbsp; &nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&nbsp;<\/p>\n<p>*** SESSION ID:(7.14111) 2003-09-03 13:01:21.412&nbsp;<\/p>\n<p>******************************************************&nbsp;<\/p>\n<p>HEAP DUMP heap name=&#8221;sga heap&#8221; &nbsp;desc=0x80000030&nbsp;<\/p>\n<p>extent sz=0xfc4 alt=48 het=32767 rec=9 flg=2 opc=0&nbsp;<\/p>\n<p>parent=0 owner=0 nex=0 xsz=0x3d2bdf4&nbsp;<\/p>\n<p>EXTENT 0&nbsp;<\/p>\n<p>&nbsp;Chunk b5815ff8 sz= 41699524 &nbsp; &nbsp;perm &nbsp; &nbsp; &nbsp;&#8220;perm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;alo=19395672&nbsp;<\/p>\n<p>&nbsp;Chunk b7fda8bc sz= &nbsp; 887380 &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;&#8221; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>&nbsp;Chunk b80b3310 sz= &nbsp; &nbsp; &nbsp;560 &nbsp; &nbsp;freeable &nbsp;&#8220;library cache &nbsp;&#8221; &nbsp;ds=b80b5a0c&nbsp;<\/p>\n<p>&nbsp;Chunk b80b3540 sz= &nbsp; &nbsp; 2588 &nbsp; &nbsp;freeable &nbsp;&#8220;sql area &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;ds=b80b5898&nbsp;<\/p>\n<p>&nbsp;Chunk b80b3f5c sz= &nbsp; &nbsp; &nbsp;732 &nbsp; &nbsp;freeable &nbsp;&#8220;sql area &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;ds=b80ba69c&nbsp;<\/p>\n<p>&nbsp;Open the trace file and look for the ds (descriptor &nbsp;address).Convert hex to decimal and do the&nbsp;<\/p>\n<p>dump.&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>SQL&gt; oradebug dump heapdump_addr 1 3087751692&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; part of the trace file generated using command above &#8212;&#8212;&#8212;&#8212;-&nbsp;<\/p>\n<p>Statement processed.&nbsp;<\/p>\n<p>*** 2003-09-03 13:12:35.330&nbsp;<\/p>\n<p>*** SESSION ID:(8.20679) 2003-09-03 13:12:35.322&nbsp;<\/p>\n<p>HEAP DUMP heap name=&#8221;library cache&#8221; &nbsp;desc=0xb80b5a0c&nbsp;<\/p>\n<p>extent sz=0x224 alt=32767 het=8 rec=9 flg=2 opc=0&nbsp;<\/p>\n<p>parent=80000030 owner=b80b5804 nex=0 xsz=0x224&nbsp;<\/p>\n<p>EXTENT 0&nbsp;<\/p>\n<p>&nbsp;Chunk b80b3324 sz= &nbsp; &nbsp; &nbsp;464 &nbsp; &nbsp;perm &nbsp; &nbsp; &nbsp;&#8220;perm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;alo=176&nbsp;<\/p>\n<p>&nbsp;Chunk b80b34f4 sz= &nbsp; &nbsp; &nbsp; 76 &nbsp; &nbsp;freeable &nbsp;&#8220;kgltbtab &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>EXTENT 1&nbsp;<\/p>\n<p>&nbsp;Chunk b80b55b4 sz= &nbsp; &nbsp; &nbsp;500 &nbsp; &nbsp;perm &nbsp; &nbsp; &nbsp;&#8220;perm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;alo=500&nbsp;<\/p>\n<p>&nbsp;Chunk b80b57a8 sz= &nbsp; &nbsp; &nbsp; 40 &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;&#8221; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>EXTENT 2&nbsp;<\/p>\n<p>&nbsp;Chunk b80b57f4 sz= &nbsp; &nbsp; &nbsp;244 &nbsp; &nbsp;perm &nbsp; &nbsp; &nbsp;&#8220;perm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221; &nbsp;alo=244&nbsp;<\/p>\n<p>&nbsp;Chunk b80b58e8 sz= &nbsp; &nbsp; &nbsp; 52 &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;&#8221; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>&nbsp;Chunk b80b591c sz= &nbsp; &nbsp; &nbsp; 76 &nbsp; &nbsp;freeable &nbsp;&#8220;kgltbtab &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>&nbsp;Chunk b80b5968 sz= &nbsp; &nbsp; &nbsp; 76 &nbsp; &nbsp;freeable &nbsp;&#8220;kgltbtab &nbsp; &nbsp; &nbsp; &#8221;&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>10 .&nbsp;INDEX DUMP<\/p>\n<p style=\"margin-left: 2em;\">oradebug dump treedump<\/p>\n<p style=\"margin-left: 2em;\">\uc778\ub371\uc2a4 \uad6c\uc870\ub97c \ub364\ud504&nbsp;<\/p>\n<p style=\"margin-left: 2em;\"><\/p>\n<p style=\"margin-left: 2em;\">EX)<\/p>\n<p style=\"margin-left: 2em;\">select &nbsp;object_id &nbsp;from sys.dba_objects&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">where owner = upper(&#8216;&amp;Owner&#8217;) and&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">object_name = upper(&#8216;&amp;IndexName&#8217;);&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug setmypid&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">SQL&gt; oradebug dump treedump 40&nbsp;<\/p>\n<p style=\"margin-left: 2em;\">Statement processed.&nbsp;<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub77c\ub514\ubc84\uadf8\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub0b4\ubd80 \uc815\ubcf4\ub97c \uc5bb\uc744 \ub54c \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub41c\ub2e4. 1.&nbsp;oradebug dump &nbsp;&nbsp; \ub364\ud504 \uc218\ud589 [ Syntax ]&nbsp; oradebug dump &nbsp;&lt;dump_name&gt; &lt;level&gt; [addr]&nbsp; [ Parameter ] &lt;dump_name&gt; &nbsp; &nbsp; &lt;level&gt;&nbsp; [&lt;addr&gt;] &nbsp;&nbsp; SQL&gt; oradebug dumplist &nbsp;( Oradebug \uc5d0\uc11c \ub364\ud504\ud560 \uc218 \uc788\ub294 Named Event) EVENTS&nbsp; TRACE_BUFFER_ON&nbsp; TRACE_BUFFER_OFF&nbsp; HANGANALYZE&nbsp; LATCHES&nbsp; PROCESSSTATE&nbsp; SYSTEMSTATE&nbsp; INSTANTIATIONSTATE&nbsp; REFRESH_OS_STATS&nbsp; CROSSIC&nbsp; CONTEXTAREA&nbsp; HEAPDUMP&nbsp; HEAPDUMP_ADDR&nbsp; POKE_ADDRESS&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[14],"tags":[468],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/794"}],"collection":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=794"}],"version-history":[{"count":0,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}