{"id":207,"date":"2026-01-23T06:38:11","date_gmt":"2026-01-23T06:38:11","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=207"},"modified":"2026-01-28T06:24:15","modified_gmt":"2026-01-28T06:24:15","slug":"oracle%e8%bf%90%e7%bb%b4-%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e6%ad%a3%e5%b8%b8%e5%85%b3%e9%97%ad%e3%80%81%e7%b4%a7%e6%80%a5%e5%85%b3%e9%97%ad%e5%92%8c%e5%bc%ba%e5%88%b6%e5%85%b3","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=207","title":{"rendered":"oracle\u8fd0\u7ef4\u2014\u2014\u6570\u636e\u5e93\u7684\u6b63\u5e38\u5173\u95ed\u3001\u7d27\u6025\u5173\u95ed\u548c\u5f3a\u5236\u5173\u95ed"},"content":{"rendered":"\n<p>1\u3001\u6b63\u5e38\u5173\u95ed<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u767b\u5f55Oracle\u7528\u6237\uff0c\u6267\u884c\nsu - oracle\nlsnrctl stop\nsqlplus \/ as sysdba\n# \u6b63\u5e38\u5173\u95ed\uff08\u7b49\u5f85\u6240\u6709\u4f1a\u8bdd\u7ed3\u675f\uff0c\u6e05\u7406\u8d44\u6e90\uff09\nSQL&gt; shutdown normal;\n# \u82e5\u7b49\u5f85\u8fc7\u4e45\uff0c\u7528\u7acb\u5373\u5173\u95ed\uff08\u5f3a\u5236\u65ad\u5f00\u4f1a\u8bdd\uff0c\u6e05\u7406\u8d44\u6e90\uff09\nSQL&gt; shutdown immediate;<\/code><\/pre>\n\n\n\n<p>2\u3001\u7d27\u6025\u5173\u95ed<\/p>\n\n\n\n<p><code>shutdown abort<\/code> \u662f Oracle \u5b98\u65b9\u8ba4\u53ef\u7684\u300c\u7d27\u6025\u5173\u95ed\u300d\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f1a\u7acb\u5373\u7ec8\u6b62\u6240\u6709\u8fdb\u7a0b\uff08\u5305\u62ec dbw0\u3001lgwr\u3001ckpt \u7b49\uff09\uff0c\u4f46\u4f1a\u8bb0\u5f55\u5d29\u6e83\u6807\u8bb0\uff1b<\/li>\n\n\n\n<li>\u91cd\u542f\u5b9e\u4f8b\u65f6\uff0cOracle \u4f1a\u81ea\u52a8\u6267\u884c\u5b9e\u4f8b\u6062\u590d\uff0c\u4fee\u590d\u6570\u636e\u4e0d\u4e00\u81f4\uff0c<strong>\u6570\u636e\u98ce\u9669\u8fdc\u4f4e\u4e8e kill -9<\/strong>\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># \u767b\u5f55SQL*Plus\nSQL&gt; shutdown abort;<\/code><\/pre>\n\n\n\n<p>3\u3001\u5f3a\u5236\u5173\u95ed<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u4f7f\u7528 Oracle \u5b98\u65b9\u5de5\u5177\u5f3a\u5236\u7ec8\u6b62\u5b9e\u4f8b\uff08Linux\uff09\nsu - oracle\norakill &lt;\u5b9e\u4f8b\u540d&gt; &lt;dbw0\u8fdb\u7a0bPID&gt;\n# \u793a\u4f8b\uff1aorakill orcl 1234<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u8fdb\u884c\u6279\u91cf\u6740\u4f1a\u8bdd\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5feb\u901f\u5173\u95ed\u6570\u636e\u5e93\u4e86\nps aux |grep \"LOCAL=NO\" |awk '{printf \"%s\\n\", $2}' |xargs kill -9<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u6b63\u5e38\u5173\u95ed 2\u3001\u7d27\u6025\u5173\u95ed shutdown abort \u662f Oracle \u5b98\u65b9\u8ba4\u53ef\u7684\u300c\u7d27\u6025\u5173\u95ed\u300d\u65b9\u5f0f\uff1a 3\u3001\u5f3a\u5236\u5173\u95ed or<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-8"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":2,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":653,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions\/653"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}