{"id":82357,"date":"2024-10-16T20:08:17","date_gmt":"2024-10-16T12:08:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/82357\/"},"modified":"2024-10-16T20:08:17","modified_gmt":"2024-10-16T12:08:17","slug":"ora-01273-standby_file_management-auto-%e9%9c%80%e8%a6%81-compatible-string-%e6%88%96%e6%9b%b4%e9%ab%98-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","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/82357\/","title":{"rendered":"ORA-01273: STANDBY_FILE_MANAGEMENT = AUTO \u9700\u8981 COMPATIBLE = string \u6216\u66f4\u9ad8 ORACLE\u5831\u932f\u6545\u969c\u4fee\u5fa9\u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-01273-standby_file_management-auto-%e9%9c%80%e8%a6%81-compatible-string-%e6%88%96%e6%9b%b4%e9%ab%98-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-PRAQyeIcnh\">ORA-01273: STANDBY_FILE_MANAGEMENT = AUTO \u9700\u8981 COMPATIBLE = string \u6216\u66f4\u9ad8 ORACLE\u5831\u932f\u6545\u969c\u4fee\u5fa9\u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u7ba1\u7406\u6578\u64da\u5eab\u7684\u9ad8\u53ef\u7528\u6027\u548c\u707d\u96e3\u6062\u5fa9\u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002\u7576\u8a2d\u7f6e\u6578\u64da\u5eab\u7684\u5099\u7528\u6a21\u5f0f\u6642\uff0c\u53ef\u80fd\u6703\u9047\u5230\u932f\u8aa4\u4ee3\u78bc <code>ORA-01273<\/code>\uff0c\u9019\u901a\u5e38\u8207 <code>STANDBY_FILE_MANAGEMENT<\/code> \u53c3\u6578\u7684\u914d\u7f6e\u6709\u95dc\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u8a72\u932f\u8aa4\u7684\u539f\u56e0\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e5%8e%9f%e5%9b%a0%e5%88%86%e6%9e%90-PRAQyeIcnh\">\u932f\u8aa4\u539f\u56e0\u5206\u6790<\/h2>\n<p>\u932f\u8aa4 <code>ORA-01273<\/code> \u7684\u51fa\u73fe\u901a\u5e38\u662f\u56e0\u70ba\u5728\u8a2d\u7f6e\u5099\u7528\u6578\u64da\u5eab\u6642\uff0c<code>STANDBY_FILE_MANAGEMENT<\/code> \u53c3\u6578\u88ab\u8a2d\u7f6e\u70ba <code>AUTO<\/code>\uff0c\u4f46\u7576\u524d\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u7248\u672c\u4f4e\u65bc\u6240\u9700\u7684\u7248\u672c\u3002\u9019\u610f\u5473\u8457\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u4e0d\u7b26\u5408\u81ea\u52d5\u7ba1\u7406\u5099\u7528\u6587\u4ef6\u7684\u8981\u6c42\u3002<\/p>\n<p>\u5177\u9ad4\u4f86\u8aaa\uff0c\u7576 <code>STANDBY_FILE_MANAGEMENT<\/code> \u8a2d\u7f6e\u70ba <code>AUTO<\/code> \u6642\uff0cOracle\u671f\u671b <code>COMPATIBLE<\/code> \u53c3\u6578\u7684\u503c\u81f3\u5c11\u70ba <code>11.2.0<\/code> \u6216\u66f4\u9ad8\u7248\u672c\u3002\u82e5 <code>COMPATIBLE<\/code> \u7684\u503c\u4f4e\u65bc\u6b64\uff0c\u5247\u6703\u5c0e\u81f4 <code>ORA-01273<\/code> \u932f\u8aa4\u7684\u767c\u751f\u3002<\/p>\n<h2 id=\"%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%a1%88-PRAQyeIcnh\">\u89e3\u6c7a\u65b9\u6848<\/h2>\n<p>\u8981\u89e3\u6c7a <code>ORA-01273<\/code> \u932f\u8aa4\uff0c\u60a8\u9700\u8981\u6aa2\u67e5\u4e26\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\u3002\u4ee5\u4e0b\u662f\u5177\u9ad4\u7684\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%84-compatible-%e5%8f%83%e6%95%b8-PRAQyeIcnh\">\u6b65\u9a5f 1: \u6aa2\u67e5\u7576\u524d\u7684 COMPATIBLE \u53c3\u6578<\/h3>\n<pre><code>SHOW PARAMETER COMPATIBLE;<\/code><\/pre>\n<p>\u57f7\u884c\u4e0a\u8ff0\u547d\u4ee4\u5f8c\uff0c\u60a8\u5c07\u770b\u5230\u7576\u524d\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u503c\u3002\u5982\u679c\u8a72\u503c\u4f4e\u65bc <code>11.2.0<\/code>\uff0c\u5247\u9700\u8981\u9032\u884c\u66f4\u65b0\u3002<\/p>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-2-%e6%9b%b4%e6%96%b0-compatible-%e5%8f%83%e6%95%b8-PRAQyeIcnh\">\u6b65\u9a5f 2: \u66f4\u65b0 COMPATIBLE \u53c3\u6578<\/h3>\n<p>\u8981\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\uff0c\u60a8\u9700\u8981\u4ee5SYSDBA\u8eab\u4efd\u767b\u9304\u5230\u6578\u64da\u5eab\uff0c\u7136\u5f8c\u57f7\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>ALTER SYSTEM SET COMPATIBLE = '11.2.0' SCOPE=SPFILE;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u70ba <code>11.2.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%e5%95%9f%e6%95%b8%e6%93%9a%e5%ba%ab-PRAQyeIcnh\">\u6b65\u9a5f 3: \u91cd\u555f\u6578\u64da\u5eab<\/h3>\n<p>\u5728\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\u5f8c\uff0c\u60a8\u9700\u8981\u91cd\u555f\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-%e9%a9%97%e8%ad%89%e6%9b%b4%e6%94%b9-PRAQyeIcnh\">\u6b65\u9a5f 4: \u9a57\u8b49\u66f4\u6539<\/h3>\n<p>\u91cd\u555f\u5f8c\uff0c\u518d\u6b21\u6aa2\u67e5 <code>COMPATIBLE<\/code> \u53c3\u6578\u4ee5\u78ba\u4fdd\u66f4\u6539\u5df2\u6210\u529f\u61c9\u7528\uff1a<\/p>\n<pre><code>SHOW PARAMETER COMPATIBLE;<\/code><\/pre>\n<p>\u5982\u679c\u986f\u793a\u7684\u503c\u70ba <code>11.2.0<\/code> \u6216\u66f4\u9ad8\uff0c\u5247\u8868\u793a\u554f\u984c\u5df2\u89e3\u6c7a\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-PRAQyeIcnh\">\u7e3d\u7d50<\/h2>\n<p>\u5728Oracle\u6578\u64da\u5eab\u4e2d\uff0c<code>ORA-01273<\/code> \u932f\u8aa4\u901a\u5e38\u662f\u7531\u65bc <code>STANDBY_FILE_MANAGEMENT<\/code> \u53c3\u6578\u8a2d\u7f6e\u4e0d\u7576\u5f15\u8d77\u7684\u3002\u901a\u904e\u6aa2\u67e5\u548c\u66f4\u65b0 <code>COMPATIBLE<\/code> \u53c3\u6578\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u78ba\u4fdd\u60a8\u7684\u6578\u64da\u5eab\u7248\u672c\u548c\u914d\u7f6e\u7b26\u5408\u8981\u6c42\uff0c\u4ee5\u907f\u514d\u672a\u4f86\u51fa\u73fe\u985e\u4f3c\u7684\u932f\u8aa4\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u5982\u4f55\u512a\u5316\u60a8\u7684\u6578\u64da\u5eab\u74b0\u5883\uff0c\u60a8\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u6211\u5011\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u89e3\u6c7a\u65b9\u6848\uff0c\u9019\u5c07\u70ba\u60a8\u7684\u696d\u52d9\u63d0\u4f9b\u7a69\u5b9a\u548c\u9ad8\u6548\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7aORA-01273\u932f\u8aa4\uff0c\u9700\u5c07STANDBY_FILE_MANAGEMENT\u8a2d\u70baAUTO\uff0c\u4e26\u78ba\u4fddCOMPATIBLE\u53c3\u6578\u7b26\u5408\u8981\u6c42\uff0c\u9032\u884cOracle\u6545\u969c\u4fee\u5fa9\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-82357","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/82357","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=82357"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/82357\/revisions"}],"predecessor-version":[{"id":82358,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/82357\/revisions\/82358"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=82357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=82357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=82357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}