{"id":88048,"date":"2024-10-18T06:09:20","date_gmt":"2024-10-17T22:09:20","guid":{"rendered":"https:\/\/server.hk\/cnblog\/88048\/"},"modified":"2024-10-18T06:09:21","modified_gmt":"2024-10-17T22:09:21","slug":"ora-23326-%e5%b0%8d%e8%b1%a1%e7%b5%84-string-string-%e5%b7%b2%e8%a2%ab%e9%9d%9c%e6%ad%a2-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/88048\/","title":{"rendered":"ORA-23326: \u5c0d\u8c61\u7d44 \u201cstring\u201d.\u201dstring\u201d \u5df2\u88ab\u975c\u6b62 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-23326-%e5%b0%8d%e8%b1%a1%e7%b5%84-string-string-%e5%b7%b2%e8%a2%ab%e9%9d%9c%e6%ad%a2-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0-SHPZdyyHhg\">ORA-23326: \u5c0d\u8c61\u7d44 \u201cstring\u201d.\u201dstring\u201d \u5df2\u88ab\u975c\u6b62 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-23326\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8868\u793a\u67d0\u500b\u5c0d\u8c61\u7d44\u5df2\u88ab\u975c\u6b62\uff0c\u9019\u53ef\u80fd\u6703\u5f71\u97ff\u5230\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e ORA-23326 \u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u4fee\u5fa9\u65b9\u6cd5\u3002<\/p>\n<h2 id=\"ora-23326-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-SHPZdyyHhg\">ORA-23326 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-23326 \u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u4f7f\u7528 Oracle \u7684\u7269\u4ef6\u95dc\u806f\u6280\u8853\u6642\uff0c\u5c24\u5176\u662f\u5728\u9032\u884c\u8cc7\u6599\u8907\u88fd\u6216\u540c\u6b65\u64cd\u4f5c\u6642\u3002\u7576\u4e00\u500b\u5c0d\u8c61\u7d44\u88ab\u975c\u6b62\u6642\uff0c\u9019\u610f\u5473\u8457\u8a72\u5c0d\u8c61\u7d44\u7684\u6240\u6709\u64cd\u4f5c\u90fd\u88ab\u66ab\u505c\uff0c\u7121\u6cd5\u9032\u884c\u4efb\u4f55\u6578\u64da\u7684\u8b80\u53d6\u6216\u5beb\u5165\u3002\u9019\u7a2e\u60c5\u6cc1\u53ef\u80fd\u7531\u4ee5\u4e0b\u5e7e\u500b\u539f\u56e0\u5f15\u8d77\uff1a<\/p>\n<ul>\n<li><strong>\u624b\u52d5\u975c\u6b62\uff1a<\/strong>\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u56e0\u70ba\u7dad\u8b77\u6216\u5176\u4ed6\u539f\u56e0\u624b\u52d5\u975c\u6b62\u4e86\u5c0d\u8c61\u7d44\u3002<\/li>\n<li><strong>\u7cfb\u7d71\u6545\u969c\uff1a<\/strong>\u7cfb\u7d71\u5d29\u6f70\u6216\u5176\u4ed6\u6545\u969c\u53ef\u80fd\u5c0e\u81f4\u5c0d\u8c61\u7d44\u81ea\u52d5\u975c\u6b62\u3002<\/li>\n<li><strong>\u8cc7\u6e90\u9650\u5236\uff1a<\/strong>\u7576\u7cfb\u7d71\u8cc7\u6e90\u4e0d\u8db3\u6642\uff0cOracle \u53ef\u80fd\u6703\u81ea\u52d5\u975c\u6b62\u67d0\u4e9b\u5c0d\u8c61\u7d44\u4ee5\u4fdd\u8b77\u6578\u64da\u5b8c\u6574\u6027\u3002<\/li>\n<\/ul>\n<h2 id=\"ora-23326-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%bd%b1%e9%9f%bf-SHPZdyyHhg\">ORA-23326 \u932f\u8aa4\u7684\u5f71\u97ff<\/h2>\n<p>\u7576 ORA-23326 \u932f\u8aa4\u767c\u751f\u6642\uff0c\u5c07\u6703\u5c0d\u6578\u64da\u5eab\u7684\u904b\u884c\u9020\u6210\u4ee5\u4e0b\u5f71\u97ff\uff1a<\/p>\n<ul>\n<li><strong>\u6578\u64da\u8a2a\u554f\u53d7\u9650\uff1a<\/strong>\u7528\u6236\u5c07\u7121\u6cd5\u8a2a\u554f\u88ab\u975c\u6b62\u7684\u5c0d\u8c61\u7d44\uff0c\u9019\u53ef\u80fd\u6703\u5c0e\u81f4\u61c9\u7528\u7a0b\u5e8f\u51fa\u73fe\u932f\u8aa4\u3002<\/li>\n<li><strong>\u696d\u52d9\u4e2d\u65b7\uff1a<\/strong>\u5982\u679c\u95dc\u9375\u696d\u52d9\u6d41\u7a0b\u4f9d\u8cf4\u65bc\u8a72\u5c0d\u8c61\u7d44\uff0c\u5247\u696d\u52d9\u904b\u4f5c\u53ef\u80fd\u6703\u53d7\u5230\u5f71\u97ff\u3002<\/li>\n<li><strong>\u6578\u64da\u4e00\u81f4\u6027\u554f\u984c\uff1a<\/strong>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u975c\u6b62\u7684\u5c0d\u8c61\u7d44\u53ef\u80fd\u6703\u5c0e\u81f4\u6578\u64da\u4e0d\u4e00\u81f4\uff0c\u5f71\u97ff\u6578\u64da\u7684\u5b8c\u6574\u6027\u3002<\/li>\n<\/ul>\n<h2 id=\"%e4%bf%ae%e5%be%a9-ora-23326-%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95-SHPZdyyHhg\">\u4fee\u5fa9 ORA-23326 \u932f\u8aa4\u7684\u65b9\u6cd5<\/h2>\n<p>\u4fee\u5fa9 ORA-23326 \u932f\u8aa4\u7684\u904e\u7a0b\u901a\u5e38\u6d89\u53ca\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e7%a2%ba%e8%aa%8d%e5%b0%8d%e8%b1%a1%e7%b5%84%e7%8b%80%e6%85%8b-SHPZdyyHhg\">1. \u78ba\u8a8d\u5c0d\u8c61\u7d44\u72c0\u614b<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u78ba\u8a8d\u8a72\u5c0d\u8c61\u7d44\u7684\u7576\u524d\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u5c0d\u8c61\u7d44\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT * FROM dba_repcat WHERE repname = 'your_replication_name';<\/code><\/pre>\n<h3 id=\"2-%e9%87%8d%e6%96%b0%e5%95%9f%e5%8b%95%e5%b0%8d%e8%b1%a1%e7%b5%84-SHPZdyyHhg\">2. \u91cd\u65b0\u555f\u52d5\u5c0d\u8c61\u7d44<\/h3>\n<p>\u5982\u679c\u78ba\u5b9a\u5c0d\u8c61\u7d44\u5df2\u88ab\u975c\u6b62\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u91cd\u65b0\u555f\u52d5\u5c0d\u8c61\u7d44\uff1a<\/p>\n<pre><code>EXEC DBMS_REPCAT.START_REPLICATION('your_replication_name');<\/code><\/pre>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e6%97%a5%e8%aa%8c%e6%96%87%e4%bb%b6-SHPZdyyHhg\">3. \u6aa2\u67e5\u65e5\u8a8c\u6587\u4ef6<\/h3>\n<p>\u6aa2\u67e5 Oracle \u7684\u65e5\u8a8c\u6587\u4ef6\u4ee5\u7372\u53d6\u66f4\u591a\u932f\u8aa4\u4fe1\u606f\uff0c\u9019\u6709\u52a9\u65bc\u78ba\u5b9a\u975c\u6b62\u7684\u5177\u9ad4\u539f\u56e0\u3002\u65e5\u8a8c\u6587\u4ef6\u901a\u5e38\u4f4d\u65bc Oracle \u5b89\u88dd\u76ee\u9304\u4e0b\u7684 <code>alert.log<\/code> \u6587\u4ef6\u4e2d\u3002<\/p>\n<h3 id=\"4-%e8%81%af%e7%b9%ab-oracle-%e6%94%af%e6%8c%81-SHPZdyyHhg\">4. \u806f\u7e6b Oracle \u652f\u6301<\/h3>\n<p>\u5982\u679c\u4ee5\u4e0a\u6b65\u9a5f\u7121\u6cd5\u89e3\u6c7a\u554f\u984c\uff0c\u5efa\u8b70\u806f\u7e6b Oracle \u7684\u6280\u8853\u652f\u6301\u4ee5\u7372\u53d6\u9032\u4e00\u6b65\u7684\u5e6b\u52a9\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-SHPZdyyHhg\">\u7d50\u8ad6<\/h2>\n<p>ORA-23326 \u932f\u8aa4\u662f\u4e00\u500b\u5e38\u898b\u7684 Oracle \u6578\u64da\u5eab\u554f\u984c\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\u6b63\u78ba\u7684\u6545\u969c\u6392\u9664\u6b65\u9a5f\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\uff0c\u78ba\u4fdd\u6578\u64da\u5eab\u7684\u7a69\u5b9a\u904b\u884c\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u548c\u6578\u64da\u5eab\u7ba1\u7406\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-23326 \u932f\u8aa4\uff0c\u5c0d\u8c61\u7d44 \u201cstring\u201d.\u201dstring\u201d \u5df2\u88ab\u975c\u6b62\u7684\u6545\u969c\u4fee\u5fa9\u8207\u9060\u7a0b\u8655\u7406\u6307\u5357\uff0c\u52a9\u60a8\u5feb\u901f\u6062\u5fa9\u7cfb\u7d71\u904b\u884c\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-88048","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/88048","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=88048"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/88048\/revisions"}],"predecessor-version":[{"id":88049,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/88048\/revisions\/88049"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=88048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=88048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=88048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}