{"id":84507,"date":"2024-10-17T08:06:16","date_gmt":"2024-10-17T00:06:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/84507\/"},"modified":"2024-10-17T08:06:16","modified_gmt":"2024-10-17T00:06:16","slug":"ora-09240-smpalo-%e5%88%86%e9%85%8d-pga-%e5%85%a7%e5%ad%98%e6%99%82%e5%87%ba%e9%8c%af-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\/84507\/","title":{"rendered":"ORA-09240: smpalo: \u5206\u914d PGA \u5167\u5b58\u6642\u51fa\u932f ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-09240-smpalo-%e5%88%86%e9%85%8d-pga-%e5%85%a7%e5%ad%98%e6%99%82%e5%87%ba%e9%8c%af-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-RvUCtQFVWQ\">ORA-09240: smpalo: \u5206\u914d PGA \u5167\u5b58\u6642\u51fa\u932f 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\u9047\u5230\u932f\u8aa4\u4ee3\u78bc <code>ORA-09240<\/code> \u662f\u4e00\u500b\u76f8\u5c0d\u5e38\u898b\u7684\u554f\u984c\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8868\u793a\u5728\u5206\u914d PGA\uff08\u7a0b\u5e8f\u5168\u5c40\u5340\uff09\u5167\u5b58\u6642\u51fa\u73fe\u4e86\u554f\u984c\u3002PGA \u662f Oracle \u6578\u64da\u5eab\u7528\u4f86\u5b58\u5132\u7528\u6236\u6703\u8a71\u7684\u6578\u64da\u548c\u63a7\u5236\u4fe1\u606f\u7684\u5167\u5b58\u5340\u57df\u3002\u7576\u7cfb\u7d71\u7121\u6cd5\u70ba\u65b0\u7684\u6703\u8a71\u6216\u9032\u7a0b\u5206\u914d\u8db3\u5920\u7684 PGA \u5167\u5b58\u6642\uff0c\u5c31\u6703\u89f8\u767c\u9019\u500b\u932f\u8aa4\u3002<\/p>\n<h2 id=\"ora-09240-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-RvUCtQFVWQ\">ORA-09240 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>\u9020\u6210 <code>ORA-09240<\/code> \u932f\u8aa4\u7684\u539f\u56e0\u6709\u591a\u7a2e\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u898b\u7684\u539f\u56e0\uff1a<\/p>\n<ul>\n<li><strong>PGA \u8a2d\u7f6e\u4e0d\u8db3\uff1a<\/strong>\u5982\u679c PGA \u7684\u5927\u5c0f\u8a2d\u7f6e\u904e\u5c0f\uff0c\u7576\u7cfb\u7d71\u9700\u8981\u66f4\u591a\u5167\u5b58\u6642\uff0c\u5c31\u6703\u51fa\u73fe\u5206\u914d\u5931\u6557\u7684\u60c5\u6cc1\u3002<\/li>\n<li><strong>\u5167\u5b58\u6cc4\u6f0f\uff1a<\/strong>\u67d0\u4e9b\u61c9\u7528\u7a0b\u5e8f\u53ef\u80fd\u6703\u5c0e\u81f4\u5167\u5b58\u6cc4\u6f0f\uff0c\u5f9e\u800c\u4f7f\u53ef\u7528\u7684 PGA \u5167\u5b58\u6e1b\u5c11\u3002<\/li>\n<li><strong>\u7cfb\u7d71\u8cc7\u6e90\u4e0d\u8db3\uff1a<\/strong>\u5982\u679c\u6574\u500b\u7cfb\u7d71\u7684\u5167\u5b58\u8cc7\u6e90\u4e0d\u8db3\uff0cOracle \u4e5f\u7121\u6cd5\u70ba PGA \u5206\u914d\u6240\u9700\u7684\u5167\u5b58\u3002<\/li>\n<li><strong>\u914d\u7f6e\u932f\u8aa4\uff1a<\/strong>\u4e0d\u6b63\u78ba\u7684 Oracle \u914d\u7f6e\u53ef\u80fd\u6703\u5c0e\u81f4\u5167\u5b58\u5206\u914d\u554f\u984c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e6%8e%92%e9%99%a4%e6%ad%a5%e9%a9%9f-RvUCtQFVWQ\">\u6545\u969c\u6392\u9664\u6b65\u9a5f<\/h2>\n<p>\u7576\u9047\u5230 <code>ORA-09240<\/code> \u932f\u8aa4\u6642\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5-pga-%e8%a8%ad%e7%bd%ae-RvUCtQFVWQ\">1. \u6aa2\u67e5 PGA \u8a2d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5 Oracle \u6578\u64da\u5eab\u7684 PGA \u8a2d\u7f6e\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u67e5\u770b\u7576\u524d\u7684 PGA \u8a2d\u7f6e\uff1a<\/p>\n<pre><code>SELECT name, value FROM v$parameter WHERE name LIKE 'pga_%';<\/code><\/pre>\n<p>\u78ba\u4fdd <code>pga_aggregate_target<\/code> \u548c <code>pga_aggregate_limit<\/code> \u7684\u503c\u8db3\u5920\u5927\uff0c\u4ee5\u652f\u6301\u7576\u524d\u7684\u5de5\u4f5c\u8ca0\u8f09\u3002<\/p>\n<h3 id=\"2-%e7%9b%a3%e6%8e%a7%e5%85%a7%e5%ad%98%e4%bd%bf%e7%94%a8%e6%83%85%e6%b3%81-RvUCtQFVWQ\">2. \u76e3\u63a7\u5167\u5b58\u4f7f\u7528\u60c5\u6cc1<\/h3>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u4f86\u76e3\u63a7 PGA \u7684\u4f7f\u7528\u60c5\u6cc1\uff1a<\/p>\n<pre><code>SELECT * FROM v$pgastat;<\/code><\/pre>\n<p>\u9019\u5c07\u986f\u793a PGA \u7684\u4f7f\u7528\u60c5\u6cc1\uff0c\u5305\u62ec\u5df2\u5206\u914d\u7684\u5167\u5b58\u548c\u53ef\u7528\u7684\u5167\u5b58\u3002\u6839\u64da\u9019\u4e9b\u6578\u64da\uff0c\u53ef\u4ee5\u5224\u65b7\u662f\u5426\u9700\u8981\u8abf\u6574 PGA \u7684\u5927\u5c0f\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e7%b3%bb%e7%b5%b1%e8%b3%87%e6%ba%90-RvUCtQFVWQ\">3. \u6aa2\u67e5\u7cfb\u7d71\u8cc7\u6e90<\/h3>\n<p>\u78ba\u4fdd\u7cfb\u7d71\u6709\u8db3\u5920\u7684\u7269\u7406\u5167\u5b58\u53ef\u7528\u3002\u53ef\u4ee5\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7d71\u7684\u5de5\u5177\uff08\u5982 <code>top<\/code> \u6216 <code>free<\/code> \u547d\u4ee4\uff09\u4f86\u6aa2\u67e5\u5167\u5b58\u4f7f\u7528\u60c5\u6cc1\u3002\u5982\u679c\u7cfb\u7d71\u5167\u5b58\u4e0d\u8db3\uff0c\u53ef\u80fd\u9700\u8981\u589e\u52a0\u7269\u7406\u5167\u5b58\u6216\u512a\u5316\u5176\u4ed6\u61c9\u7528\u7a0b\u5e8f\u7684\u5167\u5b58\u4f7f\u7528\u3002<\/p>\n<h3 id=\"4-%e6%aa%a2%e6%9f%a5%e6%87%89%e7%94%a8%e7%a8%8b%e5%ba%8f-RvUCtQFVWQ\">4. \u6aa2\u67e5\u61c9\u7528\u7a0b\u5e8f<\/h3>\n<p>\u5982\u679c\u67d0\u500b\u7279\u5b9a\u7684\u61c9\u7528\u7a0b\u5e8f\u5c0e\u81f4\u4e86\u5167\u5b58\u6cc4\u6f0f\uff0c\u5247\u9700\u8981\u5c0d\u8a72\u61c9\u7528\u7a0b\u5e8f\u9032\u884c\u8abf\u8a66\u548c\u512a\u5316\u3002\u53ef\u4ee5\u4f7f\u7528\u6027\u80fd\u76e3\u63a7\u5de5\u5177\u4f86\u8b58\u5225\u554f\u984c\u3002<\/p>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86%e5%bb%ba%e8%ad%b0-RvUCtQFVWQ\">\u9060\u7a0b\u8655\u7406\u5efa\u8b70<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u9060\u7a0b\u8655\u7406\u4f86\u89e3\u6c7a <code>ORA-09240<\/code> \u932f\u8aa4\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8b70\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\uff08\u5982 TeamViewer \u6216 AnyDesk\uff09\u4f86\u8a2a\u554f\u6578\u64da\u5eab\u670d\u52d9\u5668\uff0c\u9032\u884c\u6545\u969c\u6392\u9664\u3002<\/li>\n<li><strong>\u9060\u7a0b\u76e3\u63a7\u5de5\u5177\uff1a<\/strong>\u4f7f\u7528 Oracle \u63d0\u4f9b\u7684\u9060\u7a0b\u76e3\u63a7\u5de5\u5177\u4f86\u5be6\u6642\u76e3\u63a7\u6578\u64da\u5eab\u6027\u80fd\uff0c\u53ca\u6642\u767c\u73fe\u554f\u984c\u3002<\/li>\n<li><strong>\u806f\u7e6b\u5c08\u696d\u652f\u6301\uff1a<\/strong>\u5982\u679c\u554f\u984c\u7121\u6cd5\u89e3\u6c7a\uff0c\u5efa\u8b70\u806f\u7e6b\u5c08\u696d\u7684 Oracle \u652f\u6301\u5718\u968a\u9032\u884c\u6df1\u5165\u5206\u6790\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-RvUCtQFVWQ\">\u7e3d\u7d50<\/h2>\n<p>\u9047\u5230 <code>ORA-09240<\/code> \u932f\u8aa4\u6642\uff0c\u9996\u5148\u8981\u6aa2\u67e5 PGA \u7684\u8a2d\u7f6e\u548c\u7cfb\u7d71\u8cc7\u6e90\uff0c\u7136\u5f8c\u9032\u884c\u76f8\u61c9\u7684\u6545\u969c\u6392\u9664\u3002\u901a\u904e\u76e3\u63a7\u548c\u512a\u5316\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u9019\u4e00\u554f\u984c\uff0c\u78ba\u4fdd Oracle \u6578\u64da\u5eab\u7684\u7a69\u5b9a\u904b\u884c\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\uff0c\u4ee5\u7372\u5f97\u66f4\u597d\u7684\u6027\u80fd\u548c\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-09240 \u932f\u8aa4\uff0c\u4e86\u89e3 PGA \u5167\u5b58\u5206\u914d\u554f\u984c\u53ca\u5176\u6545\u969c\u4fee\u5fa9\u65b9\u6cd5\uff0c\u63d0\u4f9b\u6709\u6548\u7684\u9060\u7a0b\u8655\u7406\u6307\u5c0e\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-84507","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/84507","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=84507"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/84507\/revisions"}],"predecessor-version":[{"id":84508,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/84507\/revisions\/84508"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=84507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=84507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=84507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}