{"id":792,"date":"2015-12-04T06:43:19","date_gmt":"2015-12-04T06:43:19","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=792"},"modified":"2015-12-04T06:43:19","modified_gmt":"2015-12-04T06:43:19","slug":"oradebug-%ec%82%ac%ec%9a%a9%eb%b2%95-2","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=792","title":{"rendered":"ORADEBUG \uc0ac\uc6a9\ubc95 &#8211; 2"},"content":{"rendered":"<p><b style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\">[oradebug \uc0ac\uc6a9\ubc95 &#8211; 2]<\/b><\/p>\n<p style=\"margin-left: 20pt;\"><span style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; text-indent: -18pt; font-size: 9pt; line-height: 1.5;\">1.<\/span><span style=\"color: rgb(102, 102, 102); text-indent: -18pt; font-size: 10px; line-height: normal;\"><font face=\"Times New Roman\">&nbsp;<\/font><\/span><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">oradebug resume<\/font><\/p>\n<p style=\"margin-left: 4.2em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">\uc77c\uc2dc \uc911\uc9c0\ub41c&nbsp;\ud504\ub85c\uc138\uc2a4\ub97c \uc7ac\uc2dc\uc791<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 38pt;\">SQL&gt; oradebug resume&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">2.&nbsp;oradebug flush<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><span style=\"color: rgb(84, 84, 84); font-family: Dotum, \ub3cb\uc6c0; font-size: 9pt; line-height: 18.2px;\">\uba54\ubaa8\ub9ac\uc5d0 \uc788\ub294 \uc815\ubcf4\ub97c Trace \ud30c\uc77c\uc5d0 Write<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">3.&nbsp;oradebug close_trace &nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\">\ud504\ub85c\uc138\uc2a4\uac00 \uc7a1\uace0 \uc788\ub358 \ud2b8\ub808\uc774\uc2a4 \ud30c\uc77c close<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">4.&nbsp;oradebug lkdebug&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><span style=\"color: rgb(0, 0, 0); font-family: Dotum, \ub3cb\uc6c0; font-size: 9pt; line-height: 17.3333px;\">\ub9ac\uc18c\uc2a4 \ub9ac\ub9c8\uc2a4\ud130\ub9c1&nbsp;\uc9c1\uc811\uc218\ud589<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><span style=\"color: rgb(0, 0, 0); font-family: Dotum, \ub3cb\uc6c0; font-size: 9pt; line-height: 17.3333px;\"><br \/><\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">5.&nbsp;oradebug nsdbx<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#212121\" face=\"Dotum, Verdana, AppleGothic, sans-serif\"><span style=\"line-height: 24px; white-space: pre-wrap;\">Cluster Group Services (CGS) name-service debugger\ub85c <\/span><\/font><span style=\"color: rgb(33, 33, 33); font-family: inherit; font-size: 9pt; line-height: 24px; white-space: pre-wrap;\">ORADEBUG \uc720\ud2f8\ub9ac\ud2f0<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#212121\"><span style=\"line-height: 24px; white-space: pre-wrap;\">Usage:nsdbx [options]<br \/>\n -h                                                    Help<br \/>\n -p  &lt;owner&gt; &lt;namespace&gt; &lt;key&gt; &lt;value&gt; &lt;nowait&gt;    &nbsp;Publish a name-entry<br \/>\n -d  &lt;owner&gt; &lt;namespace&gt; &lt;key&gt; &lt;nowait&gt;            &nbsp;&nbsp;&nbsp;&nbsp;Delete a name-entry<br \/>\n -q  &lt;namespace&gt; &lt;key&gt;                                              Query a namespace<br \/>\n -an &lt;namespace&gt;                                                       Print all entries in namespace<br \/>\n -ae                                                                            Print all entries<br \/>\n -as                                                                            Print all namespaces<br \/>\n <\/span><\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><span style=\"font-size: 9pt; color: rgb(33, 33, 33); font-family: inherit; line-height: 24px; white-space: pre-wrap;\"><br \/><\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">6.&nbsp;oradebug -G &nbsp;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\ud328\ub7ec\ub7f4 \uc624\ub77c\ub514\ubc84\uadf8 \uba85\ub839\uc5b4<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">EX)&nbsp;oradebug -g def event 10706 trace name context forever, level 10&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">7.&nbsp;oradebug setinst &nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\">\uc778\uc2a4\ud134\uc2a4 \uc124\uc815<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><span style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\">EX)&nbsp;<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\"><br \/><\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">SQL&gt; select * from v$active_instances;&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><span style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\">INST_NUMBER &nbsp; INST_NAME&nbsp;<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; alpha:test1&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; beta:test2&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; omega:test3&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">SQL&gt; oradebug setinst &#8220;1&#8221;,&#8221;2&#8243;,&#8221;3&#8243; &nbsp; &nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">Statement processed. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">SQL&gt; oradebug setinst all&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">Statement processed.&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">8.&nbsp;oradebug sgatofile<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\">SGA\ub97c \ud30c\uc77c\ub85c \ub364\ud504<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\">9.&nbsp;oradebug hanganalyze<\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\">\uc2dc\uc2a4\ud15c Hang&nbsp;\ubd84\uc11d<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">EX)&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">ORADEBUG setmypid&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">ORADEBUG setinst all&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">ORADEBUG -g def hanganalyze &nbsp;&lt;level&gt;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">[LEVEL]<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">1-2 &nbsp;Only HANGANALYZE output, no process dump at all&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">3 &nbsp; &nbsp;Level 2 + Dump only processes thought to be in a hang (IN_HANG state)&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">4 &nbsp; &nbsp;<\/font><span style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\">Level 3 + Dump leaf nodes (blockers) in wait chains (LEAF,LEAF_NW,IGN_DMP&nbsp;<\/span><span style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\">state)&nbsp;<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">5 &nbsp; &nbsp;Level 4 + Dump all processes involved in wait chains (NLEAF state)&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">10 &nbsp; Dump all processes (IGN state)&nbsp;<\/font><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 2.2em;\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[oradebug \uc0ac\uc6a9\ubc95 &#8211; 2] 1.&nbsp;oradebug resume \uc77c\uc2dc \uc911\uc9c0\ub41c&nbsp;\ud504\ub85c\uc138\uc2a4\ub97c \uc7ac\uc2dc\uc791 SQL&gt; oradebug resume&nbsp; 2.&nbsp;oradebug flush \uba54\ubaa8\ub9ac\uc5d0 \uc788\ub294 \uc815\ubcf4\ub97c Trace \ud30c\uc77c\uc5d0 Write 3.&nbsp;oradebug close_trace &nbsp; \ud504\ub85c\uc138\uc2a4\uac00 \uc7a1\uace0 \uc788\ub358 \ud2b8\ub808\uc774\uc2a4 \ud30c\uc77c close 4.&nbsp;oradebug lkdebug&nbsp; \ub9ac\uc18c\uc2a4 \ub9ac\ub9c8\uc2a4\ud130\ub9c1&nbsp;\uc9c1\uc811\uc218\ud589 5.&nbsp;oradebug nsdbx Cluster Group Services (CGS) name-service debugger\ub85c ORADEBUG \uc720\ud2f8\ub9ac\ud2f0 Usage:nsdbx [options] -h Help -p &lt;owner&gt; &lt;namespace&gt; &lt;key&gt; &lt;value&gt; &lt;nowait&gt; &nbsp;Publish a [&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\/792"}],"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=792"}],"version-history":[{"count":0,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/792\/revisions"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=792"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}