{"id":85872,"date":"2024-10-17T16:23:15","date_gmt":"2024-10-17T08:23:15","guid":{"rendered":"https:\/\/server.hk\/cnblog\/85872\/"},"modified":"2024-10-17T16:23:16","modified_gmt":"2024-10-17T08:23:16","slug":"ora-13765-%e5%80%bc%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%b0%8d%e6%96%bc%e7%b5%90%e6%9e%9c%e9%99%90%e5%88%b6%e7%84%a1%e6%95%88%e3%80%82oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/85872\/","title":{"rendered":"ORA-13765: \u503c\u201c\u5b57\u7b26\u4e32\u201d\u5c0d\u65bc\u7d50\u679c\u9650\u5236\u7121\u6548\u3002ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-13765-%e5%80%bc%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%b0%8d%e6%96%bc%e7%b5%90%e6%9e%9c%e9%99%90%e5%88%b6%e7%84%a1%e6%95%88%e3%80%82oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae-fkoIrPubEv\">ORA-13765: \u503c\u201c\u5b57\u7b26\u4e32\u201d\u5c0d\u65bc\u7d50\u679c\u9650\u5236\u7121\u6548\u3002ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u6642\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\u662fORA-13765\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u7d50\u679c\u9650\u5236\u7684\u8a2d\u7f6e\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u4f7f\u7528\u81ea\u52d5\u5de5\u4f5c\u8ca0\u8f09\u7ba1\u7406\uff08AWM\uff09\u6216\u6027\u80fd\u57fa\u6e96\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-13765\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-13765%e7%9a%84%e5%8e%9f%e5%9b%a0-fkoIrPubEv\">ORA-13765\u7684\u539f\u56e0<\/h2>\n<p>ORA-13765\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u7576\u7528\u6236\u5617\u8a66\u8a2d\u7f6e\u4e00\u500b\u7121\u6548\u7684\u5b57\u7b26\u4e32\u4f5c\u70ba\u7d50\u679c\u9650\u5236\u6642\u3002\u9019\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li>\u7528\u6236\u5728\u57f7\u884cSQL\u67e5\u8a62\u6642\uff0c\u6307\u5b9a\u4e86\u4e00\u500b\u4e0d\u6b63\u78ba\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u3002<\/li>\n<li>\u5728\u4f7f\u7528DBMS_WORKLOAD_REPOSITORY\u5305\u6642\uff0c\u50b3\u905e\u4e86\u4e0d\u6b63\u78ba\u7684\u53c3\u6578\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7248\u672c\u4e0d\u652f\u6301\u6240\u4f7f\u7528\u7684\u7279\u5b9a\u5b57\u7b26\u4e32\u683c\u5f0f\u3002<\/li>\n<\/ul>\n<p>\u4f8b\u5982\uff0c\u7576\u7528\u6236\u5617\u8a66\u4f7f\u7528\u4ee5\u4e0bSQL\u8a9e\u53e5\u6642\uff0c\u53ef\u80fd\u6703\u9047\u5230\u6b64\u932f\u8aa4\uff1a<\/p>\n<pre><code>EXEC DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS('invalid_string');<\/code><\/pre>\n<p>\u5728\u9019\u500b\u4f8b\u5b50\u4e2d\uff0c&#8217;invalid_string&#8217;\u4e26\u4e0d\u662f\u4e00\u500b\u6709\u6548\u7684\u53c3\u6578\uff0c\u5c0e\u81f4\u4e86ORA-13765\u932f\u8aa4\u7684\u7522\u751f\u3002<\/p>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-fkoIrPubEv\">\u5f71\u97ff<\/h2>\n<p>ORA-13765\u932f\u8aa4\u6703\u5f71\u97ff\u6578\u64da\u5eab\u7684\u6027\u80fd\u76e3\u63a7\u548c\u7ba1\u7406\uff0c\u7279\u5225\u662f\u5728\u9700\u8981\u81ea\u52d5\u5316\u6027\u80fd\u5831\u544a\u548c\u6578\u64da\u6536\u96c6\u7684\u60c5\u6cc1\u4e0b\u3002\u9019\u53ef\u80fd\u5c0e\u81f4\u7121\u6cd5\u7372\u53d6\u6b63\u78ba\u7684\u6027\u80fd\u6578\u64da\uff0c\u9032\u800c\u5f71\u97ff\u5230\u7cfb\u7d71\u7684\u6574\u9ad4\u904b\u884c\u6548\u7387\u3002<\/p>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-fkoIrPubEv\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u8981\u4fee\u5fa9ORA-13765\u932f\u8aa4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%a0%bc%e5%bc%8f-fkoIrPubEv\">1. \u6aa2\u67e5\u5b57\u7b26\u4e32\u683c\u5f0f<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u50b3\u905e\u7d66DBMS_WORKLOAD_REPOSITORY\u6216\u5176\u4ed6\u76f8\u95dc\u5305\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u3002\u78ba\u4fdd\u4f7f\u7528\u7684\u5b57\u7b26\u4e32\u7b26\u5408Oracle\u7684\u8981\u6c42\u3002\u4f8b\u5982\uff0c\u5c0d\u65bcMODIFY_SNAPSHOT_SETTINGS\u51fd\u6578\uff0c\u61c9\u4f7f\u7528\u6b63\u78ba\u7684\u53c3\u6578\u540d\u7a31\u548c\u683c\u5f0f\u3002<\/p>\n<h3 id=\"2-%e6%9f%a5%e9%96%b1%e6%96%87%e6%aa%94-fkoIrPubEv\">2. \u67e5\u95b1\u6587\u6a94<\/h3>\n<p>\u67e5\u95b1Oracle\u5b98\u65b9\u6587\u6a94\uff0c\u4e86\u89e3\u6240\u4f7f\u7528\u7684\u6578\u64da\u5eab\u7248\u672c\u652f\u6301\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u548c\u53c3\u6578\u3002\u9019\u53ef\u4ee5\u5e6b\u52a9\u78ba\u4fdd\u6240\u4f7f\u7528\u7684\u53c3\u6578\u662f\u6709\u6548\u7684\u3002<\/p>\n<h3 id=\"3-%e6%9b%b4%e6%96%b0%e6%95%b8%e6%93%9a%e5%ba%ab-fkoIrPubEv\">3. \u66f4\u65b0\u6578\u64da\u5eab<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u7576\u524d\u7248\u672c\u4e0d\u652f\u6301\u6240\u9700\u7684\u529f\u80fd\uff0c\u8003\u616e\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u7684Oracle\u6578\u64da\u5eab\u3002\u65b0\u7248\u672c\u901a\u5e38\u6703\u4fee\u5fa9\u820a\u7248\u672c\u4e2d\u7684\u932f\u8aa4\u4e26\u589e\u52a0\u65b0\u529f\u80fd\u3002<\/p>\n<h3 id=\"4-%e6%b8%ac%e8%a9%a6%e5%92%8c%e9%a9%97%e8%ad%89-fkoIrPubEv\">4. \u6e2c\u8a66\u548c\u9a57\u8b49<\/h3>\n<p>\u5728\u9032\u884c\u4efb\u4f55\u66f4\u6539\u5f8c\uff0c\u52d9\u5fc5\u9032\u884c\u6e2c\u8a66\u4ee5\u78ba\u4fdd\u554f\u984c\u5df2\u89e3\u6c7a\u3002\u53ef\u4ee5\u4f7f\u7528\u7c21\u55ae\u7684SQL\u67e5\u8a62\u4f86\u9a57\u8b49\u7d50\u679c\u9650\u5236\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<pre><code>EXEC DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS('desired_string');<\/code><\/pre>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86-fkoIrPubEv\">\u9060\u7a0b\u8655\u7406<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u9060\u7a0b\u8655\u7406ORA-13765\u932f\u8aa4\u3002\u9019\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u65b9\u5f0f\u5be6\u73fe\uff1a<\/p>\n<ul>\n<li>\u4f7f\u7528\u9060\u7a0b\u684c\u9762\u5de5\u5177\u9023\u63a5\u5230\u6578\u64da\u5eab\u670d\u52d9\u5668\uff0c\u9032\u884c\u6545\u969c\u6392\u9664\u3002<\/li>\n<li>\u5229\u7528Oracle\u7684\u9060\u7a0b\u652f\u6301\u670d\u52d9\uff0c\u7372\u53d6\u5c08\u696d\u7684\u6280\u8853\u652f\u6301\u3002<\/li>\n<li>\u901a\u904eSSH\u6216\u5176\u4ed6\u5b89\u5168\u901a\u9053\uff0c\u9060\u7a0b\u57f7\u884c\u5fc5\u8981\u7684SQL\u67e5\u8a62\u548c\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-fkoIrPubEv\">\u7e3d\u7d50<\/h2>\n<p>ORA-13765\u932f\u8aa4\u662fOracle\u6578\u64da\u5eab\u4e2d\u5e38\u898b\u7684\u554f\u984c\u4e4b\u4e00\uff0c\u4e3b\u8981\u7531\u65bc\u7121\u6548\u7684\u5b57\u7b26\u4e32\u53c3\u6578\u5f15\u8d77\u3002\u901a\u904e\u6aa2\u67e5\u5b57\u7b26\u4e32\u683c\u5f0f\u3001\u67e5\u95b1\u6587\u6a94\u3001\u66f4\u65b0\u6578\u64da\u5eab\u4ee5\u53ca\u9032\u884c\u6e2c\u8a66\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5c0d\u65bc\u9700\u8981\u9060\u7a0b\u8655\u7406\u7684\u60c5\u6cc1\uff0c\u4f7f\u7528\u5408\u9069\u7684\u5de5\u5177\u548c\u670d\u52d9\u53ef\u4ee5\u5e6b\u52a9\u5feb\u901f\u6062\u5fa9\u7cfb\u7d71\u7684\u6b63\u5e38\u904b\u884c\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc<em><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/em>\u548c<em><a href=\"https:\/\/server.hk\">\u96f2\u4f3a\u670d\u5668<\/a><\/em>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-13765 \u932f\u8aa4\uff1a\u7121\u6548\u7684\u5b57\u7b26\u4e32\u503c\u5c0e\u81f4\u7d50\u679c\u9650\u5236\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-85872","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85872","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=85872"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85872\/revisions"}],"predecessor-version":[{"id":85873,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85872\/revisions\/85873"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=85872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=85872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=85872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}