{"id":92050,"date":"2024-10-19T02:22:16","date_gmt":"2024-10-18T18:22:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/92050\/"},"modified":"2024-10-19T02:22:16","modified_gmt":"2024-10-18T18:22:16","slug":"ora-38498-%e7%84%a1%e6%95%88%e7%9a%84%e5%ad%98%e5%84%b2%e5%b1%ac%e6%80%a7%e5%b0%8d%e6%96%bc%e7%b4%a2%e5%bc%95%e7%89%a9%e4%bb%b6-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\/92050\/","title":{"rendered":"ORA-38498: \u7121\u6548\u7684\u5b58\u5132\u5c6c\u6027\u5c0d\u65bc\u7d22\u5f15\u7269\u4ef6: string ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-38498-%e7%84%a1%e6%95%88%e7%9a%84%e5%ad%98%e5%84%b2%e5%b1%ac%e6%80%a7%e5%b0%8d%e6%96%bc%e7%b4%a2%e5%bc%95%e7%89%a9%e4%bb%b6-string-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-EheHMhEojW\">ORA-38498: \u7121\u6548\u7684\u5b58\u5132\u5c6c\u6027\u5c0d\u65bc\u7d22\u5f15\u7269\u4ef6: string 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-38498\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u7d22\u5f15\u7269\u4ef6\u7684\u5b58\u5132\u5c6c\u6027\u6709\u95dc\uff0c\u4e26\u4e14\u53ef\u80fd\u6703\u5c0e\u81f4\u6578\u64da\u5eab\u64cd\u4f5c\u7684\u4e2d\u65b7\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-38498\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-38498%e7%9a%84%e5%8e%9f%e5%9b%a0-EheHMhEojW\">ORA-38498\u7684\u539f\u56e0<\/h2>\n<p>ORA-38498\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u6578\u64da\u5eab\u4e2d\u7d22\u5f15\u7269\u4ef6\u7684\u5b58\u5132\u5c6c\u6027\u4e0d\u6b63\u78ba\u3002\u9019\u53ef\u80fd\u662f\u7531\u65bc\u4ee5\u4e0b\u5e7e\u500b\u56e0\u7d20\u9020\u6210\u7684\uff1a<\/p>\n<ul>\n<li><strong>\u4e0d\u6b63\u78ba\u7684\u7d22\u5f15\u5b9a\u7fa9\uff1a<\/strong>\u5728\u5275\u5efa\u7d22\u5f15\u6642\uff0c\u5982\u679c\u6307\u5b9a\u7684\u5b58\u5132\u5c6c\u6027\u4e0d\u7b26\u5408Oracle\u7684\u8981\u6c42\uff0c\u5247\u53ef\u80fd\u6703\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u6578\u64da\u5eab\u7248\u672c\u4e0d\u517c\u5bb9\uff1a<\/strong>\u4e0d\u540c\u7248\u672c\u7684Oracle\u6578\u64da\u5eab\u5c0d\u65bc\u7d22\u5f15\u7684\u5b58\u5132\u5c6c\u6027\u6709\u4e0d\u540c\u7684\u8981\u6c42\uff0c\u5347\u7d1a\u6216\u964d\u7d1a\u6578\u64da\u5eab\u7248\u672c\u5f8c\uff0c\u53ef\u80fd\u6703\u51fa\u73fe\u4e0d\u517c\u5bb9\u7684\u60c5\u6cc1\u3002<\/li>\n<li><strong>\u6578\u64da\u5eab\u640d\u58de\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u6587\u4ef6\u640d\u58de\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u7d22\u5f15\u7684\u5b58\u5132\u5c6c\u6027\u7121\u6cd5\u6b63\u78ba\u8b80\u53d6\u3002<\/li>\n<\/ul>\n<h2 id=\"ora-38498%e7%9a%84%e5%bd%b1%e9%9f%bf-EheHMhEojW\">ORA-38498\u7684\u5f71\u97ff<\/h2>\n<p>\u7576\u51fa\u73feORA-38498\u932f\u8aa4\u6642\uff0c\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u6703\u53d7\u5230\u5f71\u97ff\u3002\u5177\u9ad4\u5f71\u97ff\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u7121\u6cd5\u57f7\u884c\u6d89\u53ca\u8a72\u7d22\u5f15\u7684\u67e5\u8a62\u6216\u64cd\u4f5c\uff0c\u5c0e\u81f4\u61c9\u7528\u7a0b\u5e8f\u6027\u80fd\u4e0b\u964d\u3002<\/li>\n<li>\u53ef\u80fd\u9700\u8981\u9032\u884c\u6578\u64da\u5eab\u7684\u7dad\u8b77\u548c\u4fee\u5fa9\uff0c\u589e\u52a0\u4e86\u7ba1\u7406\u6210\u672c\u3002<\/li>\n<li>\u5982\u679c\u672a\u80fd\u53ca\u6642\u4fee\u5fa9\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u6578\u64da\u4e1f\u5931\u6216\u6578\u64da\u4e0d\u4e00\u81f4\u7684\u60c5\u6cc1\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-EheHMhEojW\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u70ba\u4e86\u4fee\u5fa9ORA-38498\u932f\u8aa4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u64cd\u4f5c\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e7%b4%a2%e5%bc%95%e5%ae%9a%e7%be%a9-EheHMhEojW\">1. \u6aa2\u67e5\u7d22\u5f15\u5b9a\u7fa9<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u51fa\u73fe\u932f\u8aa4\u7684\u7d22\u5f15\u5b9a\u7fa9\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u67e5\u770b\u7d22\u5f15\u7684\u8a73\u7d30\u4fe1\u606f\uff1a<\/p>\n<pre><code>SELECT * FROM user_indexes WHERE index_name = 'your_index_name';<\/code><\/pre>\n<p>\u78ba\u4fdd\u6240\u6709\u7684\u5b58\u5132\u5c6c\u6027\u90fd\u7b26\u5408Oracle\u7684\u8981\u6c42\uff0c\u4e26\u4e14\u6c92\u6709\u62fc\u5beb\u932f\u8aa4\u6216\u4e0d\u6b63\u78ba\u7684\u53c3\u6578\u3002<\/p>\n<h3 id=\"2-%e9%87%8d%e6%96%b0%e5%89%b5%e5%bb%ba%e7%b4%a2%e5%bc%95-EheHMhEojW\">2. \u91cd\u65b0\u5275\u5efa\u7d22\u5f15<\/h3>\n<p>\u5982\u679c\u7d22\u5f15\u7684\u5b9a\u7fa9\u78ba\u5be6\u5b58\u5728\u554f\u984c\uff0c\u53ef\u4ee5\u8003\u616e\u522a\u9664\u4e26\u91cd\u65b0\u5275\u5efa\u8a72\u7d22\u5f15\u3002\u4f7f\u7528\u4ee5\u4e0bSQL\u8a9e\u53e5\u4f86\u522a\u9664\u7d22\u5f15\uff1a<\/p>\n<pre><code>DROP INDEX your_index_name;<\/code><\/pre>\n<p>\u7136\u5f8c\uff0c\u4f7f\u7528\u6b63\u78ba\u7684\u53c3\u6578\u91cd\u65b0\u5275\u5efa\u7d22\u5f15\uff1a<\/p>\n<pre><code>CREATE INDEX your_index_name ON your_table (your_column) STORAGE (initial 64K);<\/code><\/pre>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e7%89%88%e6%9c%ac-EheHMhEojW\">3. \u6aa2\u67e5\u6578\u64da\u5eab\u7248\u672c<\/h3>\n<p>\u5982\u679c\u5728\u5347\u7d1a\u6216\u964d\u7d1a\u6578\u64da\u5eab\u7248\u672c\u5f8c\u51fa\u73fe\u6b64\u932f\u8aa4\uff0c\u5efa\u8b70\u6aa2\u67e5Oracle\u7684\u5b98\u65b9\u6587\u6a94\uff0c\u78ba\u4fdd\u7d22\u5f15\u7684\u5b58\u5132\u5c6c\u6027\u7b26\u5408\u7576\u524d\u7248\u672c\u7684\u8981\u6c42\u3002<\/p>\n<h3 id=\"4-%e6%95%b8%e6%93%9a%e5%ba%ab%e4%bf%ae%e5%be%a9-EheHMhEojW\">4. \u6578\u64da\u5eab\u4fee\u5fa9<\/h3>\n<p>\u5982\u679c\u61f7\u7591\u6578\u64da\u5eab\u6587\u4ef6\u640d\u58de\uff0c\u53ef\u4ee5\u4f7f\u7528Oracle\u63d0\u4f9b\u7684\u5de5\u5177\u9032\u884c\u6578\u64da\u5eab\u4fee\u5fa9\u3002\u9019\u901a\u5e38\u9700\u8981\u8f03\u9ad8\u7684\u6280\u8853\u6c34\u5e73\uff0c\u5efa\u8b70\u5728\u9032\u884c\u6b64\u64cd\u4f5c\u524d\u5099\u4efd\u6578\u64da\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-EheHMhEojW\">\u7d50\u8ad6<\/h2>\n<p>ORA-38498\u932f\u8aa4\u662f\u4e00\u500b\u5e38\u898b\u7684Oracle\u6578\u64da\u5eab\u554f\u984c\uff0c\u4e3b\u8981\u8207\u7d22\u5f15\u7269\u4ef6\u7684\u5b58\u5132\u5c6c\u6027\u6709\u95dc\u3002\u901a\u904e\u6aa2\u67e5\u7d22\u5f15\u5b9a\u7fa9\u3001\u91cd\u65b0\u5275\u5efa\u7d22\u5f15\u3001\u6aa2\u67e5\u6578\u64da\u5eab\u7248\u672c\u4ee5\u53ca\u9032\u884c\u6578\u64da\u5eab\u4fee\u5fa9\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5c0d\u65bc\u9700\u8981\u7a69\u5b9a\u904b\u884c\u7684\u61c9\u7528\u7a0b\u5e8f\u4f86\u8aaa\uff0c\u53ca\u6642\u8655\u7406\u9019\u985e\u932f\u8aa4\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u95dc\u65bc<code><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/code>\u548c<code><a href=\"https:\/\/server.hk\">\u96f2\u4f3a\u670d\u5668<\/a><\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-38498 \u932f\u8aa4\uff0c\u7121\u6548\u7684\u5b58\u5132\u5c6c\u6027\u5c0d\u65bc\u7d22\u5f15\u7269\u4ef6\uff0c\u63d0\u4f9b\u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u7684\u6709\u6548\u65b9\u6cd5\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-92050","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92050","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=92050"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92050\/revisions"}],"predecessor-version":[{"id":92051,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92050\/revisions\/92051"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=92050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=92050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=92050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}