{"id":94728,"date":"2024-10-19T20:40:18","date_gmt":"2024-10-19T12:40:18","guid":{"rendered":"https:\/\/server.hk\/cnblog\/94728\/"},"modified":"2024-10-19T20:40:19","modified_gmt":"2024-10-19T12:40:19","slug":"oracle%e5%8f%83%e6%95%b8%e5%8f%8a%e5%8f%83%e6%95%b8%e6%96%87%e4%bb%b67%e5%a4%a7%e9%a1%9e%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/94728\/","title":{"rendered":"Oracle\u53c3\u6578\u53ca\u53c3\u6578\u6587\u4ef67\u5927\u985e\u89e3\u6790"},"content":{"rendered":"<h1 id=\"oracle%e5%8f%83%e6%95%b8%e5%8f%8a%e5%8f%83%e6%95%b8%e6%96%87%e4%bb%b67%e5%a4%a7%e9%a1%9e%e8%a7%a3%e6%9e%90-IudJRKuwaC\">Oracle\u53c3\u6578\u53ca\u53c3\u6578\u6587\u4ef67\u5927\u985e\u89e3\u6790<\/h1>\n<p>\u5728Oracle\u6578\u64da\u5eab\u7684\u7ba1\u7406\u4e2d\uff0c\u53c3\u6578\u548c\u53c3\u6578\u6587\u4ef6\u626e\u6f14\u8457\u81f3\u95dc\u91cd\u8981\u7684\u89d2\u8272\u3002\u9019\u4e9b\u53c3\u6578\u4e0d\u50c5\u5f71\u97ff\u6578\u64da\u5eab\u7684\u6027\u80fd\uff0c\u9084\u5f71\u97ff\u5176\u5b89\u5168\u6027\u548c\u7a69\u5b9a\u6027\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eOracle\u53c3\u6578\u7684\u4e03\u5927\u985e\u5225\uff0c\u5e6b\u52a9\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u66f4\u597d\u5730\u7406\u89e3\u548c\u914d\u7f6e\u9019\u4e9b\u53c3\u6578\u3002<\/p>\n<h2 id=\"1-%e7%b3%bb%e7%b5%b1%e5%8f%83%e6%95%b8-IudJRKuwaC\">1. \u7cfb\u7d71\u53c3\u6578<\/h2>\n<p>\u7cfb\u7d71\u53c3\u6578\u662fOracle\u6578\u64da\u5eab\u7684\u6838\u5fc3\u914d\u7f6e\uff0c\u9019\u4e9b\u53c3\u6578\u5f71\u97ff\u6574\u500b\u6578\u64da\u5eab\u7684\u904b\u884c\u3002\u4f8b\u5982\uff0c<code>DB_BLOCK_SIZE<\/code>\u6c7a\u5b9a\u4e86\u6578\u64da\u5eab\u584a\u7684\u5927\u5c0f\uff0c\u9019\u5c0d\u6027\u80fd\u6709\u76f4\u63a5\u5f71\u97ff\u3002\u7cfb\u7d71\u53c3\u6578\u901a\u5e38\u5728\u521d\u59cb\u5316\u53c3\u6578\u6587\u4ef6\uff08<code>init.ora<\/code>\uff09\u4e2d\u8a2d\u7f6e\u3002<\/p>\n<h2 id=\"2-%e8%a8%98%e6%86%b6%e9%ab%94%e5%8f%83%e6%95%b8-IudJRKuwaC\">2. \u8a18\u61b6\u9ad4\u53c3\u6578<\/h2>\n<p>\u8a18\u61b6\u9ad4\u53c3\u6578\u63a7\u5236Oracle\u6578\u64da\u5eab\u4f7f\u7528\u7684\u5167\u5b58\u91cf\u3002\u9019\u4e9b\u53c3\u6578\u5305\u62ec<code>SGA_TARGET<\/code>\u548c<code>PGA_AGGREGATE_TARGET<\/code>\uff0c\u5b83\u5011\u5206\u5225\u63a7\u5236\u7cfb\u7d71\u5168\u5c40\u5340\uff08SGA\uff09\u548c\u7a0b\u5e8f\u5168\u5c40\u5340\uff08PGA\uff09\u7684\u5927\u5c0f\u3002\u9069\u7576\u7684\u8a18\u61b6\u9ad4\u914d\u7f6e\u53ef\u4ee5\u986f\u8457\u63d0\u9ad8\u6578\u64da\u5eab\u7684\u6027\u80fd\u3002<\/p>\n<h2 id=\"3-%e9%80%b2%e7%a8%8b%e5%8f%83%e6%95%b8-IudJRKuwaC\">3. \u9032\u7a0b\u53c3\u6578<\/h2>\n<p>\u9032\u7a0b\u53c3\u6578\u5b9a\u7fa9\u4e86\u6578\u64da\u5eab\u53ef\u4ee5\u540c\u6642\u8655\u7406\u7684\u7528\u6236\u9023\u63a5\u6578\u91cf\u3002<code>PROCESSES<\/code>\u53c3\u6578\u5c31\u662f\u4e00\u500b\u5178\u578b\u7684\u4f8b\u5b50\uff0c\u5b83\u9650\u5236\u4e86\u540c\u6642\u9023\u63a5\u5230\u6578\u64da\u5eab\u7684\u7528\u6236\u6578\u91cf\u3002\u9019\u5c0d\u65bc\u9ad8\u4e26\u767c\u7684\u61c9\u7528\u5834\u666f\u5c24\u70ba\u91cd\u8981\u3002<\/p>\n<h2 id=\"4-%e6%97%a5%e8%aa%8c%e5%8f%83%e6%95%b8-IudJRKuwaC\">4. \u65e5\u8a8c\u53c3\u6578<\/h2>\n<p>\u65e5\u8a8c\u53c3\u6578\u6d89\u53ca\u5230\u6578\u64da\u5eab\u7684\u6062\u5fa9\u548c\u65e5\u8a8c\u7ba1\u7406\u3002<code>LOG_BUFFER<\/code>\u53c3\u6578\u63a7\u5236\u65e5\u8a8c\u7de9\u885d\u5340\u7684\u5927\u5c0f\uff0c\u9019\u5c0d\u65bc\u63d0\u9ad8\u4e8b\u52d9\u8655\u7406\u7684\u6548\u7387\u81f3\u95dc\u91cd\u8981\u3002\u9069\u7576\u7684\u65e5\u8a8c\u914d\u7f6e\u53ef\u4ee5\u6e1b\u5c11I\/O\u64cd\u4f5c\uff0c\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<h2 id=\"5-%e6%80%a7%e8%83%bd%e5%8f%83%e6%95%b8-IudJRKuwaC\">5. \u6027\u80fd\u53c3\u6578<\/h2>\n<p>\u6027\u80fd\u53c3\u6578\u7528\u65bc\u512a\u5316\u6578\u64da\u5eab\u7684\u57f7\u884c\u6548\u7387\u3002\u4f8b\u5982\uff0c<code>OPTIMIZER_MODE<\/code>\u53c3\u6578\u53ef\u4ee5\u8a2d\u7f6e\u67e5\u8a62\u512a\u5316\u5668\u7684\u6a21\u5f0f\uff0c\u5f71\u97ff\u67e5\u8a62\u7684\u57f7\u884c\u8a08\u5283\u3002\u9078\u64c7\u5408\u9069\u7684\u512a\u5316\u6a21\u5f0f\u53ef\u4ee5\u986f\u8457\u63d0\u9ad8\u67e5\u8a62\u6027\u80fd\u3002<\/p>\n<h2 id=\"6-%e5%ae%89%e5%85%a8%e5%8f%83%e6%95%b8-IudJRKuwaC\">6. \u5b89\u5168\u53c3\u6578<\/h2>\n<p>\u5b89\u5168\u53c3\u6578\u7528\u65bc\u63a7\u5236\u6578\u64da\u5eab\u7684\u5b89\u5168\u6027\u3002\u4f8b\u5982\uff0c<code>REMOTE_LOGIN_PASSWORDFILE<\/code>\u53c3\u6578\u6c7a\u5b9a\u4e86\u662f\u5426\u5141\u8a31\u9060\u7a0b\u7528\u6236\u4f7f\u7528\u5bc6\u78bc\u6587\u4ef6\u9032\u884c\u767b\u9304\u3002\u9019\u4e9b\u53c3\u6578\u5c0d\u65bc\u4fdd\u8b77\u6578\u64da\u5eab\u514d\u53d7\u672a\u7d93\u6388\u6b0a\u8a2a\u554f\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<h2 id=\"7-%e5%85%b6%e4%bb%96%e5%8f%83%e6%95%b8-IudJRKuwaC\">7. \u5176\u4ed6\u53c3\u6578<\/h2>\n<p>\u9664\u4e86\u4e0a\u8ff0\u516d\u985e\u53c3\u6578\u5916\uff0c\u9084\u6709\u4e00\u4e9b\u5176\u4ed6\u53c3\u6578\uff0c\u5982<code>COMPATIBLE<\/code>\u548c<code>DB_NAME<\/code>\u7b49\uff0c\u9019\u4e9b\u53c3\u6578\u5728\u7279\u5b9a\u60c5\u6cc1\u4e0b\u4e5f\u6703\u5f71\u97ff\u6578\u64da\u5eab\u7684\u904b\u884c\u3002\u4e86\u89e3\u9019\u4e9b\u53c3\u6578\u7684\u4f5c\u7528\u6709\u52a9\u65bc\u66f4\u5168\u9762\u5730\u7ba1\u7406Oracle\u6578\u64da\u5eab\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-IudJRKuwaC\">\u7e3d\u7d50<\/h2>\n<p>\u4e86\u89e3Oracle\u53c3\u6578\u53ca\u5176\u5206\u985e\u5c0d\u65bc\u6578\u64da\u5eab\u7ba1\u7406\u81f3\u95dc\u91cd\u8981\u3002\u901a\u904e\u5408\u7406\u914d\u7f6e\u9019\u4e9b\u53c3\u6578\uff0c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u4ee5\u512a\u5316\u6027\u80fd\u3001\u63d0\u9ad8\u5b89\u5168\u6027\u4e26\u78ba\u4fdd\u7cfb\u7d71\u7684\u7a69\u5b9a\u904b\u884c\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u591a\u6709\u95dc<code>VPS<\/code>\u3001<code>\u9999\u6e2fVPS<\/code>\u6216<code>\u4f3a\u670d\u5668<\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9 <a href=\"https:\/\/server.hk\">Server.HK<\/a>\uff0c\u6211\u5011\u63d0\u4f9b\u5404\u7a2e<code>\u4e91\u4f3a\u670d\u5668<\/code>\u89e3\u6c7a\u65b9\u6848\uff0c\u5e6b\u52a9\u60a8\u66f4\u597d\u5730\u7ba1\u7406\u60a8\u7684\u6578\u64da\u5eab\u74b0\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6df1\u5165\u89e3\u6790Oracle\u53c3\u6578\u53ca\u53c3\u6578\u6587\u4ef6\u76847\u5927\u985e\uff0c\u52a9\u60a8\u512a\u5316\u6578\u64da\u5eab\u6027\u80fd\uff0c\u63d0\u5347\u7ba1\u7406\u6548\u7387\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-94728","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94728","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=94728"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94728\/revisions"}],"predecessor-version":[{"id":94729,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/94728\/revisions\/94729"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=94728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=94728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=94728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}