{"id":95726,"date":"2024-10-20T03:28:17","date_gmt":"2024-10-19T19:28:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/95726\/"},"modified":"2024-10-20T03:28:18","modified_gmt":"2024-10-19T19:28:18","slug":"oracle%e6%95%b8%e6%93%9a%e5%ba%ab%e9%80%b2%e7%a8%8b%e4%b9%8b%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b%e8%a9%b3%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/95726\/","title":{"rendered":"Oracle\u6578\u64da\u5eab\u9032\u7a0b\u4e4b\u5f8c\u53f0\u9032\u7a0b\u8a73\u89e3"},"content":{"rendered":"<h1 id=\"oracle%e6%95%b8%e6%93%9a%e5%ba%ab%e9%80%b2%e7%a8%8b%e4%b9%8b%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b%e8%a9%b3%e8%a7%a3-WOYZuGWKwT\">Oracle\u6578\u64da\u5eab\u9032\u7a0b\u4e4b\u5f8c\u53f0\u9032\u7a0b\u8a73\u89e3<\/h1>\n<p>\u5728Oracle\u6578\u64da\u5eab\u4e2d\uff0c\u9032\u7a0b\u7684\u7ba1\u7406\u662f\u78ba\u4fdd\u6578\u64da\u5eab\u9ad8\u6548\u904b\u884c\u7684\u95dc\u9375\u3002Oracle\u6578\u64da\u5eab\u7684\u904b\u884c\u4f9d\u8cf4\u65bc\u591a\u7a2e\u9032\u7a0b\uff0c\u5176\u4e2d\u5f8c\u53f0\u9032\u7a0b\u626e\u6f14\u8457\u81f3\u95dc\u91cd\u8981\u7684\u89d2\u8272\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eOracle\u6578\u64da\u5eab\u7684\u5f8c\u53f0\u9032\u7a0b\uff0c\u5e6b\u52a9\u8b80\u8005\u7406\u89e3\u5176\u529f\u80fd\u53ca\u91cd\u8981\u6027\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%af%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b%ef%bc%9f-WOYZuGWKwT\">\u4ec0\u9ebc\u662f\u5f8c\u53f0\u9032\u7a0b\uff1f<\/h2>\n<p>\u5f8c\u53f0\u9032\u7a0b\u662f\u6307\u5728Oracle\u6578\u64da\u5eab\u4e2d\u81ea\u52d5\u904b\u884c\u7684\u9032\u7a0b\uff0c\u9019\u4e9b\u9032\u7a0b\u4e0d\u9700\u8981\u7528\u6236\u76f4\u63a5\u5e72\u9810\u3002\u5b83\u5011\u8ca0\u8cac\u57f7\u884c\u5404\u7a2e\u4efb\u52d9\uff0c\u5982\u6578\u64da\u7684\u7ba1\u7406\u3001\u8cc7\u6e90\u7684\u5206\u914d\u3001\u932f\u8aa4\u7684\u8655\u7406\u7b49\u3002\u9019\u4e9b\u9032\u7a0b\u7684\u5b58\u5728\u4f7f\u5f97\u6578\u64da\u5eab\u80fd\u5920\u5728\u9ad8\u6548\u548c\u7a69\u5b9a\u7684\u74b0\u5883\u4e2d\u904b\u884c\u3002<\/p>\n<h2 id=\"%e4%b8%bb%e8%a6%81%e7%9a%84%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b-WOYZuGWKwT\">\u4e3b\u8981\u7684\u5f8c\u53f0\u9032\u7a0b<\/h2>\n<p>Oracle\u6578\u64da\u5eab\u4e2d\u6709\u591a\u500b\u5f8c\u53f0\u9032\u7a0b\uff0c\u6bcf\u500b\u9032\u7a0b\u90fd\u6709\u5176\u7279\u5b9a\u7684\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4e3b\u8981\u7684\u5f8c\u53f0\u9032\u7a0b\uff1a<\/p>\n<ul>\n<li><strong>DBWn (Database Writer Process)<\/strong>: \u8ca0\u8cac\u5c07\u7de9\u885d\u5340\u4e2d\u7684\u6578\u64da\u5beb\u5165\u6578\u64da\u6587\u4ef6\u3002\u9019\u500b\u9032\u7a0b\u78ba\u4fdd\u6578\u64da\u7684\u6301\u4e45\u6027\uff0c\u4e26\u91cb\u653e\u7de9\u885d\u5340\u7684\u7a7a\u9593\u3002<\/li>\n<li><strong>LGWR (Log Writer Process)<\/strong>: \u5c07\u91cd\u505a\u65e5\u8a8c\u7de9\u885d\u5340\u4e2d\u7684\u6578\u64da\u5beb\u5165\u91cd\u505a\u65e5\u8a8c\u6587\u4ef6\u3002\u9019\u662f\u4fdd\u8b49\u6578\u64da\u5eab\u6062\u5fa9\u80fd\u529b\u7684\u91cd\u8981\u9032\u7a0b\u3002<\/li>\n<li><strong>CKPT (Checkpoint Process)<\/strong>: \u8ca0\u8cac\u66f4\u65b0\u6578\u64da\u6587\u4ef6\u7684\u6a19\u982d\uff0c\u78ba\u4fdd\u6578\u64da\u7684\u4e00\u81f4\u6027\u3002\u7576\u767c\u751f\u6aa2\u67e5\u9ede\u6642\uff0cCKPT\u9032\u7a0b\u6703\u901a\u77e5DBWn\u9032\u884c\u6578\u64da\u5beb\u5165\u3002<\/li>\n<li><strong>SMON (System Monitor Process)<\/strong>: \u8ca0\u8cac\u7cfb\u7d71\u7684\u6062\u5fa9\u548c\u8cc7\u6e90\u7684\u7ba1\u7406\u3002\u7576\u6578\u64da\u5eab\u555f\u52d5\u6642\uff0cSMON\u6703\u6aa2\u67e5\u4e26\u6062\u5fa9\u672a\u5b8c\u6210\u7684\u4e8b\u52d9\u3002<\/li>\n<li><strong>PMON (Process Monitor Process)<\/strong>: \u76e3\u63a7\u5176\u4ed6\u9032\u7a0b\u7684\u72c0\u614b\uff0c\u4e26\u5728\u5fc5\u8981\u6642\u6e05\u7406\u5931\u6557\u7684\u9032\u7a0b\u3002\u9019\u6709\u52a9\u65bc\u4fdd\u6301\u7cfb\u7d71\u7684\u7a69\u5b9a\u6027\u3002<\/li>\n<li><strong>ARCn (Archiver Process)<\/strong>: \u8ca0\u8cac\u5c07\u91cd\u505a\u65e5\u8a8c\u6587\u4ef6\u6b78\u6a94\uff0c\u4ee5\u4fbf\u5728\u6578\u64da\u5eab\u6062\u5fa9\u6642\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b%e7%9a%84%e5%b7%a5%e4%bd%9c%e5%8e%9f%e7%90%86-WOYZuGWKwT\">\u5f8c\u53f0\u9032\u7a0b\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n<p>\u5f8c\u53f0\u9032\u7a0b\u7684\u904b\u4f5c\u662f\u901a\u904eOracle\u7684\u591a\u9032\u7a0b\u67b6\u69cb\u4f86\u5be6\u73fe\u7684\u3002\u6bcf\u500b\u9032\u7a0b\u90fd\u5728\u64cd\u4f5c\u7cfb\u7d71\u4e2d\u7368\u7acb\u904b\u884c\uff0c\u4e26\u901a\u904e\u5171\u4eab\u5167\u5b58\u5340\u57df\u9032\u884c\u901a\u4fe1\u3002\u9019\u7a2e\u8a2d\u8a08\u4f7f\u5f97\u6578\u64da\u5eab\u80fd\u5920\u9ad8\u6548\u5730\u8655\u7406\u591a\u500b\u8acb\u6c42\uff0c\u4e26\u4fdd\u6301\u9ad8\u53ef\u7528\u6027\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u7576\u7528\u6236\u63d0\u4ea4\u4e00\u500b\u4e8b\u52d9\u6642\uff0cLGWR\u9032\u7a0b\u6703\u5c07\u8a72\u4e8b\u52d9\u7684\u91cd\u505a\u65e5\u8a8c\u5beb\u5165\u5230\u91cd\u505a\u65e5\u8a8c\u6587\u4ef6\u4e2d\uff0c\u78ba\u4fdd\u6578\u64da\u7684\u6301\u4e45\u6027\u3002\u540c\u6642\uff0cDBWn\u9032\u7a0b\u6703\u5b9a\u671f\u5c07\u7de9\u885d\u5340\u4e2d\u7684\u6578\u64da\u5beb\u5165\u6578\u64da\u6587\u4ef6\uff0c\u91cb\u653e\u7de9\u885d\u5340\u7684\u7a7a\u9593\uff0c\u5f9e\u800c\u63d0\u9ad8\u7cfb\u7d71\u7684\u6027\u80fd\u3002<\/p>\n<h2 id=\"%e5%be%8c%e5%8f%b0%e9%80%b2%e7%a8%8b%e7%9a%84%e7%9b%a3%e6%8e%a7%e8%88%87%e7%ae%a1%e7%90%86-WOYZuGWKwT\">\u5f8c\u53f0\u9032\u7a0b\u7684\u76e3\u63a7\u8207\u7ba1\u7406<\/h2>\n<p>\u70ba\u4e86\u78ba\u4fddOracle\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\uff0c\u5c0d\u5f8c\u53f0\u9032\u7a0b\u7684\u76e3\u63a7\u548c\u7ba1\u7406\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002\u7528\u6236\u53ef\u4ee5\u901a\u904eOracle\u63d0\u4f9b\u7684\u8996\u5716\u4f86\u67e5\u770b\u5f8c\u53f0\u9032\u7a0b\u7684\u72c0\u614b\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u53ef\u4ee5\u67e5\u770b\u7576\u524d\u904b\u884c\u7684\u9032\u7a0b\uff1a<\/p>\n<pre><code>SELECT * FROM v$process;<\/code><\/pre>\n<p>\u6b64\u5916\uff0cOracle\u9084\u63d0\u4f9b\u4e86\u591a\u7a2e\u5de5\u5177\u4f86\u5e6b\u52a9\u7528\u6236\u76e3\u63a7\u6578\u64da\u5eab\u7684\u6027\u80fd\uff0c\u5982Oracle Enterprise Manager\u548cSQL*Plus\u7b49\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-WOYZuGWKwT\">\u7d50\u8ad6<\/h2>\n<p>Oracle\u6578\u64da\u5eab\u7684\u5f8c\u53f0\u9032\u7a0b\u5728\u6578\u64da\u5eab\u7684\u904b\u884c\u4e2d\u626e\u6f14\u8457\u4e0d\u53ef\u6216\u7f3a\u7684\u89d2\u8272\u3002\u5b83\u5011\u8ca0\u8cac\u6578\u64da\u7684\u7ba1\u7406\u3001\u8cc7\u6e90\u7684\u5206\u914d\u4ee5\u53ca\u7cfb\u7d71\u7684\u7a69\u5b9a\u6027\u3002\u4e86\u89e3\u9019\u4e9b\u9032\u7a0b\u7684\u529f\u80fd\u548c\u904b\u4f5c\u539f\u7406\uff0c\u5c0d\u65bc\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u548c\u958b\u767c\u8005\u4f86\u8aaa\u81f3\u95dc\u91cd\u8981\u3002\u900f\u904e\u6709\u6548\u7684\u76e3\u63a7\u548c\u7ba1\u7406\uff0c\u80fd\u5920\u78ba\u4fddOracle\u6578\u64da\u5eab\u7684\u9ad8\u6548\u904b\u884c\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc\u65bc<code><a href=\"https:\/\/server.hk\">VPS<\/a><\/code>\u548c<code><a href=\"https:\/\/server.hk\">\u9999\u6e2f\u4f3a\u670d\u5668<\/a><\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6df1\u5165\u63a2\u8a0eOracle\u6578\u64da\u5eab\u7684\u5f8c\u53f0\u9032\u7a0b\uff0c\u4e86\u89e3\u5176\u529f\u80fd\u3001\u904b\u4f5c\u539f\u7406\u53ca\u5c0d\u6578\u64da\u5eab\u6027\u80fd\u7684\u5f71\u97ff\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-95726","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95726","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=95726"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95726\/revisions"}],"predecessor-version":[{"id":95727,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95726\/revisions\/95727"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=95726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=95726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=95726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}