{"id":81782,"date":"2024-10-16T18:16:17","date_gmt":"2024-10-16T10:16:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/81782\/"},"modified":"2024-10-16T18:16:17","modified_gmt":"2024-10-16T10:16:17","slug":"ora-00409-compatible-needs-to-be-string-or-higher-to-use-auto-segment-space-management-oracle%e5%a0%b1%e9%8c%af%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/81782\/","title":{"rendered":"ORA-00409: COMPATIBLE needs to be string or higher to use AUTO SEGMENT SPACE MANAGEMENT ORACLE\u5831\u932f\u6545\u969c\u4fee\u5fa9\u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-00409-compatible-%e9%9c%80%e8%a6%81%e6%98%af%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%88%96%e6%9b%b4%e9%ab%98%e7%89%88%e6%9c%ac%e4%bb%a5%e4%bd%bf%e7%94%a8%e8%87%aa%e5%8b%95%e6%ae%b5%e7%a9%ba%e9%96%93-zkpfHKJODg\">ORA-00409: COMPATIBLE \u9700\u8981\u662f\u5b57\u7b26\u4e32\u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u4f7f\u7528\u81ea\u52d5\u6bb5\u7a7a\u9593\u7ba1\u7406\u7684\u6545\u969c\u4fee\u5fa9<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u6642\uff0c\u9047\u5230\u932f\u8aa4\u4ee3\u78bc <code>ORA-00409<\/code> \u662f\u4e00\u500b\u5e38\u898b\u7684\u554f\u984c\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u5617\u8a66\u555f\u7528\u81ea\u52d5\u6bb5\u7a7a\u9593\u7ba1\u7406\uff08Automatic Segment Space Management, ASSM\uff09\u6642\uff0c\u800c\u6578\u64da\u5eab\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u4e0d\u7b26\u5408\u8981\u6c42\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u9019\u500b\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e5%8e%9f%e5%9b%a0-zkpfHKJODg\">\u932f\u8aa4\u539f\u56e0<\/h2>\n<p>Oracle\u6578\u64da\u5eab\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u5b9a\u7fa9\u4e86\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\u7248\u672c\u3002\u7576\u60a8\u5617\u8a66\u555f\u7528ASSM\u6642\uff0cOracle\u8981\u6c42 <code>COMPATIBLE<\/code> \u53c3\u6578\u7684\u503c\u5fc5\u9808\u662f\u5b57\u7b26\u4e32\u6216\u66f4\u9ad8\u7248\u672c\u3002\u9019\u610f\u5473\u8457\uff0c\u5982\u679c\u60a8\u7684\u6578\u64da\u5eab\u7248\u672c\u8f03\u820a\uff0c\u6216\u8005 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u70ba\u4e0d\u652f\u6301ASSM\u7684\u503c\uff0c\u5247\u6703\u51fa\u73fe <code>ORA-00409<\/code> \u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-zkpfHKJODg\">\u5f71\u97ff<\/h2>\n<p>\u9019\u500b\u932f\u8aa4\u6703\u5f71\u97ff\u6578\u64da\u5eab\u7684\u6027\u80fd\u548c\u7ba1\u7406\uff0c\u56e0\u70baASSM\u53ef\u4ee5\u81ea\u52d5\u7ba1\u7406\u6bb5\u7684\u7a7a\u9593\uff0c\u5f9e\u800c\u6e1b\u5c11\u624b\u52d5\u7ba1\u7406\u7684\u9700\u6c42\u3002\u5982\u679c\u7121\u6cd5\u555f\u7528ASSM\uff0c\u5247\u9700\u8981\u4f9d\u8cf4\u50b3\u7d71\u7684\u6bb5\u7a7a\u9593\u7ba1\u7406\u65b9\u6cd5\uff0c\u9019\u53ef\u80fd\u6703\u5c0e\u81f4\u6027\u80fd\u4e0b\u964d\u548c\u7ba1\u7406\u8907\u96dc\u6027\u589e\u52a0\u3002<\/p>\n<h2 id=\"%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%a1%88-zkpfHKJODg\">\u89e3\u6c7a\u65b9\u6848<\/h2>\n<p>\u8981\u89e3\u6c7a <code>ORA-00409<\/code> \u932f\u8aa4\uff0c\u60a8\u9700\u8981\u6aa2\u67e5\u4e26\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\u3002\u4ee5\u4e0b\u662f\u5177\u9ad4\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-1-%e6%aa%a2%e6%9f%a5%e7%95%b6%e5%89%8d%e7%9a%84compatible%e8%a8%ad%e7%bd%ae-zkpfHKJODg\">\u6b65\u9a5f 1: \u6aa2\u67e5\u7576\u524d\u7684COMPATIBLE\u8a2d\u7f6e<\/h3>\n<pre><code>SHOW PARAMETER compatible;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07\u986f\u793a\u7576\u524d\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u503c\u3002\u78ba\u4fdd\u5b83\u7684\u503c\u662f\u5b57\u7b26\u4e32\u6216\u66f4\u9ad8\u7248\u672c\uff0c\u4f8b\u5982 <code>12.1.0<\/code> \u6216\u66f4\u9ad8\u3002<\/p>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-2-%e6%9b%b4%e6%96%b0compatible%e5%8f%83%e6%95%b8-zkpfHKJODg\">\u6b65\u9a5f 2: \u66f4\u65b0COMPATIBLE\u53c3\u6578<\/h3>\n<p>\u5982\u679c <code>COMPATIBLE<\/code> \u7684\u503c\u4e0d\u7b26\u5408\u8981\u6c42\uff0c\u60a8\u9700\u8981\u66f4\u65b0\u5b83\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>ALTER SYSTEM SET compatible='12.1.0' SCOPE=SPFILE;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u70ba <code>12.1.0<\/code>\uff0c\u4e26\u5c07\u5176\u7bc4\u570d\u8a2d\u7f6e\u70ba <code>SPFILE<\/code>\uff0c\u9019\u610f\u5473\u8457\u66f4\u6539\u5c07\u5728\u4e0b\u6b21\u555f\u52d5\u6578\u64da\u5eab\u6642\u751f\u6548\u3002<\/p>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-3-%e9%87%8d%e6%96%b0%e5%95%9f%e5%8b%95%e6%95%b8%e6%93%9a%e5%ba%ab-zkpfHKJODg\">\u6b65\u9a5f 3: \u91cd\u65b0\u555f\u52d5\u6578\u64da\u5eab<\/h3>\n<p>\u5728\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\u5f8c\uff0c\u60a8\u9700\u8981\u91cd\u65b0\u555f\u52d5\u6578\u64da\u5eab\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\uff1a<\/p>\n<pre><code>SHUTDOWN IMMEDIATE;\nSTARTUP;<\/code><\/pre>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-4-%e5%95%9f%e7%94%a8%e8%87%aa%e5%8b%95%e6%ae%b5%e7%a9%ba%e9%96%93%e7%ae%a1%e7%90%86-zkpfHKJODg\">\u6b65\u9a5f 4: \u555f\u7528\u81ea\u52d5\u6bb5\u7a7a\u9593\u7ba1\u7406<\/h3>\n<p>\u91cd\u65b0\u555f\u52d5\u5f8c\uff0c\u60a8\u53ef\u4ee5\u5617\u8a66\u518d\u6b21\u555f\u7528ASSM\uff1a<\/p>\n<pre><code>ALTER TABLESPACE your_tablespace_name SET AUTOMATIC SEGMENT SPACE MANAGEMENT;<\/code><\/pre>\n<p>\u9019\u6a23\u5c31\u53ef\u4ee5\u6210\u529f\u555f\u7528\u81ea\u52d5\u6bb5\u7a7a\u9593\u7ba1\u7406\uff0c\u4e26\u89e3\u6c7a <code>ORA-00409<\/code> \u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-zkpfHKJODg\">\u7e3d\u7d50<\/h2>\n<p>\u5728Oracle\u6578\u64da\u5eab\u4e2d\uff0c<code>ORA-00409<\/code> \u932f\u8aa4\u901a\u5e38\u662f\u7531\u65bc <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u4e0d\u7576\u5f15\u8d77\u7684\u3002\u901a\u904e\u6aa2\u67e5\u548c\u66f4\u65b0\u8a72\u53c3\u6578\uff0c\u60a8\u53ef\u4ee5\u9806\u5229\u555f\u7528\u81ea\u52d5\u6bb5\u7a7a\u9593\u7ba1\u7406\uff0c\u5f9e\u800c\u63d0\u9ad8\u6578\u64da\u5eab\u7684\u6027\u80fd\u548c\u7ba1\u7406\u6548\u7387\u3002\u5982\u679c\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u652f\u6301\u6216\u5c0b\u627e\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to resolve ORA-00409: COMPATIBLE needs to be string or higher for AUTO SEGMENT SPACE MANAGEMENT in Oracle with remote troubleshooting tips.<\/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-81782","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81782","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=81782"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81782\/revisions"}],"predecessor-version":[{"id":81783,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81782\/revisions\/81783"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=81782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=81782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=81782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}