{"id":89800,"date":"2024-10-18T12:56:26","date_gmt":"2024-10-18T04:56:26","guid":{"rendered":"https:\/\/server.hk\/cnblog\/89800\/"},"modified":"2024-10-18T12:56:29","modified_gmt":"2024-10-18T04:56:29","slug":"ora-26791-%e7%84%a1%e6%b3%95%e6%8b%86%e5%88%86%e6%88%96%e5%90%88%e4%bd%b5%e5%82%b3%e6%92%ad%e5%ad%97%e7%ac%a6%e4%b8%b2-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/89800\/","title":{"rendered":"ORA-26791: \u7121\u6cd5\u62c6\u5206\u6216\u5408\u4f75\u50b3\u64ad\u201c\u5b57\u7b26\u4e32\u201d ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-26791-%e7%84%a1%e6%b3%95%e6%8b%86%e5%88%86%e6%88%96%e5%90%88%e4%bd%b5%e5%82%b3%e6%92%ad%e5%ad%97%e7%ac%a6%e4%b8%b2-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-QaKbkSXEry\">ORA-26791: \u7121\u6cd5\u62c6\u5206\u6216\u5408\u4f75\u50b3\u64ad\u201c\u5b57\u7b26\u4e32\u201d ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662f ORA-26791\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u8cc7\u6599\u5eab\u7684\u8907\u88fd\u548c\u50b3\u64ad\u529f\u80fd\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u4f7f\u7528 Oracle \u7684\u8cc7\u6599\u5eab\u8907\u88fd\u6280\u8853\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e ORA-26791 \u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-26791-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-QaKbkSXEry\">ORA-26791 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-26791 \u932f\u8aa4\u7684\u5177\u9ad4\u4fe1\u606f\u70ba\u300c\u7121\u6cd5\u62c6\u5206\u6216\u5408\u4f75\u50b3\u64ad\u201c\u5b57\u7b26\u4e32\u201d\u300d\uff0c\u9019\u901a\u5e38\u8868\u793a\u5728\u8cc7\u6599\u5eab\u7684\u8907\u88fd\u904e\u7a0b\u4e2d\uff0c\u67d0\u4e9b\u64cd\u4f5c\u7121\u6cd5\u6b63\u78ba\u57f7\u884c\u3002\u9019\u53ef\u80fd\u662f\u7531\u65bc\u4ee5\u4e0b\u5e7e\u500b\u539f\u56e0\uff1a<\/p>\n<ul>\n<li><strong>\u8cc7\u6599\u5eab\u914d\u7f6e\u554f\u984c\uff1a<\/strong>\u5982\u679c\u8cc7\u6599\u5eab\u7684\u8907\u88fd\u914d\u7f6e\u4e0d\u6b63\u78ba\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002\u4f8b\u5982\uff0c\u4e3b\u8cc7\u6599\u5eab\u548c\u5f9e\u8cc7\u6599\u5eab\u4e4b\u9593\u7684\u9023\u63a5\u4e0d\u7a69\u5b9a\u6216\u914d\u7f6e\u4e0d\u4e00\u81f4\u3002<\/li>\n<li><strong>\u8cc7\u6599\u4e0d\u4e00\u81f4\uff1a<\/strong>\u7576\u4e3b\u8cc7\u6599\u5eab\u4e2d\u7684\u8cc7\u6599\u8207\u5f9e\u8cc7\u6599\u5eab\u4e2d\u7684\u8cc7\u6599\u4e0d\u4e00\u81f4\u6642\uff0cOracle \u53ef\u80fd\u7121\u6cd5\u6b63\u78ba\u8655\u7406\u62c6\u5206\u6216\u5408\u4f75\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u7248\u672c\u4e0d\u517c\u5bb9\uff1a<\/strong>\u4e0d\u540c\u7248\u672c\u7684 Oracle \u6578\u64da\u5eab\u4e4b\u9593\u7684\u8907\u88fd\u53ef\u80fd\u6703\u51fa\u73fe\u554f\u984c\uff0c\u7279\u5225\u662f\u7576\u4f7f\u7528\u4e86\u4e0d\u517c\u5bb9\u7684\u529f\u80fd\u6216\u53c3\u6578\u6642\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e4%bf%ae%e5%be%a9-ora-26791-%e9%8c%af%e8%aa%a4-QaKbkSXEry\">\u5982\u4f55\u4fee\u5fa9 ORA-26791 \u932f\u8aa4<\/h2>\n<p>\u4fee\u5fa9 ORA-26791 \u932f\u8aa4\u9700\u8981\u9032\u884c\u4e00\u7cfb\u5217\u7684\u6aa2\u67e5\u548c\u64cd\u4f5c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8b70\u7684\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e8%b3%87%e6%96%99%e5%ba%ab%e9%85%8d%e7%bd%ae-QaKbkSXEry\">1. \u6aa2\u67e5\u8cc7\u6599\u5eab\u914d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u4e3b\u8cc7\u6599\u5eab\u548c\u5f9e\u8cc7\u6599\u5eab\u7684\u914d\u7f6e\u3002\u78ba\u4fdd\u6240\u6709\u7684\u53c3\u6578\u90fd\u6b63\u78ba\u8a2d\u7f6e\uff0c\u4e26\u4e14\u5169\u8005\u4e4b\u9593\u7684\u9023\u63a5\u662f\u7a69\u5b9a\u7684\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u8cc7\u6599\u5eab\u7684\u8907\u88fd\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT * FROM dba_repcat;\nSELECT * FROM dba_repcatlog;<\/code><\/pre>\n<h3 id=\"2-%e7%a2%ba%e8%aa%8d%e8%b3%87%e6%96%99%e4%b8%80%e8%87%b4%e6%80%a7-QaKbkSXEry\">2. \u78ba\u8a8d\u8cc7\u6599\u4e00\u81f4\u6027<\/h3>\n<p>\u63a5\u4e0b\u4f86\uff0c\u6aa2\u67e5\u4e3b\u8cc7\u6599\u5eab\u548c\u5f9e\u8cc7\u6599\u5eab\u4e4b\u9593\u7684\u8cc7\u6599\u4e00\u81f4\u6027\u3002\u53ef\u4ee5\u4f7f\u7528 Oracle \u63d0\u4f9b\u7684\u5de5\u5177\u4f86\u9032\u884c\u8cc7\u6599\u4e00\u81f4\u6027\u6aa2\u67e5\uff0c\u4f8b\u5982\u4f7f\u7528 <code>DBMS_COMPARISON<\/code> \u5305\u4f86\u6bd4\u8f03\u5169\u500b\u8cc7\u6599\u96c6\u3002<\/p>\n<h3 id=\"3-%e6%9b%b4%e6%96%b0-oracle-%e7%89%88%e6%9c%ac-QaKbkSXEry\">3. \u66f4\u65b0 Oracle \u7248\u672c<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u7248\u672c\u4e0d\u517c\u5bb9\u7684\u554f\u984c\uff0c\u5efa\u8b70\u66f4\u65b0 Oracle \u6578\u64da\u5eab\u5230\u6700\u65b0\u7248\u672c\u3002\u9019\u4e0d\u50c5\u53ef\u4ee5\u89e3\u6c7a ORA-26791 \u932f\u8aa4\uff0c\u9084\u80fd\u63d0\u9ad8\u6574\u9ad4\u6027\u80fd\u548c\u5b89\u5168\u6027\u3002<\/p>\n<h3 id=\"4-%e9%87%8d%e6%96%b0%e5%95%9f%e5%8b%95%e8%a4%87%e8%a3%bd%e9%81%8e%e7%a8%8b-QaKbkSXEry\">4. \u91cd\u65b0\u555f\u52d5\u8907\u88fd\u904e\u7a0b<\/h3>\n<p>\u5728\u5b8c\u6210\u4e0a\u8ff0\u6aa2\u67e5\u548c\u4fee\u5fa9\u5f8c\uff0c\u53ef\u4ee5\u8003\u616e\u91cd\u65b0\u555f\u52d5\u8907\u88fd\u904e\u7a0b\u3002\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u91cd\u65b0\u555f\u52d5\u8907\u88fd\uff1a<\/p>\n<pre><code>EXEC DBMS_REPCAT.START_REPLICATION('your_replication_name');<\/code><\/pre>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86-ora-26791-%e9%8c%af%e8%aa%a4-QaKbkSXEry\">\u9060\u7a0b\u8655\u7406 ORA-26791 \u932f\u8aa4<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u9060\u7a0b\u8655\u7406 ORA-26791 \u932f\u8aa4\u3002\u9019\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u65b9\u5f0f\u5be6\u73fe\uff1a<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u9060\u7a0b\u684c\u9762\u5de5\u5177\uff1a<\/strong>\u53ef\u4ee5\u4f7f\u7528\u9060\u7a0b\u684c\u9762\u5de5\u5177\u9023\u63a5\u5230\u8cc7\u6599\u5eab\u4f3a\u670d\u5668\uff0c\u9032\u884c\u5fc5\u8981\u7684\u6aa2\u67e5\u548c\u4fee\u5fa9\u3002<\/li>\n<li><strong>\u5229\u7528 Oracle \u652f\u6301\u670d\u52d9\uff1a<\/strong>\u5982\u679c\u554f\u984c\u7121\u6cd5\u81ea\u884c\u89e3\u6c7a\uff0c\u53ef\u4ee5\u8003\u616e\u806f\u7e6b Oracle \u7684\u6280\u8853\u652f\u6301\uff0c\u7372\u53d6\u5c08\u696d\u7684\u5e6b\u52a9\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-QaKbkSXEry\">\u7e3d\u7d50<\/h2>\n<p>ORA-26791 \u932f\u8aa4\u5728 Oracle \u6578\u64da\u5eab\u7684\u8907\u88fd\u904e\u7a0b\u4e2d\u4e26\u4e0d\u7f55\u898b\uff0c\u4e86\u89e3\u5176\u539f\u56e0\u548c\u4fee\u5fa9\u65b9\u6cd5\u5c0d\u65bc\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u4f86\u8aaa\u81f3\u95dc\u91cd\u8981\u3002\u901a\u904e\u6aa2\u67e5\u8cc7\u6599\u5eab\u914d\u7f6e\u3001\u78ba\u8a8d\u8cc7\u6599\u4e00\u81f4\u6027\u3001\u66f4\u65b0\u7248\u672c\u4ee5\u53ca\u91cd\u65b0\u555f\u52d5\u8907\u88fd\u904e\u7a0b\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5982\u679c\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u652f\u6301\u6216\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2f VPS<\/a> \u670d\u52d9\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7ba1\u7406\u60a8\u7684\u6578\u64da\u5eab\u74b0\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-26791 \u932f\u8aa4\uff0c\u7121\u6cd5\u62c6\u5206\u6216\u5408\u4f75\u50b3\u64ad\u5b57\u7b26\u4e32\u7684\u554f\u984c\uff0c\u63d0\u4f9b\u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u6307\u5357\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-89800","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89800","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=89800"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89800\/revisions"}],"predecessor-version":[{"id":89801,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89800\/revisions\/89801"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=89800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=89800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=89800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}