{"id":87176,"date":"2024-10-17T22:52:17","date_gmt":"2024-10-17T14:52:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/87176\/"},"modified":"2024-10-17T22:52:18","modified_gmt":"2024-10-17T14:52:18","slug":"ora-16419-%e5%bf%ab%e7%85%a7%e5%be%85%e6%a9%9f%e5%bf%85%e9%a0%88%e8%bd%89%e6%8f%9b%e7%82%ba%e7%89%a9%e7%90%86%e5%be%85%e6%a9%9f%e6%95%b8%e6%93%9a%e5%ba%ab%e3%80%82oracle-%e5%a0%b1%e9%8c%af-%e6%95%85","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/87176\/","title":{"rendered":"ORA-16419: \u5feb\u7167\u5f85\u6a5f\u5fc5\u9808\u8f49\u63db\u70ba\u7269\u7406\u5f85\u6a5f\u6578\u64da\u5eab\u3002ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-16419-%e5%bf%ab%e7%85%a7%e5%be%85%e6%a9%9f%e5%bf%85%e9%a0%88%e8%bd%89%e6%8f%9b%e7%82%ba%e7%89%a9%e7%90%86%e5%be%85%e6%a9%9f%e6%95%b8%e6%93%9a%e5%ba%ab-yCicKsnkuM\">ORA-16419: \u5feb\u7167\u5f85\u6a5f\u5fc5\u9808\u8f49\u63db\u70ba\u7269\u7406\u5f85\u6a5f\u6578\u64da\u5eab<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u5c31\u662fORA-16419\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u5feb\u7167\u5f85\u6a5f\uff08Snapshot Standby\uff09\u548c\u7269\u7406\u5f85\u6a5f\uff08Physical Standby\uff09\u4e4b\u9593\u7684\u8f49\u63db\u904e\u7a0b\u4e2d\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-16419\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u3002<\/p>\n<h2 id=\"ora-16419%e7%9a%84%e5%8e%9f%e5%9b%a0-yCicKsnkuM\">ORA-16419\u7684\u539f\u56e0<\/h2>\n<p>ORA-16419\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u7576\u524d\u7684\u5feb\u7167\u5f85\u6a5f\u6578\u64da\u5eab\u7121\u6cd5\u76f4\u63a5\u8f49\u63db\u70ba\u7269\u7406\u5f85\u6a5f\u6578\u64da\u5eab\u3002\u5feb\u7167\u5f85\u6a5f\u662f\u4e00\u7a2e\u7279\u6b8a\u7684\u5f85\u6a5f\u6a21\u5f0f\uff0c\u5141\u8a31\u7528\u6236\u5728\u4e0d\u5f71\u97ff\u4e3b\u6578\u64da\u5eab\u7684\u60c5\u6cc1\u4e0b\u9032\u884c\u67e5\u8a62\u548c\u5831\u544a\u3002\u7136\u800c\uff0c\u7576\u9700\u8981\u5c07\u5feb\u7167\u5f85\u6a5f\u8f49\u63db\u70ba\u7269\u7406\u5f85\u6a5f\u6642\uff0cOracle\u6578\u64da\u5eab\u6703\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u72c0\u614b\uff0c\u4e26\u767c\u73fe\u5feb\u7167\u5f85\u6a5f\u7684\u6578\u64da\u4e0d\u7b26\u5408\u7269\u7406\u5f85\u6a5f\u7684\u8981\u6c42\uff0c\u5f9e\u800c\u5f15\u767c\u6b64\u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-yCicKsnkuM\">\u5f71\u97ff<\/h2>\n<p>\u7576\u51fa\u73feORA-16419\u932f\u8aa4\u6642\uff0c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u5c07\u7121\u6cd5\u9032\u884c\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u548c\u7dad\u8b77\u3002\u9019\u53ef\u80fd\u6703\u5c0e\u81f4\u6578\u64da\u5eab\u7684\u53ef\u7528\u6027\u964d\u4f4e\uff0c\u5f71\u97ff\u696d\u52d9\u904b\u4f5c\u3002\u6b64\u5916\uff0c\u9019\u500b\u932f\u8aa4\u4e5f\u53ef\u80fd\u6703\u5f71\u97ff\u5230\u6578\u64da\u7684\u5b8c\u6574\u6027\u548c\u4e00\u81f4\u6027\uff0c\u7279\u5225\u662f\u5728\u9032\u884c\u6578\u64da\u6062\u5fa9\u6216\u6545\u969c\u8f49\u79fb\u7684\u904e\u7a0b\u4e2d\u3002<\/p>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-yCicKsnkuM\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u8981\u4fee\u5fa9ORA-16419\u932f\u8aa4\uff0c\u7ba1\u7406\u54e1\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li><strong>\u6aa2\u67e5\u6578\u64da\u5eab\u72c0\u614b\uff1a<\/strong>\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u6aa2\u67e5\u7576\u524d\u6578\u64da\u5eab\u7684\u72c0\u614b\uff1a<\/li>\n<pre><code>SELECT DATABASE_ROLE, OPEN_MODE FROM V$DATABASE;<\/code><\/pre>\n<li><strong>\u8f49\u63db\u5feb\u7167\u5f85\u6a5f\u70ba\u7269\u7406\u5f85\u6a5f\uff1a<\/strong>\u5982\u679c\u78ba\u5b9a\u9700\u8981\u8f49\u63db\uff0c\u9996\u5148\u9700\u8981\u5c07\u5feb\u7167\u5f85\u6a5f\u6578\u64da\u5eab\u6062\u5fa9\u5230\u6700\u65b0\u7684\u4e3b\u6578\u64da\u5eab\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<pre><code>ALTER DATABASE CONVERT TO PHYSICAL STANDBY;<\/code><\/pre>\n<li><strong>\u555f\u7528\u65e5\u8a8c\u61c9\u7528\uff1a<\/strong>\u5728\u8f49\u63db\u5b8c\u6210\u5f8c\uff0c\u555f\u7528\u65e5\u8a8c\u61c9\u7528\u4ee5\u78ba\u4fdd\u6578\u64da\u7684\u540c\u6b65\uff1a<\/li>\n<pre><code>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86-yCicKsnkuM\">\u9060\u7a0b\u8655\u7406<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u7121\u6cd5\u76f4\u63a5\u8a2a\u554f\u6578\u64da\u5eab\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002\u6b64\u6642\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u9060\u7a0b\u8655\u7406\u5de5\u5177\u4f86\u89e3\u6c7a\u554f\u984c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u9060\u7a0b\u8655\u7406\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li><strong>\u4f7f\u7528Oracle Enterprise Manager\uff1a<\/strong>\u9019\u662f\u4e00\u500b\u5f37\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e6b\u52a9\u7ba1\u7406\u54e1\u9060\u7a0b\u76e3\u63a7\u548c\u7ba1\u7406Oracle\u6578\u64da\u5eab\u3002<\/li>\n<li><strong>SSH\u9060\u7a0b\u767b\u9304\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u904b\u884c\u5728Linux\u6216Unix\u7cfb\u7d71\u4e0a\uff0c\u7ba1\u7406\u54e1\u53ef\u4ee5\u901a\u904eSSH\u9060\u7a0b\u767b\u9304\u5230\u670d\u52d9\u5668\uff0c\u57f7\u884c\u5fc5\u8981\u7684\u547d\u4ee4\u3002<\/li>\n<li><strong>\u4f7f\u7528Oracle Data Guard\uff1a<\/strong>\u9019\u662f\u4e00\u7a2e\u9ad8\u53ef\u7528\u6027\u89e3\u6c7a\u65b9\u6848\uff0c\u53ef\u4ee5\u5e6b\u52a9\u7ba1\u7406\u54e1\u5728\u4e0d\u540c\u5730\u9ede\u4e4b\u9593\u9032\u884c\u6578\u64da\u5eab\u7684\u9060\u7a0b\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-yCicKsnkuM\">\u7e3d\u7d50<\/h2>\n<p>ORA-16419\u932f\u8aa4\u662fOracle\u6578\u64da\u5eab\u7ba1\u7406\u4e2d\u5e38\u898b\u7684\u554f\u984c\u4e4b\u4e00\uff0c\u4e86\u89e3\u5176\u539f\u56e0\u548c\u89e3\u6c7a\u65b9\u6cd5\u5c0d\u65bc\u7dad\u8b77\u6578\u64da\u5eab\u7684\u7a69\u5b9a\u6027\u81f3\u95dc\u91cd\u8981\u3002\u901a\u904e\u6b63\u78ba\u7684\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f\u548c\u6709\u6548\u7684\u9060\u7a0b\u8655\u7406\u65b9\u6cd5\uff0c\u7ba1\u7406\u54e1\u53ef\u4ee5\u8fc5\u901f\u89e3\u6c7a\u6b64\u554f\u984c\uff0c\u78ba\u4fdd\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u591a\u6709\u95dc<em><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/em>\u548c<em><a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a><\/em>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u8cc7\u6e90\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-16419 \u932f\u8aa4\uff0c\u4e86\u89e3\u5feb\u7167\u5f85\u6a5f\u8f49\u63db\u70ba\u7269\u7406\u5f85\u6a5f\u6578\u64da\u5eab\u7684\u6b65\u9a5f\uff0c\u63d0\u5347 Oracle \u6545\u969c\u4fee\u5fa9\u8207\u9060\u7a0b\u8655\u7406\u6548\u7387\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-87176","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/87176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=87176"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/87176\/revisions"}],"predecessor-version":[{"id":87177,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/87176\/revisions\/87177"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=87176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=87176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=87176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}