{"id":93652,"date":"2024-10-19T15:47:16","date_gmt":"2024-10-19T07:47:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/93652\/"},"modified":"2024-10-19T15:47:16","modified_gmt":"2024-10-19T07:47:16","slug":"ora-60004-%e5%90%91%e8%a1%a8-string-string-%e6%b7%bb%e5%8a%a0-string-%e5%9d%97%ef%bc%8c%e6%9c%80%e5%a4%a7%e5%a4%a7%e5%b0%8f-string-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/93652\/","title":{"rendered":"ORA-60004: \u5411\u8868 string.string \u6dfb\u52a0 (string) \u5757\uff0c\u6700\u5927\u5927\u5c0f (string) ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-60004-%e5%90%91%e8%a1%a8-string-string-%e6%b7%bb%e5%8a%a0-string-%e5%9d%97%ef%bc%8c%e6%9c%80%e5%a4%a7%e5%a4%a7%e5%b0%8f-string-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-btmWIqLCtD\">ORA-60004: \u5411\u8868 string.string \u6dfb\u52a0 (string) \u5757\uff0c\u6700\u5927\u5927\u5c0f (string) ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\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\u662f ORA-60004\u3002\u9019\u662f\u4e00\u500b\u5167\u90e8\u932f\u8aa4\uff0c\u901a\u5e38\u8868\u793a\u5728\u5411\u7279\u5b9a\u8868\u4e2d\u6dfb\u52a0\u6578\u64da\u584a\u6642\u51fa\u73fe\u4e86\u554f\u984c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e ORA-60004 \u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u6545\u969c\u4fee\u5fa9\u65b9\u6cd5\u3002<\/p>\n<h2 id=\"ora-60004-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-btmWIqLCtD\">ORA-60004 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-60004 \u932f\u8aa4\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li>\u6578\u64da\u5eab\u8868\u7684\u5927\u5c0f\u8d85\u904e\u4e86 Oracle \u7684\u6700\u5927\u9650\u5236\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u914d\u7f6e\u4e0d\u7576\uff0c\u5c0e\u81f4\u7121\u6cd5\u70ba\u65b0\u6578\u64da\u5206\u914d\u8db3\u5920\u7684\u7a7a\u9593\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u7269\u7406\u5b58\u5132\u8a2d\u5099\u51fa\u73fe\u6545\u969c\uff0c\u7121\u6cd5\u5beb\u5165\u65b0\u6578\u64da\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u7248\u672c\u5b58\u5728\u5df2\u77e5\u7684\u7f3a\u9677\u6216\u6f0f\u6d1e\u3002<\/li>\n<\/ul>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e7%9a%84%e5%bd%b1%e9%9f%bf-btmWIqLCtD\">\u932f\u8aa4\u7684\u5f71\u97ff<\/h2>\n<p>\u7576 ORA-60004 \u932f\u8aa4\u767c\u751f\u6642\uff0c\u5c07\u6703\u5c0d\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u9020\u6210\u5f71\u97ff\u3002\u5177\u9ad4\u5f71\u97ff\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u7121\u6cd5\u5411\u8868\u4e2d\u63d2\u5165\u65b0\u6578\u64da\uff0c\u5c0e\u81f4\u61c9\u7528\u7a0b\u5e8f\u7121\u6cd5\u6b63\u5e38\u904b\u884c\u3002<\/li>\n<li>\u53ef\u80fd\u6703\u5c0e\u81f4\u6578\u64da\u640d\u58de\u6216\u4e1f\u5931\uff0c\u7279\u5225\u662f\u5728\u932f\u8aa4\u767c\u751f\u6642\u9032\u884c\u5beb\u5165\u64cd\u4f5c\u7684\u60c5\u6cc1\u4e0b\u3002<\/li>\n<li>\u9700\u8981\u9032\u884c\u6545\u969c\u6392\u9664\u548c\u4fee\u5fa9\uff0c\u9019\u53ef\u80fd\u6703\u6d88\u8017\u5927\u91cf\u7684\u6642\u9593\u548c\u8cc7\u6e90\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-btmWIqLCtD\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u70ba\u4e86\u4fee\u5fa9 ORA-60004 \u932f\u8aa4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e9%85%8d%e7%bd%ae-btmWIqLCtD\">1. \u6aa2\u67e5\u6578\u64da\u5eab\u914d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u914d\u7f6e\uff0c\u78ba\u4fdd\u6240\u6709\u7684\u53c3\u6578\u90fd\u8a2d\u7f6e\u6b63\u78ba\u3002\u7279\u5225\u662f\u8981\u6aa2\u67e5\u8868\u7a7a\u9593\u7684\u5927\u5c0f\u548c\u81ea\u52d5\u64f4\u5c55\u8a2d\u7f6e\u3002<\/p>\n<h3 id=\"2-%e6%aa%a2%e6%9f%a5%e8%a1%a8%e7%a9%ba%e9%96%93%e4%bd%bf%e7%94%a8%e6%83%85%e6%b3%81-btmWIqLCtD\">2. \u6aa2\u67e5\u8868\u7a7a\u9593\u4f7f\u7528\u60c5\u6cc1<\/h3>\n<pre><code>SELECT tablespace_name, SUM(bytes) \/ 1024 \/ 1024 AS size_mb\nFROM dba_data_files\nGROUP BY tablespace_name;<\/code><\/pre>\n<p>\u4f7f\u7528\u4e0a\u8ff0 SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u8868\u7a7a\u9593\u7684\u4f7f\u7528\u60c5\u6cc1\uff0c\u78ba\u4fdd\u6709\u8db3\u5920\u7684\u7a7a\u9593\u4f86\u6dfb\u52a0\u65b0\u6578\u64da\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e7%89%a9%e7%90%86%e5%ad%98%e5%84%b2%e8%a8%ad%e5%82%99-btmWIqLCtD\">3. \u6aa2\u67e5\u7269\u7406\u5b58\u5132\u8a2d\u5099<\/h3>\n<p>\u78ba\u4fdd\u6578\u64da\u5eab\u6240\u5728\u7684\u7269\u7406\u5b58\u5132\u8a2d\u5099\u904b\u884c\u6b63\u5e38\uff0c\u6c92\u6709\u51fa\u73fe\u6545\u969c\u6216\u6027\u80fd\u74f6\u9838\u3002\u53ef\u4ee5\u901a\u904e\u7cfb\u7d71\u76e3\u63a7\u5de5\u5177\u4f86\u6aa2\u67e5\u78c1\u789f\u7684\u5065\u5eb7\u72c0\u6cc1\u3002<\/p>\n<h3 id=\"4-%e6%9b%b4%e6%96%b0%e6%95%b8%e6%93%9a%e5%ba%ab%e7%89%88%e6%9c%ac-btmWIqLCtD\">4. \u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c<\/h3>\n<p>\u5982\u679c\u4f7f\u7528\u7684 Oracle \u6578\u64da\u5eab\u7248\u672c\u5b58\u5728\u5df2\u77e5\u7684\u7f3a\u9677\uff0c\u5efa\u8b70\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u4ee5\u7372\u53d6\u4fee\u5fa9\u548c\u6539\u9032\u3002<\/p>\n<h3 id=\"5-%e8%81%af%e7%b9%ab-oracle-%e6%94%af%e6%8c%81-btmWIqLCtD\">5. \u806f\u7e6b Oracle \u652f\u6301<\/h3>\n<p>\u5982\u679c\u4ee5\u4e0a\u6b65\u9a5f\u7121\u6cd5\u89e3\u6c7a\u554f\u984c\uff0c\u5efa\u8b70\u806f\u7e6b Oracle \u7684\u6280\u8853\u652f\u6301\uff0c\u63d0\u4f9b\u8a73\u7d30\u7684\u932f\u8aa4\u4fe1\u606f\u548c\u74b0\u5883\u914d\u7f6e\uff0c\u4ee5\u7372\u53d6\u5c08\u696d\u7684\u5e6b\u52a9\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-btmWIqLCtD\">\u7e3d\u7d50<\/h2>\n<p>ORA-60004 \u932f\u8aa4\u662f\u4e00\u500b\u5167\u90e8\u932f\u8aa4\uff0c\u901a\u5e38\u8207\u6578\u64da\u5eab\u7684\u914d\u7f6e\u548c\u5b58\u5132\u6709\u95dc\u3002\u901a\u904e\u6aa2\u67e5\u6578\u64da\u5eab\u914d\u7f6e\u3001\u8868\u7a7a\u9593\u4f7f\u7528\u60c5\u6cc1\u3001\u7269\u7406\u5b58\u5132\u8a2d\u5099\u4ee5\u53ca\u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u6392\u9664\u6545\u969c\u3002\u5982\u679c\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u652f\u6301\u6216\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2f VPS<\/a> \u670d\u52d9\uff0c\u4ee5\u78ba\u4fdd\u60a8\u7684\u6578\u64da\u5eab\u904b\u884c\u7a69\u5b9a\u4e14\u9ad8\u6548\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ORA-60004: \u5411\u8868 string.string \u6dfb\u52a0 (string) \u5757\uff0c\u6700\u5927\u5927\u5c0f (string) \u7684 Oracle \u5831\u932f\uff0c\u63d0\u4f9b\u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u89e3\u6c7a\u65b9\u6848\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-93652","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/93652","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=93652"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/93652\/revisions"}],"predecessor-version":[{"id":93653,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/93652\/revisions\/93653"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=93652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=93652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=93652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}