{"id":90536,"date":"2024-10-18T15:01:17","date_gmt":"2024-10-18T07:01:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90536\/"},"modified":"2024-10-18T15:01:18","modified_gmt":"2024-10-18T07:01:18","slug":"ora-27471-window-string-string-is-already-closed-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\/90536\/","title":{"rendered":"ORA-27471: window \u201cstring.string\u201d is already closed ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-27471-window-string-string-is-already-closed-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-idKmUBssSP\">ORA-27471: window \u201cstring.string\u201d is already closed ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u6642\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662fORA-27471\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8868\u793a\u4e00\u500b\u5df2\u7d93\u95dc\u9589\u7684\u7a97\u53e3\uff08window\uff09\u88ab\u518d\u6b21\u5617\u8a66\u4f7f\u7528\uff0c\u9019\u5728\u4f7f\u7528Oracle\u7684\u6392\u7a0b\u4f5c\u696d\u6642\u5c24\u70ba\u5e38\u898b\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-27471\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-27471%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-idKmUBssSP\">ORA-27471\u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-27471\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u5617\u8a66\u5728\u4e00\u500b\u5df2\u7d93\u95dc\u9589\u7684\u7a97\u53e3\u4e0a\u57f7\u884c\u64cd\u4f5c\u3002\u7a97\u53e3\u5728Oracle\u4e2d\u901a\u5e38\u7528\u65bc\u6392\u7a0b\u4f5c\u696d\uff0c\u9019\u4e9b\u4f5c\u696d\u53ef\u4ee5\u662f\u5b9a\u6642\u57f7\u884c\u7684\u4efb\u52d9\uff0c\u5982\u6578\u64da\u5099\u4efd\u3001\u5831\u544a\u751f\u6210\u7b49\u3002\u7576\u4e00\u500b\u7a97\u53e3\u88ab\u95dc\u9589\u5f8c\uff0c\u4efb\u4f55\u8a66\u5716\u5728\u8a72\u7a97\u53e3\u4e0a\u57f7\u884c\u7684\u64cd\u4f5c\u90fd\u6703\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002<\/p>\n<ul>\n<li><strong>\u7a97\u53e3\u5df2\u95dc\u9589\uff1a<\/strong>\u5982\u679c\u7a97\u53e3\u5728\u57f7\u884c\u4f5c\u696d\u4e4b\u524d\u5df2\u7d93\u88ab\u624b\u52d5\u6216\u81ea\u52d5\u95dc\u9589\uff0c\u5247\u6703\u51fa\u73fe\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u4f5c\u696d\u72c0\u614b\u4e0d\u6b63\u78ba\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u7684\u72c0\u614b\u4e0d\u6b63\u78ba\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u7cfb\u7d71\u5617\u8a66\u5728\u4e00\u500b\u7121\u6548\u7684\u7a97\u53e3\u4e0a\u57f7\u884c\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u6392\u7a0b\u885d\u7a81\uff1a<\/strong>\u5982\u679c\u6709\u591a\u500b\u4f5c\u696d\u540c\u6642\u5617\u8a66\u4f7f\u7528\u540c\u4e00\u7a97\u53e3\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u4e00\u500b\u4f5c\u696d\u95dc\u9589\u7a97\u53e3\u800c\u5176\u4ed6\u4f5c\u696d\u7121\u6cd5\u57f7\u884c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e4%bf%ae%e5%be%a9ora-27471%e9%8c%af%e8%aa%a4-idKmUBssSP\">\u5982\u4f55\u4fee\u5fa9ORA-27471\u932f\u8aa4<\/h2>\n<p>\u4fee\u5fa9ORA-27471\u932f\u8aa4\u7684\u904e\u7a0b\u901a\u5e38\u6d89\u53ca\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e7%aa%97%e5%8f%a3%e7%8b%80%e6%85%8b-idKmUBssSP\">1. \u6aa2\u67e5\u7a97\u53e3\u72c0\u614b<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u6aa2\u67e5\u76f8\u95dc\u7a97\u53e3\u7684\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u67e5\u770b\u7576\u524d\u7a97\u53e3\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT window_name, state FROM dba_scheduler_windows WHERE window_name = 'your_window_name';<\/code><\/pre>\n<p>\u5982\u679c\u7a97\u53e3\u7684\u72c0\u614b\u986f\u793a\u70ba\u201cCLOSED\u201d\uff0c\u5247\u9700\u8981\u91cd\u65b0\u6253\u958b\u5b83\u3002<\/p>\n<h3 id=\"2-%e9%87%8d%e6%96%b0%e6%89%93%e9%96%8b%e7%aa%97%e5%8f%a3-idKmUBssSP\">2. \u91cd\u65b0\u6253\u958b\u7a97\u53e3<\/h3>\n<p>\u5982\u679c\u7a97\u53e3\u5df2\u95dc\u9589\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u6253\u958b\u5b83\uff1a<\/p>\n<pre><code>EXEC DBMS_SCHEDULER.ENABLE('your_window_name');<\/code><\/pre>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e4%bd%9c%e6%a5%ad%e7%8b%80%e6%85%8b-idKmUBssSP\">3. \u6aa2\u67e5\u4f5c\u696d\u72c0\u614b<\/h3>\n<p>\u63a5\u4e0b\u4f86\uff0c\u6aa2\u67e5\u8207\u8a72\u7a97\u53e3\u76f8\u95dc\u7684\u4f5c\u696d\u72c0\u614b\u3002\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u4f86\u67e5\u770b\u4f5c\u696d\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT job_name, state FROM dba_scheduler_jobs WHERE job_name = 'your_job_name';<\/code><\/pre>\n<p>\u78ba\u4fdd\u6240\u6709\u4f5c\u696d\u7684\u72c0\u614b\u90fd\u662f\u201cENABLED\u201d\u3002\u5982\u679c\u6709\u4f5c\u696d\u8655\u65bc\u201cDISABLED\u201d\u72c0\u614b\uff0c\u5247\u9700\u8981\u555f\u7528\u5b83\u5011\u3002<\/p>\n<h3 id=\"4-%e7%9b%a3%e6%8e%a7%e6%8e%92%e7%a8%8b%e8%a1%9d%e7%aa%81-idKmUBssSP\">4. \u76e3\u63a7\u6392\u7a0b\u885d\u7a81<\/h3>\n<p>\u6700\u5f8c\uff0c\u76e3\u63a7\u6392\u7a0b\u885d\u7a81\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u78ba\u4fdd\u6c92\u6709\u591a\u500b\u4f5c\u696d\u540c\u6642\u5617\u8a66\u4f7f\u7528\u540c\u4e00\u7a97\u53e3\u3002\u60a8\u53ef\u4ee5\u901a\u904e\u8abf\u6574\u4f5c\u696d\u7684\u6392\u7a0b\u4f86\u907f\u514d\u9019\u7a2e\u60c5\u6cc1\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-idKmUBssSP\">\u7d50\u8ad6<\/h2>\n<p>ORA-27471\u932f\u8aa4\u662fOracle\u6578\u64da\u5eab\u4e2d\u5e38\u898b\u7684\u554f\u984c\u4e4b\u4e00\uff0c\u901a\u5e38\u8207\u7a97\u53e3\u7684\u72c0\u614b\u548c\u4f5c\u696d\u7684\u6392\u7a0b\u6709\u95dc\u3002\u901a\u904e\u6aa2\u67e5\u7a97\u53e3\u72c0\u614b\u3001\u91cd\u65b0\u6253\u958b\u7a97\u53e3\u3001\u6aa2\u67e5\u4f5c\u696d\u72c0\u614b\u4ee5\u53ca\u76e3\u63a7\u6392\u7a0b\u885d\u7a81\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u932f\u8aa4\u3002\u5c0d\u65bc\u9700\u8981\u7a69\u5b9a\u904b\u884c\u7684\u61c9\u7528\u7a0b\u5e8f\uff0c\u53ca\u6642\u8655\u7406\u9019\u4e9b\u932f\u8aa4\u662f\u81f3\u95dc\u91cd\u8981\u7684\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\u61c9\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7a69\u5b9a\u548c\u9ad8\u6548\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to troubleshoot and resolve ORA-27471: window \u201cstring.string\u201d is already closed in Oracle. Expert remote assistance available for quick fixes.<\/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-90536","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90536","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=90536"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90536\/revisions"}],"predecessor-version":[{"id":90537,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90536\/revisions\/90537"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}