{"id":163301,"date":"2024-11-04T22:21:20","date_gmt":"2024-11-04T14:21:20","guid":{"rendered":"https:\/\/server.hk\/cnblog\/163301\/"},"modified":"2024-11-04T22:21:22","modified_gmt":"2024-11-04T14:21:22","slug":"%e8%a7%a3%e6%b1%baoracle%e5%b0%8e%e5%85%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95%e7%b0%a1%e4%bb%8b%ef%bc%88oracle%e5%b0%8e%e5%85%a5%e6%95%b8%e6%93%9a%e5%ba%ab","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/163301\/","title":{"rendered":"\u89e3\u6c7aOracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4\u7684\u65b9\u6cd5\u7c21\u4ecb\uff08Oracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4\uff09"},"content":{"rendered":"<h1 id=\"%e8%a7%a3%e6%b1%baoracle%e5%b0%8e%e5%85%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95%e7%b0%a1%e4%bb%8b-RfzxiFxECC\">\u89e3\u6c7aOracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4\u7684\u65b9\u6cd5\u7c21\u4ecb<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u6578\u64da\u9a45\u52d5\u6642\u4ee3\uff0cOracle\u6578\u64da\u5eab\u4f5c\u70ba\u4e00\u500b\u5f37\u5927\u7684\u6578\u64da\u7ba1\u7406\u7cfb\u7d71\uff0c\u88ab\u5ee3\u6cdb\u61c9\u7528\u65bc\u5404\u7a2e\u4f01\u696d\u548c\u7d44\u7e54\u4e2d\u3002\u7136\u800c\uff0c\u5728\u5c0e\u5165\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u4f7f\u7528\u8005\u7d93\u5e38\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u4e00\u4e9b\u5e38\u898b\u7684Oracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4\u53ca\u5176\u89e3\u6c7a\u65b9\u6cd5\uff0c\u5e6b\u52a9\u4f7f\u7528\u8005\u66f4\u6709\u6548\u5730\u9032\u884c\u6578\u64da\u5eab\u7ba1\u7406\u3002<\/p>\n<h2 id=\"%e5%b8%b8%e8%a6%8b%e7%9a%84oracle%e5%b0%8e%e5%85%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e9%8c%af%e8%aa%a4-RfzxiFxECC\">\u5e38\u898b\u7684Oracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4<\/h2>\n<p>\u5728\u5c0e\u5165Oracle\u6578\u64da\u5eab\u6642\uff0c\u4f7f\u7528\u8005\u53ef\u80fd\u6703\u9047\u5230\u4ee5\u4e0b\u5e7e\u7a2e\u5e38\u898b\u932f\u8aa4\uff1a<\/p>\n<ul>\n<li><strong>ORA-01555: Snapshot Too Old<\/strong>\uff1a\u9019\u500b\u932f\u8aa4\u901a\u5e38\u767c\u751f\u5728\u9577\u6642\u9593\u904b\u884c\u7684\u67e5\u8a62\u4e2d\uff0c\u56e0\u70baOracle\u7121\u6cd5\u627e\u5230\u6240\u9700\u7684\u820a\u5feb\u7167\u3002<\/li>\n<li><strong>ORA-00001: Unique Constraint Violated<\/strong>\uff1a\u7576\u63d2\u5165\u7684\u6578\u64da\u9055\u53cd\u4e86\u552f\u4e00\u7d04\u675f\u6642\uff0c\u6703\u51fa\u73fe\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>ORA-00942: Table or View Does Not Exist<\/strong>\uff1a\u9019\u8868\u793a\u7528\u6236\u5617\u8a66\u8a2a\u554f\u4e00\u500b\u4e0d\u5b58\u5728\u7684\u8868\u6216\u8996\u5716\u3002<\/li>\n<li><strong>ORA-12560: TNS:protocol adapter error<\/strong>\uff1a\u9019\u901a\u5e38\u8207\u7db2\u7d61\u914d\u7f6e\u6709\u95dc\uff0c\u8868\u793aOracle\u7121\u6cd5\u9023\u63a5\u5230\u6578\u64da\u5eab\u3002<\/li>\n<\/ul>\n<h2 id=\"%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95-RfzxiFxECC\">\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n<h3 id=\"1-%e8%a7%a3%e6%b1%baora-01555%e9%8c%af%e8%aa%a4-RfzxiFxECC\">1. \u89e3\u6c7aORA-01555\u932f\u8aa4<\/h3>\n<p>\u70ba\u4e86\u89e3\u6c7aORA-01555\u932f\u8aa4\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u8003\u616e\u4ee5\u4e0b\u5e7e\u7a2e\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u589e\u52a0Undo\u8868\u7a7a\u9593\u7684\u5927\u5c0f\uff0c\u4ee5\u4fbf\u80fd\u5920\u4fdd\u5b58\u66f4\u591a\u7684\u5feb\u7167\u3002<\/li>\n<li>\u512a\u5316\u67e5\u8a62\uff0c\u6e1b\u5c11\u67e5\u8a62\u7684\u57f7\u884c\u6642\u9593\u3002<\/li>\n<li>\u4f7f\u7528\u66f4\u9ad8\u7684\u5feb\u7167\u9694\u96e2\u7d1a\u5225\uff0c\u4f8b\u5982Serializable\u3002<\/li>\n<\/ul>\n<h3 id=\"2-%e8%a7%a3%e6%b1%baora-00001%e9%8c%af%e8%aa%a4-RfzxiFxECC\">2. \u89e3\u6c7aORA-00001\u932f\u8aa4<\/h3>\n<p>\u5c0d\u65bcORA-00001\u932f\u8aa4\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u63a1\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a<\/p>\n<ul>\n<li>\u6aa2\u67e5\u6578\u64da\u662f\u5426\u5df2\u7d93\u5b58\u5728\u65bc\u8868\u4e2d\uff0c\u907f\u514d\u91cd\u8907\u63d2\u5165\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981\u63d2\u5165\u91cd\u8907\u6578\u64da\uff0c\u53ef\u4ee5\u8003\u616e\u4fee\u6539\u552f\u4e00\u7d04\u675f\u6216\u4f7f\u7528\u5408\u4f75\u8a9e\u53e5\u3002<\/li>\n<\/ul>\n<h3 id=\"3-%e8%a7%a3%e6%b1%baora-00942%e9%8c%af%e8%aa%a4-RfzxiFxECC\">3. \u89e3\u6c7aORA-00942\u932f\u8aa4<\/h3>\n<p>\u89e3\u6c7aORA-00942\u932f\u8aa4\u7684\u65b9\u6cd5\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u6aa2\u67e5\u7528\u6236\u662f\u5426\u64c1\u6709\u8a2a\u554f\u8a72\u8868\u6216\u8996\u5716\u7684\u6b0a\u9650\u3002<\/li>\n<li>\u78ba\u8a8d\u8868\u6216\u8996\u5716\u7684\u540d\u7a31\u662f\u5426\u6b63\u78ba\uff0c\u4e26\u4e14\u5728\u6b63\u78ba\u7684\u6a21\u5f0f\u4e0b\u3002<\/li>\n<\/ul>\n<h3 id=\"4-%e8%a7%a3%e6%b1%baora-12560%e9%8c%af%e8%aa%a4-RfzxiFxECC\">4. \u89e3\u6c7aORA-12560\u932f\u8aa4<\/h3>\n<p>\u5c0d\u65bcORA-12560\u932f\u8aa4\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u8003\u616e\u4ee5\u4e0b\u6b65\u9a5f\uff1a<\/p>\n<ul>\n<li>\u6aa2\u67e5Oracle\u670d\u52d9\u662f\u5426\u6b63\u5728\u904b\u884c\u3002<\/li>\n<li>\u78ba\u8a8dtnsnames.ora\u6587\u4ef6\u4e2d\u7684\u914d\u7f6e\u662f\u5426\u6b63\u78ba\u3002<\/li>\n<li>\u6aa2\u67e5\u7db2\u7d61\u9023\u63a5\uff0c\u78ba\u4fdd\u5ba2\u6236\u7aef\u80fd\u5920\u9023\u63a5\u5230\u6578\u64da\u5eab\u670d\u52d9\u5668\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-RfzxiFxECC\">\u7e3d\u7d50<\/h2>\n<p>\u5728\u5c0e\u5165Oracle\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u9047\u5230\u932f\u8aa4\u662f\u5e38\u898b\u7684\u60c5\u6cc1\u3002\u4e86\u89e3\u9019\u4e9b\u932f\u8aa4\u7684\u539f\u56e0\u53ca\u5176\u89e3\u6c7a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5e6b\u52a9\u4f7f\u7528\u8005\u66f4\u6709\u6548\u5730\u7ba1\u7406\u6578\u64da\u5eab\u3002\u7121\u8ad6\u662f\u8655\u7406ORA-01555\u3001ORA-00001\u3001ORA-00942\u9084\u662fORA-12560\u932f\u8aa4\uff0c\u638c\u63e1\u76f8\u61c9\u7684\u89e3\u6c7a\u65b9\u6848\u90fd\u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002\u82e5\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u652f\u6301\u6216\u5c0b\u627e\u5408\u9069\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8003\u616e\u4f7f\u7528<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u670d\u52d9\uff0c\u9019\u5c07\u70ba\u60a8\u7684\u6578\u64da\u5eab\u7ba1\u7406\u63d0\u4f9b\u7a69\u5b9a\u7684\u57fa\u790e\u8a2d\u65bd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u89e3\u6c7aOracle\u5c0e\u5165\u6578\u64da\u5eab\u932f\u8aa4\u7684\u65b9\u6cd5\uff0c\u63d0\u5347\u6578\u64da\u5eab\u7ba1\u7406\u6548\u7387\uff0c\u78ba\u4fdd\u6578\u64da\u6e96\u78ba\u6027\u8207\u7cfb\u7d71\u7a69\u5b9a\u6027\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-163301","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163301","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=163301"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163301\/revisions"}],"predecessor-version":[{"id":163302,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163301\/revisions\/163302"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=163301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=163301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=163301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}