{"id":10,"date":"2015-11-21T13:43:28","date_gmt":"2015-11-21T05:43:28","guid":{"rendered":"http:\/\/101.200.238.115\/lisq\/?p=10"},"modified":"2015-11-21T13:48:21","modified_gmt":"2015-11-21T05:48:21","slug":"oracle-%e6%95%85%e9%9a%9c%e8%af%8a%e6%96%ad","status":"publish","type":"post","link":"https:\/\/www.lisq.net\/?p=10","title":{"rendered":"oracle \u6545\u969c\u8bca\u65ad"},"content":{"rendered":"<div>\u6570\u636e\u5e93\u5b89\u88c5\u7c7b\u6545\u969c<\/div>\n<div>&#8211;\u6570\u636e\u5e93\u5b89\u88c5\u65f6\u5bb9\u6613\u72af\u7684\u9519\u8bef\uff1a\u6ca1\u6709\u5b89\u88c5\u5b98\u65b9\u6587\u6863\u5b89\u88c5\u6570\u636e\u5e93\u3001\u6ca1\u6709\u68c0\u67e5\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u3001\u64cd\u4f5c\u7cfb\u7edf\u5305\u548c\u8865\u4e01\u6ca1\u6709\u6253\u5168\u3001\u64cd\u4f5c\u7cfb\u7edfvmo\u53c2\u6570\u8bbe\u7f6e\u9519\u8bef\u3001\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u9519\u8bef\u3001\u4ecb\u8d28\u5b89\u88c5\u9519\u8bef\u3001\u5b89\u88c5RAC\u65f6\u5171\u4eab\u5b58\u50a8\u8bbe\u7f6e\u9519\u8bef\u3001\u64cd\u4f5c\u7cfb\u7edf\u6ca1\u6709\u914d\u7f6e\u6216\u8005\u5f00\u542f\u5f02\u6b65IO<\/div>\n<div>&#8211;\u6392\u67e5\u65b9\u6cd5\uff1a\u7cfb\u7edf\u65e5\u5fd7<\/div>\n<div>\u6570\u636e\u5e93\u8fde\u63a5\u7c7b\u6545\u969c<\/div>\n<div>&#8211;\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\u6709\u95ee\u9898\u3001\u7f51\u7edc\u6545\u969c\u3001\u4e3b\u673a\u8d44\u6e90\u4e0d\u8db3\u3001\u76d1\u542c\u6545\u969c\u3001\u6570\u636e\u5e93\u6545\u969c<\/div>\n<div>&#8211;\u6392\u67e5\u65b9\u6cd5\uff1a\u68c0\u67e5\u7f51\u7edc\uff0c\u68c0\u67e5\u4e3b\u673a\u8d44\u6e90\uff0c\u68c0\u67e5\u76d1\u542c\uff0c\u68c0\u67e5\u6570\u636e\u5e93\u53c2\u6570\u3001\u7a7a\u95f4\u3001\u8bbf\u95ee\u63a7\u5236<\/div>\n<div>\u6570\u636e\u5e93HANG\u7c7b\u6545\u969c<\/div>\n<div>&#8211;\u4e3b\u673a\u8d44\u6e90\u8fbe\u5230\u74f6\u9888\u3001\u8fdb\u7a0b\u76f4\u63a5\u7684\u6b7b\u9501\u3001\u5728\u7ebf\u65e5\u5fd7\u5747\u4e3aactive\u6216\u8005\u65e0\u6cd5\u5f52\u6863\u3001\u6570\u636e\u5e93\u8d44\u6e90\u4e89\u7528\u3001SGA\u5185\u5b58\u6296\u52a8\u3001\u4eba\u4e3a\u53d1\u8d77suspend\u3001ORACLE BUG<\/div>\n<div>&#8211;\u6536\u96c6HANG\u65f6\u7684\u72b6\u6001-&gt;\u5206\u6790<\/div>\n<div>&#8212;-\u5355\u5b9e\u4f8b\uff1a<\/div>\n<div>&#8212;-sqlplus<\/div>\n<div>&#8212;-oradebug hanganalyze 3<\/div>\n<div>&#8212;-\u4e00\u5206\u949f\u518d\u6b21\u6267\u884c<\/div>\n<div>&#8212;-\u53e6\u5916\u4e00\u4e2a\u4f1a\u8bdd<\/div>\n<div>&#8212;-oradebug setmypid<\/div>\n<div>&#8212;-oradebug unlimit<\/div>\n<div>&#8212;-oradebug dump systemstate 266<\/div>\n<div>&#8212;-oradebug dump systemstate 266<\/div>\n<div>&#8212;-oradebug dump systemstate 266<\/div>\n<div>&#8212;-RAC<\/div>\n<div>&#8212;-sqlplus<\/div>\n<div>&#8212;-oradebug setmypid<\/div>\n<div>&#8212;-oradebug unlimit<\/div>\n<div>&#8212;-oradebug-g all hanganalyze 3<\/div>\n<div>&#8212;-oradebug-g all hanganalyze<\/div>\n<div>&#8212;-exit<\/div>\n<div>&#8212;-\u53e6\u4e00\u4f1a\u8bdd<\/div>\n<div>&#8212;-oradebug setmypid<\/div>\n<div>&#8212;-oradebug unlimit<\/div>\n<div>&#8212;-oradebug-g all dump systemstate 10<\/div>\n<div>&#8212;-oradebug-g all dump systemstate 10<\/div>\n<div>&#8212;-oradebug tracefile_name<\/div>\n<div>&#8212;-exit<\/div>\n<div>&#8212;-HANG\u4f4f\u65e0\u6cd5\u8fde\u63a5\u6570\u636e\u5e93\u65f6<\/div>\n<div>&#8212;-sqlplus-prelim &#8216;\/ as sysdba&#8217;<\/div>\n<div>&#8212;-\u65e0\u6cd5\u67e5\u8be2\u6570\u636e\u5b57\u5178\uff0c\u53ef\u4ee5\u5173\u95ed\u6570\u636e\u5e93<\/div>\n<div>\u6570\u636e\u5e93\u5c40\u90e8\u6027HANG\u5904\u7406\u8fc7\u7a0b<\/div>\n<div>&#8211;\u8868\u73b0\u4e3a\u4f1a\u8bddHANG\uff0c\u67e5\u8be2v$session_wait\uff0c\u5982\u679cP1,P2,P3\u503c\u4e0d\u505c\u7684\u6539\u53d8\uff0c\u53ef\u80fd\u53ea\u662f\u6bd4\u8f83\u6162<\/div>\n<div>&#8212;-alter session set tracefile_identifier=&#8217;STACK_10046&#8242;;<\/div>\n<div>&#8212;-oradebug setospid xxxx;<\/div>\n<div>&#8212;-oradebug unlimit;<\/div>\n<div>&#8212;-oradebug event 10046 trace name context forever,level 12;<\/div>\n<div>&#8212;-oradebug dump errorstack 3;<\/div>\n<div>&#8212;-oradebug dump errorstack 3;<\/div>\n<div>&#8212;-oradebug dump errorstack 3;<\/div>\n<div>&#8212;-oradebug tracefile_name;<\/div>\n<div>&#8212;-oradebug event 10046 trace name context off;<\/div>\n<div>\u6570\u636e\u5e93\u6027\u80fd\u7c7b\u6545\u969c<\/div>\n<div>&#8211;\u9996\u5148\u5b8f\u89c2\u4e86\u89e3\u7cfb\u7edf\u72b6\u6001\uff0c\u7136\u540e\u518d\u5177\u4f53\u95ee\u9898\u5177\u4f53\u5206\u6790\uff1a<\/div>\n<div>&#8212;-\u786c\u4ef6\u60c5\u51b5\u548c\u4e1a\u52a1\u60c5\u51b5<\/div>\n<div>&#8212;-\u4e3b\u673a\u8d44\u6e90\u6d88\u8017<\/div>\n<div>&#8212;-\u67e5\u770b\u6d3b\u52a8\u7684\u4f1a\u8bdd\u6570\uff0c\u786e\u5b9a\u662f\u5426\u5b58\u5728\u6392\u961f\u6548\u5e94<\/div>\n<div>&#8212;-v$session_wait \u67e5\u770b\u7b49\u5f85\u4e8b\u4ef6<\/div>\n<div>&#8212;-AWR\u62a5\u544a<\/div>\n<div>\u5feb\u901f\u5b9a\u4f4d\u8d44\u6e90\u6301\u6709\u8005<\/div>\n<div>&#8211;LOCK: SELECT * FROM GV$LOCK WHERE BLOCK = 1;SELECT * FROM DBA_WAITERS;<\/div>\n<div>&#8211;LATCH:SELECT * FROM V$LATCHHOLDER;<\/div>\n<div>&#8211;MUTEX:SELECT TO_NUMBER(SUBSTR(TO_CHAR(RAWTOHEX(P2RAW)), 1, 8), &#8216;XXXXXXXX&#8217;) SID \u00a0 FROM V$SESSION \u00a0WHERE EVENT = &#8216;cursor: pin S wait on X&#8217;;<\/div>\n<div>&#8211;Library Cache Handle(Handle):Library Cache Lock<\/div>\n<div>&#8211;Library Cache Object(LCO):Library Cache Pin<\/div>\n<div>&#8211;Row Cache:SELECT * FROM V$ROWCACHE_PARENT WHERE LOCK_MODE &lt;&gt; 0;<\/div>\n<div>&#8211;10G\u540e\uff1av$session.BLOCKING_SESSION<\/div>\n<div>\u6570\u636e\u5e93\u8bef\u64cd\u4f5c<\/div>\n<div>&#8211;\u6709\u5907\u4efd\uff0c\u8bc4\u4f30\u6062\u590d\u65f6\u95f4\u548c\u6570\u636e\u4e22\u5931\u7387<\/div>\n<div>&#8211;\u8bef\u5220\u8868\uff0c\u67e5\u770b\u56de\u6536\u7ad9\uff0c\u6ca1\u6709DUL\u6316\u6398\u6570\u636e\u6216\u8005\u7528\u5907\u4efd\u5f02\u5730\u6062\u590d\u5bfc\u51fa<\/div>\n<div>&#8211;\u8bef\u5220\u6570\u636e\uff0c\u67e5\u770b\u95ea\u56de\u7279\u6027\uff0c\u95ea\u56de\u5931\u8d25\u7528logmnr\u6216\u8005\u5907\u4efd\u5f02\u5730\u6062\u590d\u5bfc\u51fa<\/div>\n<div>\u6570\u636e\u5e93\u574f\u5757\u6545\u969c<\/div>\n<div>&#8211;\u539f\u56e0\uff1a\u786c\u4ef6\u95ee\u9898\u3001\u64cd\u4f5c\u7cfb\u7edfbug\u3001\u975eORACLE\u8fdb\u7a0b\u5f02\u5e38\u4fee\u6539ORACLE\u5185\u5b58\u533a\u57df\u3001\u4e3b\u673a\u6216\u8005\u5b58\u50a8\u5f02\u5e38\u6389\u7535\u3001ORACLE bug<\/div>\n<div>&#8211;\u4f7f\u7528DBV\u3001RMAN\u3001EXP\/EXPDP\u5de5\u5177\u6216VALIDATE\u547d\u4ee4\u6821\u9a8c\u6570\u636e\u5e93\u574f\u5757\u6570\u91cf\uff0c\u4f18\u5148\u4f7f\u7528DBV\u5de5\u5177\uff0c\u4e0d\u4f1a\u9020\u6210\u5b95\u673a\uff0c\u5e76\u4e14\u80fd\u591f\u6821\u9a8c\u7d22\u5f15<\/div>\n<div>&#8211;\u7d22\u5f15\u51fa\u73b0\u574f\u5757\uff0c\u91cd\u5efa\u7d22\u5f15<\/div>\n<div>&#8211;\u8868\u51fa\u73b0\u574f\u5757\uff1a\u8bbe\u7f6e10231\u4e8b\u4ef6\u6216\u8005\u4f7f\u7528dbms_repair\u5305\uff0c\u5168\u8868\u626b\u63cf\u65f6\u8df3\u8fc7\u635f\u574f\u7684\u5757\uff0c\u6216\u8005ROWID RANGE SCAN<\/div>\n<div>&#8211;\u4fee\u590d\u5757\uff1abbed<\/div>\n<div>&#8211;system\/undo\u8868\u7a7a\u95f4\u51fa\u73b0\u574f\u5757<\/div>\n<div>&#8212;-\u68c0\u67e5\u8b66\u544a\uff08RAC\u68c0\u67e5\u6240\u6709\u8282\u70b9\uff09<\/div>\n<div>&#8212;-\u5907\u4efd\u6574\u4e2a\u6570\u636e\u5e93<\/div>\n<div>&#8212;-dbv\u5de5\u5177\u6821\u9a8csystem\/undo\u8868\u7a7a\u95f4\uff0c\u786e\u5b9a\u635f\u574f\u8303\u56f4\u548c\u7a0b\u5ea6<\/div>\n<div>&#8212;-\u5173\u95ed\u76d1\u542c\uff0c\u9632\u6b62\u6570\u636e\u5e93\u6210\u529f\u6253\u5f00\u540e\uff0c\u5e94\u7528\u4e0d\u4f1a\u7acb\u523b\u8fde\u63a5<\/div>\n<div>&#8212;-\u8fdb\u884c\u6545\u969c\u5904\u7406<\/div>\n<div>&#8212;-UNDO\u8868\u7a7a\u95f4\uff1a\u8bbe\u7f6e\u9690\u542b\u5b58\u6570_offline_rollback_segments \u8df3\u8fc7\u574f\u5757\u6253\u5f00\u6570\u636e\u5e93<\/div>\n<div><span style=\"color: #ff0000;\">&#8212;-\u5982\u679c\u7a7a\u95f4\u4e0d\u591f\u6216\u8005\u5907\u4efd\u65f6\u95f4\u8fc7\u957f\uff0c\u4f9d\u7136\u8981\u5907\u4efdSYSTEM\uff0cUNDO\u548cSYSAUX\uff0c\u63a7\u5236\u6587\u4ef6\uff0c\u6240\u6709\u5728\u7ebf\u65e5\u5fd7\u6587\u4ef6<\/span><\/div>\n<div>&#8211;\u6570\u636e\u5e93\u5728\u7ebf\u65e5\u5fd7\u6587\u4ef6\u635f\u574f<\/div>\n<div>&#8212;-INACTIVE\u72b6\u6001\u7684\uff0c\u542f\u52a8\u5b9e\u4f8b\u5230mount\uff0c\u7136\u540eclear logfile<\/div>\n<div>&#8212;-ACTIVE\/CURRENT\u8bbe\u7f6e\u9690\u542b\u53c2\u6570 _allow_resetlog_corruption=true\uff0c\u7136\u540e\u4e0d\u5b8c\u5168\u6062\u590d<\/div>\n<div>&#8212;-\u5f3a\u5236\u6253\u5f00\u6570\u636e\u5e93\u8fc7\u7a0b\u4e2d\uff0cORA-00600[2662]\uff0c\u4f7f\u752810015\u4e8b\u4ef6\u6216\u8005\u9690\u542b\u53c2\u6570 _minimum_giga_scn<\/div>\n<div>&#8211;\u63a7\u5236\u6587\u4ef6\u635f\u574f<\/div>\n<div>&#8212;-\u5b9e\u4f8bmount\u540e\uff0c\u5c06\u63a7\u5236\u6587\u4ef6\u5907\u4efd\u5230\u8ddf\u8e2a\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u4f7f\u7528noresetnologs\u6253\u5f00\u6570\u636e\u5e93<\/div>\n<div>&#8212;-\u4e0d\u80fd\u5230mount\u7528\u64cd\u4f5c\u7cfb\u7edf\u547d\u4ee4strings\u63d0\u53d6\u63a7\u5236\u6587\u4ef6\u5185\u5bb9\uff0c\u91cd\u5efa\u63a7\u5236\u6587\u4ef6\uff0cnoresetlogs\u6253\u5f00\u6570\u636e\u5e93<\/div>\n<div>&#8212;-strings\u65e0\u6cd5\u8bfb\u53d6\u63a7\u5236\u6587\u4ef6\uff0c\u67e5\u627e\u6587\u4ef6\u7cfb\u7edf\u4e2d\u6570\u636e\u6587\u4ef6\u548c\u65e5\u5fd7\u6587\u4ef6\u7b49\uff0c\u91cd\u5efa\u63a7\u5236\u6587\u4ef6\uff0cnoresetlogs\u6253\u5f00\u6570\u636e\u5e93<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u5e93\u5b89\u88c5\u7c7b\u6545\u969c &#8211;\u6570\u636e\u5e93\u5b89\u88c5\u65f6\u5bb9\u6613\u72af\u7684\u9519\u8bef\uff1a\u6ca1 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7zRbQ-a","_links":{"self":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":1,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}