{"id":793,"date":"2015-12-04T07:56:55","date_gmt":"2015-12-04T07:56:55","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=793"},"modified":"2015-12-04T07:56:55","modified_gmt":"2015-12-04T07:56:55","slug":"oradebug-%ec%82%ac%ec%9a%a9%eb%b2%95-3","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=793","title":{"rendered":"ORADEBUG \uc0ac\uc6a9\ubc95 &#8211; 3"},"content":{"rendered":"<p style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif;\"><b>[oradebug \uc0ac\uc6a9\ubc95 &#8211; 3]<\/b><\/p>\n<p style=\"text-indent: 0px; 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); font-family: Dotum, Verdana, AppleGothic, sans-serif; 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 core &nbsp;<\/font><\/p>\n<p style=\"color: rgb(102, 102, 102); font-family: Dotum, Verdana, AppleGothic, sans-serif; margin-left: 4.2em;\"><font color=\"#666666\" face=\"Dotum, Verdana, AppleGothic, sans-serif\">\ud504\ub85c\uc138\uc2a4 \ucda9\ub3cc \uc5c6\uc774 \ucf54\uc5b4 \ub364\ud504<\/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;\">2.&nbsp;oradebug ipc &nbsp;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\uc624\ub77c\ud074\uc774 \uc0ac\uc6a9 \uc911\uc778 OS shared memory segment \uc815\ubcf4, \uc138\ub9c8\ud3ec\uc5b4 \uc815\ubcf4, RAC \uc778 \uacbd\uc6b0 Interconnect \ub124\ud2b8\uc6cc\ud06c<br \/>\n\uc815\ubcf4\ub85c,&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\uc0ac\uc6a9\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc138\uc2a4 \uc544\uc774\ub514\ub97c \uc124\uc815\ud55c\ub2e4.<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">EX) &nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&#8212;&#8212;&#8212; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;part of the trace file &nbsp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Number of semaphores per set: &nbsp; &nbsp;= 77&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Semaphores key overhead per set: = 4&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">User Semaphores per set: &nbsp; &nbsp; &nbsp; &nbsp; = 73&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Number of semaphore sets: &nbsp; &nbsp; &nbsp; &nbsp;= 3&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Semaphore identifiers: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Semaphore List=&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">2293760&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&#8212;&#8212;&#8212;&#8212;&#8211; system semaphore information &#8212;&#8212;&#8212;&#8212;-&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">IPC status from &lt;running system&gt; as of Tue Jul 22 13:49:16 EDT 2003&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">T &nbsp; &nbsp; &nbsp; &nbsp; ID &nbsp; &nbsp; &nbsp;KEY &nbsp; &nbsp; &nbsp; &nbsp;MODE &nbsp; &nbsp; &nbsp; &nbsp;OWNER &nbsp; &nbsp;GROUP &nbsp;CREATOR &nbsp; CGROUP NSEMS &nbsp;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">OTIME &nbsp; &nbsp;CTIME&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Semaphores:&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">s &nbsp; &nbsp;2293760 &nbsp;0xddce3cac &#8211;ra-r&#8212;&#8211; &nbsp; oracle &nbsp; &nbsp; dba &nbsp; oracle &nbsp; &nbsp; dba &nbsp; &nbsp;77 10:32:36 &nbsp; 11:06:49&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">s &nbsp; &nbsp; 524289 &nbsp; 0xddce3cad &#8211;ra-r&#8212;&#8211; &nbsp; oracle &nbsp; &nbsp; dba &nbsp; oracle &nbsp; &nbsp; dba &nbsp; &nbsp;77 no-entry &nbsp; &nbsp;11:06:49&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">s &nbsp; &nbsp; 524290 &nbsp; 0xddce3cae &#8211;ra-r&#8212;&#8211; &nbsp; oracle &nbsp; &nbsp; &nbsp;dba &nbsp; oracle &nbsp; &nbsp;dba &nbsp; &nbsp;77 11:06:50 &nbsp; &nbsp;11:06:49&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 2em;\">3.&nbsp;oradebug unlimit &nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\ud2b8\ub808\uc774\uc2a4 \ud30c\uc77c\uc5d0 \ub300\ud55c \ud06c\uae30 \uc81c\ud55c\uc744 \uc81c\uac70<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 2em;\"><\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 2em;\">4.&nbsp;oradebug procstat &nbsp;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\ud504\ub85c\uc138\uc2a4 \ud1b5\uacc4\ub97c \ub364\ud504<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">EX)&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Dump statistics for the DBWR background process:&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; select pid,name&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; from v$process p, v$bgprocess b&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; where b.paddr = p.addr&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">SQL&gt; \/&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; PID NAME&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&#8212;&#8212;&#8212;- &#8212;&#8211;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 2 PMON&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 3 DBWR<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 4 LGWR&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 5 CKPT&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 6 SMON&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp; &nbsp; &nbsp; &nbsp; 7 RECO&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">6 rows selected.&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">SQL&gt; oradebug setorapid 3&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Unix process pid: 15668, image: oracle@apollo (DBW0)&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">SQL&gt; oradebug procstat&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">Statement processed.&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">To find out where is the trace file located run:&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">SQL&gt; oradebug tracefile_name&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\/ora-main\/app\/oracle\/admin\/test\/bdump\/test_dbw0_15668.trc&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">SQL&gt;&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">&nbsp;<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 2em;\">5.&nbsp;oradebug call<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\">\ud568\uc218\ub97c \ud638\ucd9c<\/p>\n<p class=\"MsoListParagraph\" style=\"margin-left: 4em;\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[oradebug \uc0ac\uc6a9\ubc95 &#8211; 3] 1.&nbsp;oradebug core &nbsp; \ud504\ub85c\uc138\uc2a4 \ucda9\ub3cc \uc5c6\uc774 \ucf54\uc5b4 \ub364\ud504 2.&nbsp;oradebug ipc &nbsp;&nbsp; \uc624\ub77c\ud074\uc774 \uc0ac\uc6a9 \uc911\uc778 OS shared memory segment \uc815\ubcf4, \uc138\ub9c8\ud3ec\uc5b4 \uc815\ubcf4, RAC \uc778 \uacbd\uc6b0 Interconnect \ub124\ud2b8\uc6cc\ud06c \uc815\ubcf4\ub85c,&nbsp; \uc0ac\uc6a9\ud558\uae30 \uc804\uc5d0 \ud504\ub85c\uc138\uc2a4 \uc544\uc774\ub514\ub97c \uc124\uc815\ud55c\ub2e4. EX) &nbsp; &#8212;&#8212;&#8212; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;part of the trace file &nbsp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&nbsp; Number of semaphores per [&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\/793"}],"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=793"}],"version-history":[{"count":0,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/793\/revisions"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}