DB°¡ ¸ÔÅëÀ϶§ oradebug »ç¿ë
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2016-02-23 12:48:31
 

¸ÕÀú SESSION ÀÌ Á¢¼ÓÀÌ °¡´ÉÇÏ´Ù¸é V$SESSION, V$SESSION_WAIT ·Î ¾î¶°ÇÑ À̺¥Æ®°¡ ¿øÀÎÀÌ µÇ´ÂÁö¸¦ ÆľÇÇÏ¼Å¾ß ÇÕ´Ï´Ù.

±×¸®°í ¸¸ÀÏ SESSIONÀÌ Á¢¼ÓºÒ°¡´ÉÇÑ »óŶó¸é 10g ¿¡¼­ ¼¼¼ÇÀ» ¸ÎÁö ¾Ê°í¼­µµ ¹Ù·Î DMA(direct memory access) ¸¦ ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀ» Á¦°øÇÏ°í ÀÖ½À´Ï´Ù.

>SQLPLUS -prelim / as sysdba
SQL> oradebug setmypid
SQL> oradebug unlimit
SQL> oradebug call ksmcpg
=> -prelim ¿É¼Ç »ç¿ë½Ã ORA-7445 ¿¡·¯ ¹ß»ýÇÒ °æ¿ì »ó±â ¿É¼ÇÀ» »ç¿ëÇÏ¿© PGA º¯¼ö ÃʱâÈ­ ¼öÇàÇÕ´Ï´Ù.

SQL>oradebug errorstack 3
SQL>oradebug hanganalyze 12       
SQL>oradebug close_trace

prelim¿É¼ÇÀ¸·Î ¿¬°áÇؼ­ ÇöÀç ¾î¶°ÇÑ ¼¼¼ÇÀÌ hangÀ» À¯¹ßÇß´ÂÁö¸¦ ÆľÇÇÕ´Ï´Ù.

¾Æ·¡ oradebug ·Î »ý¼ºµÈ trace ÆÄÀÏÀ» È®ÀÎÇغ¸½Ã¸é

hang  state Ç׸ñ¿¡ ÇàÀ» ³ª¿À´Â latch³ª enqueu Ç׸ñÀÌ Á¸ÀçÇÏ´Â sid, serial# ÀÌ ³ª¿É´Ï´Ù..


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦