{"id":91024,"date":"2024-10-18T17:42:17","date_gmt":"2024-10-18T09:42:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/91024\/"},"modified":"2024-10-18T17:42:17","modified_gmt":"2024-10-18T09:42:17","slug":"ora-29390-some-resource-plans-are-not-part-of-any-top-plan-oracle%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/91024\/","title":{"rendered":"ORA-29390: some resource plans are not part of any top-plan ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-29390-%e4%b8%80%e4%ba%9b%e8%b3%87%e6%ba%90%e8%a8%88%e5%8a%83%e4%b8%8d%e5%b1%ac%e6%96%bc%e4%bb%bb%e4%bd%95%e9%a0%82%e5%b1%a4%e8%a8%88%e5%8a%83%e7%9a%84%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-jgaSiWsTwc\">ORA-29390: \u4e00\u4e9b\u8cc7\u6e90\u8a08\u5283\u4e0d\u5c6c\u65bc\u4efb\u4f55\u9802\u5c64\u8a08\u5283\u7684\u6545\u969c\u4fee\u5fa9<\/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-29390\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u8cc7\u6e90\u7ba1\u7406\u7684\u4e0a\u4e0b\u6587\u4e2d\uff0c\u7279\u5225\u662f\u7576\u8cc7\u6e90\u8a08\u5283\u672a\u6b63\u78ba\u914d\u7f6e\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-29390\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u4fee\u5fa9\u65b9\u6cd5\u3002<\/p>\n<h2 id=\"ora-29390%e7%9a%84%e5%8e%9f%e5%9b%a0-jgaSiWsTwc\">ORA-29390\u7684\u539f\u56e0<\/h2>\n<p>ORA-29390\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u67d0\u4e9b\u8cc7\u6e90\u8a08\u5283\u672a\u88ab\u6b63\u78ba\u5730\u7d0d\u5165\u4efb\u4f55\u9802\u5c64\u8a08\u5283\u3002Oracle\u7684\u8cc7\u6e90\u7ba1\u7406\u5668\u5141\u8a31\u7528\u6236\u5b9a\u7fa9\u8cc7\u6e90\u8a08\u5283\uff0c\u4ee5\u4fbf\u66f4\u6709\u6548\u5730\u5206\u914d\u7cfb\u7d71\u8cc7\u6e90\u3002\u7576\u4e00\u500b\u8cc7\u6e90\u8a08\u5283\u672a\u88ab\u6b63\u78ba\u5730\u95dc\u806f\u5230\u4e00\u500b\u9802\u5c64\u8a08\u5283\u6642\uff0c\u7cfb\u7d71\u5c07\u7121\u6cd5\u8b58\u5225\u8a72\u8a08\u5283\uff0c\u5f9e\u800c\u5f15\u767cORA-29390\u932f\u8aa4\u3002<\/p>\n<h3 id=\"%e5%b8%b8%e8%a6%8b%e6%83%85%e6%b3%81-jgaSiWsTwc\">\u5e38\u898b\u60c5\u6cc1<\/h3>\n<ul>\n<li>\u8cc7\u6e90\u8a08\u5283\u672a\u6b63\u78ba\u5275\u5efa\u6216\u914d\u7f6e\u3002<\/li>\n<li>\u8cc7\u6e90\u8a08\u5283\u88ab\u522a\u9664\u6216\u4fee\u6539\uff0c\u4f46\u672a\u66f4\u65b0\u9802\u5c64\u8a08\u5283\u3002<\/li>\n<li>\u7528\u6236\u5728\u57f7\u884c\u67d0\u4e9b\u64cd\u4f5c\u6642\uff0c\u672a\u6b63\u78ba\u6307\u5b9a\u8cc7\u6e90\u8a08\u5283\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-jgaSiWsTwc\">\u5f71\u97ff<\/h2>\n<p>\u7576ORA-29390\u932f\u8aa4\u767c\u751f\u6642\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u4ee5\u4e0b\u5f71\u97ff\uff1a<\/p>\n<ul>\n<li>\u6578\u64da\u5eab\u6027\u80fd\u4e0b\u964d\uff0c\u56e0\u70ba\u8cc7\u6e90\u7121\u6cd5\u6709\u6548\u5206\u914d\u3002<\/li>\n<li>\u7528\u6236\u7121\u6cd5\u57f7\u884c\u67d0\u4e9b\u67e5\u8a62\u6216\u64cd\u4f5c\uff0c\u5f71\u97ff\u696d\u52d9\u6d41\u7a0b\u3002<\/li>\n<li>\u589e\u52a0\u4e86\u6578\u64da\u5eab\u7ba1\u7406\u7684\u8907\u96dc\u6027\uff0c\u9700\u82b1\u8cbb\u66f4\u591a\u6642\u9593\u9032\u884c\u6545\u969c\u6392\u9664\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-jgaSiWsTwc\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u8981\u4fee\u5fa9ORA-29390\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%e8%b3%87%e6%ba%90%e8%a8%88%e5%8a%83-jgaSiWsTwc\">1. \u6aa2\u67e5\u8cc7\u6e90\u8a08\u5283<\/h3>\n<pre><code>SELECT * FROM DBA_RESOURCE_PLANS WHERE PLAN IS NOT NULL;<\/code><\/pre>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u6240\u6709\u8cc7\u6e90\u8a08\u5283\uff0c\u78ba\u4fdd\u5b83\u5011\u90fd\u6b63\u78ba\u914d\u7f6e\u4e26\u4e14\u5b58\u5728\u65bc\u6578\u64da\u5eab\u4e2d\u3002<\/p>\n<h3 id=\"2-%e6%aa%a2%e6%9f%a5%e9%a0%82%e5%b1%a4%e8%a8%88%e5%8a%83-jgaSiWsTwc\">2. \u6aa2\u67e5\u9802\u5c64\u8a08\u5283<\/h3>\n<pre><code>SELECT * FROM DBA_RESOURCE_PLAN_DIRECTIVES WHERE PLAN IS NOT NULL;<\/code><\/pre>\n<p>\u63a5\u4e0b\u4f86\uff0c\u6aa2\u67e5\u9802\u5c64\u8a08\u5283\uff0c\u78ba\u4fdd\u6240\u6709\u8cc7\u6e90\u8a08\u5283\u90fd\u5df2\u6b63\u78ba\u95dc\u806f\u5230\u9802\u5c64\u8a08\u5283\u4e2d\u3002<\/p>\n<h3 id=\"3-%e6%9b%b4%e6%96%b0%e6%88%96%e5%89%b5%e5%bb%ba%e8%b3%87%e6%ba%90%e8%a8%88%e5%8a%83-jgaSiWsTwc\">3. \u66f4\u65b0\u6216\u5275\u5efa\u8cc7\u6e90\u8a08\u5283<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u67d0\u4e9b\u8cc7\u6e90\u8a08\u5283\u672a\u88ab\u7d0d\u5165\u9802\u5c64\u8a08\u5283\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u8a9e\u53e5\u4f86\u66f4\u65b0\u6216\u5275\u5efa\u8cc7\u6e90\u8a08\u5283\uff1a<\/p>\n<pre><code>BEGIN\n    DBMS_RESOURCE_MANAGER.CREATE_PLAN(\n        plan =&gt; '\u65b0\u8a08\u5283\u540d\u7a31',\n        comment =&gt; '\u8a08\u5283\u63cf\u8ff0');\nEND;<\/code><\/pre>\n<h3 id=\"4-%e6%b8%ac%e8%a9%a6%e9%85%8d%e7%bd%ae-jgaSiWsTwc\">4. \u6e2c\u8a66\u914d\u7f6e<\/h3>\n<p>\u5728\u5b8c\u6210\u914d\u7f6e\u5f8c\uff0c\u57f7\u884c\u4e00\u4e9b\u6e2c\u8a66\u4ee5\u78ba\u4fdd\u554f\u984c\u5df2\u89e3\u6c7a\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8a9e\u53e5\u4f86\u555f\u7528\u8cc7\u6e90\u8a08\u5283\uff1a<\/p>\n<pre><code>ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = '\u65b0\u8a08\u5283\u540d\u7a31';<\/code><\/pre>\n<h2 id=\"%e7%b5%90%e8%ab%96-jgaSiWsTwc\">\u7d50\u8ad6<\/h2>\n<p>ORA-29390\u932f\u8aa4\u662fOracle\u6578\u64da\u5eab\u4e2d\u5e38\u898b\u7684\u554f\u984c\u4e4b\u4e00\uff0c\u4e3b\u8981\u7531\u65bc\u8cc7\u6e90\u8a08\u5283\u672a\u6b63\u78ba\u914d\u7f6e\u6240\u5f15\u8d77\u3002\u901a\u904e\u6aa2\u67e5\u8cc7\u6e90\u8a08\u5283\u548c\u9802\u5c64\u8a08\u5283\u7684\u95dc\u806f\u6027\uff0c\u4e26\u9032\u884c\u5fc5\u8981\u7684\u66f4\u65b0\u6216\u5275\u5efa\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5c0d\u65bc\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u4f86\u8aaa\uff0c\u4e86\u89e3\u5982\u4f55\u8655\u7406\u9019\u985e\u932f\u8aa4\u662f\u78ba\u4fdd\u6578\u64da\u5eab\u6027\u80fd\u548c\u7a69\u5b9a\u6027\u7684\u95dc\u9375\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u6709\u95dc\u6578\u64da\u5eab\u7ba1\u7406\u548c\u8cc7\u6e90\u914d\u7f6e\u7684\u8cc7\u8a0a\uff0c\u60a8\u53ef\u4ee5\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\uff0c\u7372\u53d6\u66f4\u591a\u6709\u95dc<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u548c<a href=\"https:\/\/server.hk\">\u96f2\u4f3a\u670d\u5668<\/a>\u7684\u8cc7\u6e90\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix ORA-29390: some resource plans are not part of any top-plan in Oracle. Learn troubleshooting steps for remote resolution of this error.<\/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-91024","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/91024","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=91024"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/91024\/revisions"}],"predecessor-version":[{"id":91025,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/91024\/revisions\/91025"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=91024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=91024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=91024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}