{"id":90814,"date":"2024-10-18T15:49:16","date_gmt":"2024-10-18T07:49:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90814\/"},"modified":"2024-10-18T15:49:17","modified_gmt":"2024-10-18T07:49:17","slug":"ora-28085-the-input-and-output-lengths-of-the-redaction-do-not-match-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\/90814\/","title":{"rendered":"ORA-28085: The input and output lengths of the redaction do not match. ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-28085-the-input-and-output-lengths-of-the-redaction-do-not-match-zRzynbMwoT\">ORA-28085: The input and output lengths of the redaction do not match<\/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-28085\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u6578\u64da\u906e\u853d\uff08data redaction\uff09\u529f\u80fd\u6709\u95dc\uff0c\u7576\u8f38\u5165\u548c\u8f38\u51fa\u7684\u9577\u5ea6\u4e0d\u5339\u914d\u6642\uff0c\u7cfb\u7d71\u6703\u5831\u544a\u6b64\u932f\u8aa4\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-28085\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-28085%e7%9a%84%e5%8e%9f%e5%9b%a0-zRzynbMwoT\">ORA-28085\u7684\u539f\u56e0<\/h2>\n<p>ORA-28085\u932f\u8aa4\u901a\u5e38\u767c\u751f\u5728\u4f7f\u7528\u6578\u64da\u906e\u853d\u529f\u80fd\u6642\u3002\u6578\u64da\u906e\u853d\u662f\u4e00\u7a2e\u4fdd\u8b77\u654f\u611f\u6578\u64da\u7684\u6280\u8853\uff0c\u901a\u904e\u5728\u67e5\u8a62\u7d50\u679c\u4e2d\u96b1\u85cf\u6216\u4fee\u6539\u67d0\u4e9b\u6578\u64da\u4f86\u9632\u6b62\u672a\u7d93\u6388\u6b0a\u7684\u8a2a\u554f\u3002\u7576\u4f7f\u7528\u8005\u5617\u8a66\u5c0d\u67d0\u500b\u5b57\u6bb5\u9032\u884c\u906e\u853d\u6642\uff0c\u82e5\u8f38\u5165\u7684\u6578\u64da\u9577\u5ea6\u8207\u9810\u671f\u7684\u8f38\u51fa\u9577\u5ea6\u4e0d\u4e00\u81f4\uff0c\u5c31\u6703\u89f8\u767c\u6b64\u932f\u8aa4\u3002<\/p>\n<ul>\n<li><strong>\u6578\u64da\u985e\u578b\u4e0d\u5339\u914d\uff1a<\/strong>\u5982\u679c\u906e\u853d\u7684\u6578\u64da\u985e\u578b\u8207\u5b9a\u7fa9\u7684\u6578\u64da\u985e\u578b\u4e0d\u4e00\u81f4\uff0c\u5247\u53ef\u80fd\u5c0e\u81f4\u9577\u5ea6\u4e0d\u5339\u914d\u3002<\/li>\n<li><strong>\u906e\u853d\u898f\u5247\u932f\u8aa4\uff1a<\/strong>\u5728\u5b9a\u7fa9\u906e\u853d\u898f\u5247\u6642\uff0c\u5982\u679c\u672a\u6b63\u78ba\u8a2d\u7f6e\u8f38\u5165\u548c\u8f38\u51fa\u7684\u9577\u5ea6\uff0c\u4e5f\u6703\u5f15\u767c\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u6578\u64da\u5eab\u7248\u672c\u554f\u984c\uff1a<\/strong>\u67d0\u4e9bOracle\u7248\u672c\u53ef\u80fd\u5b58\u5728\u5df2\u77e5\u7684bug\uff0c\u5c0e\u81f4\u6b64\u932f\u8aa4\u7684\u51fa\u73fe\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-zRzynbMwoT\">\u5f71\u97ff<\/h2>\n<p>ORA-28085\u932f\u8aa4\u4e0d\u50c5\u6703\u5f71\u97ff\u6578\u64da\u7684\u67e5\u8a62\u7d50\u679c\uff0c\u9084\u53ef\u80fd\u5c0e\u81f4\u61c9\u7528\u7a0b\u5e8f\u7684\u904b\u884c\u4e2d\u65b7\u3002\u9019\u5c0d\u65bc\u4f9d\u8cf4\u6578\u64da\u5eab\u9032\u884c\u5be6\u6642\u6578\u64da\u8655\u7406\u7684\u61c9\u7528\u4f86\u8aaa\uff0c\u53ef\u80fd\u6703\u9020\u6210\u56b4\u91cd\u7684\u696d\u52d9\u5f71\u97ff\u3002\u56e0\u6b64\uff0c\u53ca\u6642\u4fee\u5fa9\u6b64\u932f\u8aa4\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<h2 id=\"%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%a1%88-zRzynbMwoT\">\u89e3\u6c7a\u65b9\u6848<\/h2>\n<p>\u70ba\u4e86\u89e3\u6c7aORA-28085\u932f\u8aa4\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u4ee5\u63a1\u53d6\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e6%95%b8%e6%93%9a%e9%a1%9e%e5%9e%8b-zRzynbMwoT\">1. \u6aa2\u67e5\u6578\u64da\u985e\u578b<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u88ab\u906e\u853d\u5b57\u6bb5\u7684\u6578\u64da\u985e\u578b\u3002\u78ba\u4fdd\u8f38\u5165\u6578\u64da\u7684\u985e\u578b\u8207\u5b9a\u7fa9\u7684\u6578\u64da\u985e\u578b\u4e00\u81f4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u5b57\u6bb5\u5b9a\u7fa9\u70baVARCHAR2(10)\uff0c\u5247\u8f38\u5165\u7684\u6578\u64da\u9577\u5ea6\u61c9\u5c0f\u65bc\u6216\u7b49\u65bc10\u3002<\/p>\n<h3 id=\"2-%e8%aa%bf%e6%95%b4%e9%81%ae%e8%94%bd%e8%a6%8f%e5%89%87-zRzynbMwoT\">2. \u8abf\u6574\u906e\u853d\u898f\u5247<\/h3>\n<p>\u6aa2\u67e5\u6578\u64da\u906e\u853d\u898f\u5247\uff0c\u78ba\u4fdd\u8f38\u5165\u548c\u8f38\u51fa\u7684\u9577\u5ea6\u5339\u914d\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u8a9e\u53e5\u4f86\u67e5\u770b\u7576\u524d\u7684\u906e\u853d\u898f\u5247\uff1a<\/p>\n<pre><code>SELECT * FROM DBA_MASKING_POLICIES;<\/code><\/pre>\n<h3 id=\"3-%e6%9b%b4%e6%96%b0%e6%95%b8%e6%93%9a%e5%ba%ab%e7%89%88%e6%9c%ac-zRzynbMwoT\">3. \u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u6b64\u932f\u8aa4\u662f\u7531\u65bc\u6578\u64da\u5eab\u7248\u672c\u7684bug\u5f15\u8d77\u7684\uff0c\u5efa\u8b70\u66f4\u65b0\u5230\u6700\u65b0\u7684Oracle\u7248\u672c\uff0c\u4ee5\u7372\u53d6\u6700\u65b0\u7684\u4fee\u5fa9\u548c\u529f\u80fd\u3002<\/p>\n<h3 id=\"4-%e6%b8%ac%e8%a9%a6%e5%92%8c%e9%a9%97%e8%ad%89-zRzynbMwoT\">4. \u6e2c\u8a66\u548c\u9a57\u8b49<\/h3>\n<p>\u5728\u9032\u884c\u4efb\u4f55\u66f4\u6539\u5f8c\uff0c\u52d9\u5fc5\u9032\u884c\u5145\u5206\u7684\u6e2c\u8a66\uff0c\u4ee5\u78ba\u4fdd\u554f\u984c\u5df2\u7d93\u89e3\u6c7a\uff0c\u4e26\u4e14\u4e0d\u6703\u5f71\u97ff\u5176\u4ed6\u529f\u80fd\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-zRzynbMwoT\">\u7d50\u8ad6<\/h2>\n<p>ORA-28085\u932f\u8aa4\u662fOracle\u6578\u64da\u5eab\u4e2d\u5e38\u898b\u7684\u554f\u984c\u4e4b\u4e00\uff0c\u4e3b\u8981\u7531\u65bc\u6578\u64da\u906e\u853d\u529f\u80fd\u7684\u8f38\u5165\u548c\u8f38\u51fa\u9577\u5ea6\u4e0d\u5339\u914d\u6240\u5f15\u8d77\u3002\u901a\u904e\u6aa2\u67e5\u6578\u64da\u985e\u578b\u3001\u8abf\u6574\u906e\u853d\u898f\u5247\u3001\u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c\u4ee5\u53ca\u9032\u884c\u5145\u5206\u7684\u6e2c\u8a66\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\u9032\u4e00\u6b65\u4e86\u89e3\u5982\u4f55\u9078\u64c7\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\uff0c\u6216\u6709\u5176\u4ed6\u6578\u64da\u5eab\u7ba1\u7406\u7684\u9700\u6c42\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u8cc7\u8a0a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to resolve ORA-28085: input and output lengths of redaction mismatch in Oracle. Troubleshooting tips for effective remote handling.<\/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-90814","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90814","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=90814"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90814\/revisions"}],"predecessor-version":[{"id":90815,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90814\/revisions\/90815"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}