{"id":6115,"date":"2024-11-14T14:20:13","date_gmt":"2024-11-14T06:20:13","guid":{"rendered":"https:\/\/fwq.ai\/blog\/6115\/"},"modified":"2024-11-14T14:20:13","modified_gmt":"2024-11-14T06:20:13","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8boracle%e7%8a%b6%e6%80%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/6115\/","title":{"rendered":"\u5982\u4f55\u67e5\u770boracle\u72b6\u6001"},"content":{"rendered":"<blockquote><p>\n  \u67e5\u770b oracle \u6570\u636e\u5e93\u72b6\u6001\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528 sql plus\uff1asqlplus username\/password@hostname:port\/servicename\uff0c\u7136\u540e\u6267\u884c select name, status from v$database;\u4f7f\u7528 oracle enterprise manager\uff1a\u5c55\u5f00\u201c\u6570\u636e\u5e93\u201d\u8282\u70b9\uff0c\u67e5\u770b\u6570\u636e\u5e93\u72b6\u6001\u4fe1\u606f\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202406\/13\/2024061300121933765.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u67e5\u770boracle\u72b6\u6001\u63d2\u56fe\" alt=\"\u5982\u4f55\u67e5\u770boracle\u72b6\u6001\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u67e5\u770b Oracle \u72b6\u6001<\/strong><\/p>\n<p><strong>\u65b9\u6cd5 1\uff1a\u4f7f\u7528 SQL Plus \u547d\u4ee4\u884c\u5de5\u5177<\/strong><\/p>\n<ol>\n<li>\u8fde\u63a5\u5230 Oracle \u6570\u636e\u5e93\uff1a<\/li>\n<\/ol>\n<pre>sqlplus username\/password@hostname:port\/servicename<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ol>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6570\u636e\u5e93\u72b6\u6001\uff1a<\/li>\n<\/ol>\n<pre>SELECT name, status FROM v$database;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u65b9\u6cd5 2\uff1a\u4f7f\u7528 Oracle Enterprise Manager (OEM)<\/strong><\/p>\n<ol>\n<li>\u6253\u5f00 OEM \u63a7\u5236\u53f0\u3002<\/li>\n<li>\u5c55\u5f00\u201c\u6570\u636e\u5e93\u201d\u8282\u70b9\u3002<\/li>\n<li>\u5355\u51fb\u8981\u67e5\u770b\u72b6\u6001\u7684\u6570\u636e\u5e93\u3002<\/li>\n<li>\u5728\u6982\u8ff0\u9009\u9879\u5361\u4e2d\uff0c\u67e5\u770b\u72b6\u6001\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p><strong>\u72b6\u6001\u89e3\u91ca<\/strong><\/p>\n<ul>\n<li> <strong>OPEN\uff1a<\/strong>\u6570\u636e\u5e93\u6b63\u5728\u8fd0\u884c\u5e76\u4e14\u53ef\u4ee5\u63a5\u53d7\u67e5\u8be2\u3002<\/li>\n<li> <strong>MOUNTED\uff1a<\/strong>\u6570\u636e\u5e93\u5df2\u6302\u8f7d\uff0c\u4f46\u5c1a\u672a\u6253\u5f00\u3002<\/li>\n<li> <strong>SHUTDOWN\uff1a<\/strong>\u6570\u636e\u5e93\u5df2\u5173\u95ed\u5e76\u65e0\u6cd5\u8bbf\u95ee\u3002<\/li>\n<li> <strong>RESTARTING\uff1a<\/strong>\u6570\u636e\u5e93\u6b63\u5728\u91cd\u65b0\u542f\u52a8\u3002<\/li>\n<li> <strong>RECOVERING\uff1a<\/strong>\u6570\u636e\u5e93\u6b63\u5728\u4ece\u5d29\u6e83\u6216\u6545\u969c\u4e2d\u6062\u590d\u3002<\/li>\n<li> <strong>ABORTED\uff1a<\/strong>\u6570\u636e\u5e93\u53d1\u751f\u610f\u5916\u7ec8\u6b62\u3002<\/li>\n<\/ul>\n<p><strong>\u6ce8\u610f\uff1a<\/strong><\/p>\n<ul>\n<li>\u5bf9\u4e8e\u8f83\u65e7\u7684 Oracle \u7248\u672c\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u4e0d\u540c\u7684\u547d\u4ee4\u6216\u89c6\u56fe\u6765\u67e5\u770b\u6570\u636e\u5e93\u72b6\u6001\u3002<\/li>\n<li>\u5982\u679c\u6570\u636e\u5e93\u5904\u4e8e\u5173\u95ed\u72b6\u6001\uff0c\u5219\u65e0\u6cd5\u4f7f\u7528 SQL Plus \u8fde\u63a5\u5230\u5b83\u3002<\/li>\n<li>OEM \u63d0\u4f9b\u4e86\u6bd4 SQL Plus \u66f4\u5168\u9762\u7684\u6570\u636e\u5e93\u72b6\u6001\u4fe1\u606f\uff0c\u5305\u62ec\u6027\u80fd\u6307\u6807\u548c\u8b66\u62a5\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u67e5\u770b\u72b6\u6001\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u7f51\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u770b oracle \u6570\u636e\u5e93\u72b6\u6001\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528 sql plus\uff1asqlplus username\/password@hostname:port\/servicename\uff0c\u7136\u540e\u6267\u884c select name, status from v$database;\u4f7f\u7528 oracle enterprise manager\uff1a\u5c55\u5f00\u201c\u6570\u636e\u5e93\u201d\u8282\u70b9\uff0c\u67e5\u770b\u6570\u636e\u5e93\u72b6\u6001\u4fe1\u606f\u3002 \u5982\u4f55\u67e5\u770b Oracle \u72b6\u6001 \u65b9\u6cd5 1\uff1a\u4f7f\u7528 SQL Plus \u547d\u4ee4\u884c\u5de5\u5177 \u8fde\u63a5\u5230 Oracle \u6570\u636e\u5e93\uff1a sqlplus username\/password@hostname:port\/servicename \u767b\u5f55\u540e\u590d\u5236 \u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6570\u636e\u5e93\u72b6\u6001\uff1a SELECT name, status FROM v$database; \u767b\u5f55\u540e\u590d\u5236 \u65b9\u6cd5 2\uff1a\u4f7f\u7528 Oracle Enterprise Manager (OEM) \u6253\u5f00 OEM \u63a7\u5236\u53f0\u3002 \u5c55\u5f00\u201c\u6570\u636e\u5e93\u201d\u8282\u70b9\u3002 \u5355\u51fb\u8981\u67e5\u770b\u72b6\u6001\u7684\u6570\u636e\u5e93\u3002 \u5728\u6982\u8ff0\u9009\u9879\u5361\u4e2d\uff0c\u67e5\u770b\u72b6\u6001\u4fe1\u606f\u3002 \u72b6\u6001\u89e3\u91ca OPEN\uff1a\u6570\u636e\u5e93\u6b63\u5728\u8fd0\u884c\u5e76\u4e14\u53ef\u4ee5\u63a5\u53d7\u67e5\u8be2\u3002 MOUNTED\uff1a\u6570\u636e\u5e93\u5df2\u6302\u8f7d\uff0c\u4f46\u5c1a\u672a\u6253\u5f00\u3002 SHUTDOWN\uff1a\u6570\u636e\u5e93\u5df2\u5173\u95ed\u5e76\u65e0\u6cd5\u8bbf\u95ee\u3002 RESTARTING\uff1a\u6570\u636e\u5e93\u6b63\u5728\u91cd\u65b0\u542f\u52a8\u3002 RECOVERING\uff1a\u6570\u636e\u5e93\u6b63\u5728\u4ece\u5d29\u6e83\u6216\u6545\u969c\u4e2d\u6062\u590d\u3002 ABORTED\uff1a\u6570\u636e\u5e93\u53d1\u751f\u610f\u5916\u7ec8\u6b62\u3002 \u6ce8\u610f\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-6115","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=6115"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6115\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=6115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=6115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=6115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}