{"id":94662,"date":"2024-10-19T20:07:16","date_gmt":"2024-10-19T12:07:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/94662\/"},"modified":"2024-10-19T20:07:17","modified_gmt":"2024-10-19T12:07:17","slug":"oracle11%e7%94%9f%e6%88%90awr%e7%9a%84%e5%af%a6%e9%9a%9b%e7%9b%b8%e9%97%9c%e5%a0%b1%e5%91%8a%e7%b0%a1%e4%bb%8b","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/94662\/","title":{"rendered":"Oracle11\u751f\u6210AWR\u7684\u5be6\u969b\u76f8\u95dc\u5831\u544a\u7c21\u4ecb"},"content":{"rendered":"<h1 id=\"oracle11%e7%94%9f%e6%88%90awr%e7%9a%84%e5%af%a6%e9%9a%9b%e7%9b%b8%e9%97%9c%e5%a0%b1%e5%91%8a%e7%b0%a1%e4%bb%8b-gclCWHfAVd\">Oracle11\u751f\u6210AWR\u7684\u5be6\u969b\u76f8\u95dc\u5831\u544a\u7c21\u4ecb<\/h1>\n<p>\u5728\u6578\u64da\u5eab\u7ba1\u7406\u4e2d\uff0c\u6027\u80fd\u76e3\u63a7\u662f\u78ba\u4fdd\u7cfb\u7d71\u7a69\u5b9a\u904b\u884c\u7684\u95dc\u9375\u3002Oracle\u6578\u64da\u5eab\u63d0\u4f9b\u4e86\u4e00\u500b\u5f37\u5927\u7684\u5de5\u5177\u2014\u2014\u81ea\u52d5\u5de5\u4f5c\u8ca0\u8f09\u5831\u544a\uff08AWR\uff09\uff0c\u7528\u65bc\u6536\u96c6\u548c\u5206\u6790\u6578\u64da\u5eab\u6027\u80fd\u6578\u64da\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u751f\u6210AWR\u5831\u544a\u53ca\u5176\u5be6\u969b\u61c9\u7528\u3002<\/p>\n<h2 id=\"awr%e5%a0%b1%e5%91%8a%e6%a6%82%e8%bf%b0-gclCWHfAVd\">AWR\u5831\u544a\u6982\u8ff0<\/h2>\n<p>AWR\u5831\u544a\u662fOracle\u6578\u64da\u5eab\u7684\u4e00\u90e8\u5206\uff0c\u65e8\u5728\u5e6b\u52a9DBA\uff08\u6578\u64da\u5eab\u7ba1\u7406\u54e1\uff09\u76e3\u63a7\u548c\u8a3a\u65b7\u6578\u64da\u5eab\u6027\u80fd\u554f\u984c\u3002AWR\u6703\u5b9a\u671f\u6536\u96c6\u6027\u80fd\u6578\u64da\uff0c\u4e26\u751f\u6210\u5831\u544a\uff0c\u9019\u4e9b\u5831\u544a\u5305\u542b\u4e86\u7cfb\u7d71\u7684\u5404\u7a2e\u6027\u80fd\u6307\u6a19\uff0c\u5982CPU\u4f7f\u7528\u7387\u3001\u5167\u5b58\u4f7f\u7528\u60c5\u6cc1\u3001I\/O\u6027\u80fd\u7b49\u3002<\/p>\n<h2 id=\"%e7%94%9f%e6%88%90awr%e5%a0%b1%e5%91%8a%e7%9a%84%e6%ad%a5%e9%a9%9f-gclCWHfAVd\">\u751f\u6210AWR\u5831\u544a\u7684\u6b65\u9a5f<\/h2>\n<p>\u751f\u6210AWR\u5831\u544a\u7684\u904e\u7a0b\u76f8\u5c0d\u7c21\u55ae\uff0c\u4ee5\u4e0b\u662f\u5177\u9ad4\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li><strong>\u9023\u63a5\u5230\u6578\u64da\u5eab\uff1a<\/strong>\u4f7f\u7528SQL*Plus\u6216\u5176\u4ed6\u6578\u64da\u5eab\u7ba1\u7406\u5de5\u5177\u9023\u63a5\u5230Oracle\u6578\u64da\u5eab\u3002<\/li>\n<li><strong>\u57f7\u884cAWR\u5831\u544a\u751f\u6210\u547d\u4ee4\uff1a<\/strong>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u547d\u4ee4\u751f\u6210AWR\u5831\u544a\uff1a<\/li>\n<\/ol>\n<pre><code>SQL&gt; @?\/rdbms\/admin\/awrrpt.sql<\/code><\/pre>\n<p>\u9019\u500b\u547d\u4ee4\u6703\u63d0\u793a\u7528\u6236\u9078\u64c7\u5831\u544a\u7684\u985e\u578b\uff08\u6587\u672c\u6216HTML\uff09\uff0c\u4ee5\u53ca\u5831\u544a\u7684\u6642\u9593\u7bc4\u570d\u3002<\/p>\n<h3 id=\"%e9%81%b8%e6%93%87%e5%a0%b1%e5%91%8a%e9%a1%9e%e5%9e%8b-gclCWHfAVd\">\u9078\u64c7\u5831\u544a\u985e\u578b<\/h3>\n<p>\u5728\u751f\u6210\u5831\u544a\u6642\uff0c\u7528\u6236\u53ef\u4ee5\u9078\u64c7\u4ee5\u4e0b\u5169\u7a2e\u683c\u5f0f\uff1a<\/p>\n<ul>\n<li><strong>\u6587\u672c\u683c\u5f0f\uff1a<\/strong>\u9069\u5408\u5feb\u901f\u67e5\u770b\u548c\u6253\u5370\u3002<\/li>\n<li><strong>HTML\u683c\u5f0f\uff1a<\/strong>\u9069\u5408\u5728\u700f\u89bd\u5668\u4e2d\u67e5\u770b\uff0c\u4e26\u4e14\u66f4\u6613\u65bc\u7406\u89e3\u3002<\/li>\n<\/ul>\n<h3 id=\"%e9%81%b8%e6%93%87%e6%99%82%e9%96%93%e7%af%84%e5%9c%8d-gclCWHfAVd\">\u9078\u64c7\u6642\u9593\u7bc4\u570d<\/h3>\n<p>\u7528\u6236\u9700\u8981\u6307\u5b9a\u5831\u544a\u7684\u958b\u59cb\u548c\u7d50\u675f\u5feb\u7167\u3002\u5feb\u7167\u662fAWR\u5728\u7279\u5b9a\u6642\u9593\u9ede\u6536\u96c6\u7684\u6027\u80fd\u6578\u64da\u3002\u7528\u6236\u53ef\u4ee5\u9078\u64c7\u6700\u8fd1\u7684\u5feb\u7167\uff0c\u4e5f\u53ef\u4ee5\u9078\u64c7\u904e\u53bb\u7684\u5feb\u7167\u9032\u884c\u6bd4\u8f03\u3002<\/p>\n<h2 id=\"awr%e5%a0%b1%e5%91%8a%e7%9a%84%e4%b8%bb%e8%a6%81%e5%85%a7%e5%ae%b9-gclCWHfAVd\">AWR\u5831\u544a\u7684\u4e3b\u8981\u5167\u5bb9<\/h2>\n<p>AWR\u5831\u544a\u5305\u542b\u591a\u500b\u90e8\u5206\uff0c\u6bcf\u500b\u90e8\u5206\u90fd\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u6027\u80fd\u6307\u6a19\uff1a<\/p>\n<ul>\n<li><strong>\u7cfb\u7d71\u6982\u89bd\uff1a<\/strong>\u986f\u793a\u6574\u9ad4\u6027\u80fd\u6307\u6a19\uff0c\u5982CPU\u4f7f\u7528\u7387\u3001\u5167\u5b58\u4f7f\u7528\u60c5\u6cc1\u7b49\u3002<\/li>\n<li><strong>\u8ca0\u8f09\u6307\u6a19\uff1a<\/strong>\u63d0\u4f9b\u4e86\u6578\u64da\u5eab\u7684\u8ca0\u8f09\u60c5\u6cc1\uff0c\u5305\u62ec\u6703\u8a71\u6578\u3001\u4e8b\u52d9\u6578\u7b49\u3002<\/li>\n<li><strong>SQL\u6027\u80fd\uff1a<\/strong>\u5217\u51fa\u57f7\u884c\u6642\u9593\u6700\u9577\u7684SQL\u67e5\u8a62\uff0c\u5e6b\u52a9DBA\u8b58\u5225\u6027\u80fd\u74f6\u9838\u3002<\/li>\n<li><strong>\u7b49\u5f85\u4e8b\u4ef6\uff1a<\/strong>\u986f\u793a\u6578\u64da\u5eab\u5728\u57f7\u884c\u904e\u7a0b\u4e2d\u9047\u5230\u7684\u5404\u7a2e\u7b49\u5f85\u4e8b\u4ef6\uff0c\u5e6b\u52a9\u5206\u6790\u6027\u80fd\u554f\u984c\u3002<\/li>\n<\/ul>\n<h2 id=\"awr%e5%a0%b1%e5%91%8a%e7%9a%84%e5%af%a6%e9%9a%9b%e6%87%89%e7%94%a8-gclCWHfAVd\">AWR\u5831\u544a\u7684\u5be6\u969b\u61c9\u7528<\/h2>\n<p>AWR\u5831\u544a\u5728\u65e5\u5e38\u6578\u64da\u5eab\u7ba1\u7406\u4e2d\u5177\u6709\u91cd\u8981\u610f\u7fa9\u3002DBA\u53ef\u4ee5\u901a\u904e\u5206\u6790AWR\u5831\u544a\u4f86\uff1a<\/p>\n<ul>\n<li>\u8b58\u5225\u6027\u80fd\u74f6\u9838\uff1a\u901a\u904e\u67e5\u770bSQL\u6027\u80fd\u548c\u7b49\u5f85\u4e8b\u4ef6\uff0cDBA\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u6027\u80fd\u554f\u984c\u3002<\/li>\n<li>\u9032\u884c\u5bb9\u91cf\u898f\u5283\uff1a\u6839\u64da\u6b77\u53f2\u6027\u80fd\u6578\u64da\uff0cDBA\u53ef\u4ee5\u9810\u6e2c\u672a\u4f86\u7684\u8cc7\u6e90\u9700\u6c42\u3002<\/li>\n<li>\u512a\u5316\u6578\u64da\u5eab\u914d\u7f6e\uff1a\u6839\u64da\u5831\u544a\u4e2d\u7684\u5efa\u8b70\uff0cDBA\u53ef\u4ee5\u8abf\u6574\u6578\u64da\u5eab\u53c3\u6578\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b5%90%e8%ab%96-gclCWHfAVd\">\u7d50\u8ad6<\/h2>\n<p>AWR\u5831\u544a\u662fOracle\u6578\u64da\u5eab\u7ba1\u7406\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\uff0c\u80fd\u5920\u5e6b\u52a9DBA\u6709\u6548\u5730\u76e3\u63a7\u548c\u512a\u5316\u6578\u64da\u5eab\u6027\u80fd\u3002\u901a\u904e\u5b9a\u671f\u751f\u6210\u548c\u5206\u6790AWR\u5831\u544a\uff0cDBA\u53ef\u4ee5\u78ba\u4fdd\u6578\u64da\u5eab\u7684\u7a69\u5b9a\u6027\u548c\u9ad8\u6548\u6027\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc<code><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/code>\u548c<code><a href=\"https:\/\/server.hk\">\u4e91\u670d\u52a1\u5668<\/a><\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3Oracle 11\u751f\u6210AWR\u5831\u544a\u7684\u5be6\u969b\u61c9\u7528\uff0c\u63d0\u5347\u6578\u64da\u5eab\u6027\u80fd\u5206\u6790\u8207\u512a\u5316\u7684\u95dc\u9375\u6307\u6a19\u8207\u6280\u5de7\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-94662","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94662","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=94662"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94662\/revisions"}],"predecessor-version":[{"id":94663,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94662\/revisions\/94663"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=94662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=94662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=94662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}