{"id":1015,"date":"2012-07-14T23:16:11","date_gmt":"2012-07-14T15:16:11","guid":{"rendered":"https:\/\/yangtingkun.net\/?p=1015"},"modified":"2012-07-20T21:19:33","modified_gmt":"2012-07-20T13:19:33","slug":"%e5%af%86%e7%a0%81%e5%8d%b3%e5%b0%86%e8%bf%87%e6%9c%9f%e6%8f%90%e7%a4%ba%e7%9a%84%e5%bd%b1%e5%93%8d","status":"publish","type":"post","link":"https:\/\/yangtingkun.net\/?p=1015","title":{"rendered":"\u5bc6\u7801\u5373\u5c06\u8fc7\u671f\u63d0\u793a\u7684\u5f71\u54cd"},"content":{"rendered":"<p>\u5f53\u7528\u6237\u5bc6\u7801\u5373\u5c06\u8fc7\u671f\u65f6\uff0c\u5728\u767b\u5f55\u65f6Oracle\u4f1a\u63d0\u793aORA-28002\u9519\u8bef\uff0c\u4f46\u662f\u5e76\u4e0d\u4f1a\u5f71\u54cd\u6b63\u5e38\u7684\u767b\u5f55\u3002<br \/>\n\u672c\u6765\u8ba4\u4e3a\u8fd9\u4e2a\u4fe1\u606f\u5e76\u6ca1\u6709\u592a\u5927\u7684\u5f71\u54cd\uff0c\u4f46\u662f\u6ca1\u60f3\u5230\u8fd9\u4e2a\u9519\u8bef\u4f1a\u5bfc\u81f4SET AUTOTRACE\u529f\u80fd\u5931\u6548\uff1a<\/p>\n<pre lang='SQL'>solaris*orcl-\/home\/oracle$ sqlplus test\/test\r\nSQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 11:27:28 2012\r\nCopyright (c) 1982, 2011, Oracle. All rights reserved.\r\nERROR:\r\nORA-28002: the password will expire within 1 days\r\nConnected to:\r\nOracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production\r\nWith the Partitioning, Oracle Label Security and Real Application Testing options\r\nSQL> set autot on\r\nERROR:\r\nORA-28002: the password will expire within 1 days\r\n\r\nSP2-0619: Error while connecting\r\nSP2-0611: Error enabling STATISTICS report\r\nSQL> alter user test identified by test;\r\nUser altered.\r\nSQL> set autot on\r\nERROR:\r\nORA-24315: illegal attribute type\r\n\r\nSP2-0619: Error while connecting\r\nSP2-0611: Error enabling STATISTICS report\r\nSQL> exit\r\nDisconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production\r\nWith the Partitioning, Oracle Label Security and Real Application Testing options\r\nsolaris*orcl-\/home\/oracle$ sqlplus test\/test\r\nSQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 11:27:52 2012\r\nCopyright (c) 1982, 2011, Oracle. All rights reserved.\r\n\r\nConnected to:\r\nOracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production\r\nWith the Partitioning, Oracle Label Security and Real Application Testing options\r\nSQL> set autot on\r\nSQL> insert into t values (1, 'a');\r\n1 row created.\r\n\r\nExecution Plan\r\n----------------------------------------------------------\r\n---------------------------------------------------------------------------------\r\n| Id  | Operation                | Name | Rows  | Bytes | Cost (%CPU)| Time     |\r\n---------------------------------------------------------------------------------\r\n|   0 | INSERT STATEMENT         |      |     1 |    12 |     1   (0)| 00:00:01 |\r\n|   1 |  LOAD TABLE CONVENTIONAL | T    |       |       |            |          |\r\n---------------------------------------------------------------------------------\r\n\r\nStatistics\r\n----------------------------------------------------------\r\n         71  recursive calls\r\n          9  db block gets\r\n         75  consistent gets\r\n         10  physical reads\r\n       1284  redo size\r\n        829  bytes sent via SQL*Net to client\r\n        785  bytes received via SQL*Net from client\r\n          3  SQL*Net roundtrips to\/from client\r\n          9  sorts (memory)\r\n          0  sorts (disk)\r\n          1  rows processed<\/pre>\n<p>\u5f88\u663e\u7136\uff0c\u7531\u4e8eORA-28002\u9519\u8bef\u5bfc\u81f4\u4e86SET AUTOTRACE ON\u529f\u80fd\u542f\u7528\u65f6\u78b0\u5230\u4e86\u9519\u8bef\u3002\u5f53\u4fee\u6539\u4e86\u5f53\u524d\u7684\u7528\u6237\u5bc6\u7801\uff0c\u5219ORA-28002\u4e0d\u518d\u51fa\u73b0\u540e\uff0cSET AUTOTRACE ON\u7684\u529f\u80fd\u6062\u590d\u6b63\u5e38\u3002<br \/>\n\u6839\u636e\u4e0a\u9762\u7684\u4fe1\u606f\u5176\u5b9e\u53ef\u4ee5\u5224\u65ad\uff0c\u5728\u542f\u7528SET AUTOTRACE ON\u529f\u80fd\u65f6\uff0csqlplus\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u4f1a\u8bdd\u6765\u8bb0\u5f55\u5f53\u524d\u4f1a\u8bdd\u7684\u7edf\u8ba1\u4fe1\u606f\u3002<br \/>\n\u800c\u542f\u7528\u7684\u65b0\u7684\u4f1a\u8bdd\u4f1a\u4f7f\u7528\u5f53\u524d\u4f1a\u8bdd\u767b\u5f55\u65f6\u4fdd\u5b58\u7684\u5bc6\u7801\u6765\u8fdb\u884c\u767b\u5f55\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u4f8b\u5b50\u6765\u9a8c\u8bc1\u8fd9\u4e2a\u63a8\u8bba\uff1a<\/p>\n<pre lang='SQL'>solaris*orcl-\/home\/oracle$ sqlplus test\/test\r\nSQL*Plus: Release 11.2.0.3.0 Production on Sun Jul 15 01:28:38 2012\r\nCopyright (c) 1982, 2011, Oracle. All rights reserved.\r\n\r\nConnected to:\r\nOracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production\r\nWith the Partitioning, Oracle Label Security and Real Application Testing options\r\nSQL> set autot on\r\nSQL> set autot off\r\nSQL> alter user test identified by test1;\r\nUser altered.\r\nSQL> set autot on\r\nERROR:\r\nORA-01017: invalid username\/password; logon denied\r\n\r\nSP2-0619: Error while connecting\r\nSP2-0611: Error enabling STATISTICS report<\/pre>\n<p>\u679c\u7136\uff0c\u5728\u7528\u6237\u767b\u5f55\u540e\uff0c\u5982\u679c\u5f53\u524d\u7684\u5bc6\u7801\u88ab\u4fee\u6539\uff0c\u662f\u4f1a\u5bfc\u81f4SET AUTOTRACE ON\u542f\u7528\u65f6\u62a5\u9519\u4e0d\u6b63\u786e\u7684\u7528\u6237\u540d\u5bc6\u7801\u9519\u8bef\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u7528\u6237\u5bc6\u7801\u5373\u5c06\u8fc7\u671f\u65f6\uff0c\u5728\u767b\u5f55\u65f6Oracle\u4f1a\u63d0\u793aORA-28002\u9519\u8bef\uff0c\u4f46\u662f\u5e76\u4e0d\u4f1a\u5f71\u54cd\u6b63\u5e38\u7684\u767b\u5f55\u3002 \u672c\u6765\u8ba4\u4e3a\u8fd9\u4e2a\u4fe1\u606f\u5e76\u6ca1\u6709\u592a\u5927\u7684\u5f71\u54cd\uff0c\u4f46\u662f\u6ca1\u60f3\u5230\u8fd9\u4e2a\u9519\u8bef\u4f1a\u5bfc\u81f4SET AUTOTRACE\u529f\u80fd\u5931\u6548\uff1a solaris*orcl-\/home\/oracle$ sqlplus test\/test SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 11:27:28 2012 Copyright (c) 1982, 2011, Oracle. All rights reserved. ERROR: ORA-28002: the password will expire within 1 days Connected to: Oracle Database 11g Enterprise Edition &hellip; <a href=\"https:\/\/yangtingkun.net\/?p=1015\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[876,873,874,206,875,872],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2yiY3-gn","_links":{"self":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1015"}],"collection":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1015"}],"version-history":[{"count":1,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1016,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions\/1016"}],"wp:attachment":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}