ORA-01552: 非系統資料表空間 'USERS' 不能使用系統回退段的處理

來源:互聯網
上載者:User

故障現象:ERROR: 12-09-20 16:15:03 擷取最大號時發生錯誤:CallableStatementCallback; uncategorized SQLException for SQL [{call USP_SYS_CMSCODE(?, ?, ?, ?)}]; SQL state [72000]; error code [1552]; ORA-01552: 非系統資料表空間 'USERS' 不能使用系統回退段ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31ORA-06512: 在 line 1; nested exception is java.sql.SQLException: ORA-01552: 非系統資料表空間 'USERS' 不能使用系統回退段ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31ORA-06512: 在 line 1
java.lang.RuntimeException: 擷取最大號時發生錯誤:CallableStatementCallback; uncategorized SQLException for SQL [{call USP_SYS_CMSCODE(?, ?, ?, ?)}]; SQL state [72000]; error code [1552]; ORA-01552: 非系統資料表空間 'USERS' 不能使用系統回退段ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31ORA-06512: 在 line 1; nested exception is java.sql.SQLException: ORA-01552: 非系統資料表空間 'USERS' 不能使用系統回退段ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31ORA-06512: 在 line 1 故障分析:UNDO資料表空間資料檔案受損,導致執行更新操作失敗。 損毀修復:C:\Documents and Settings\Administrator>sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 20 17:26:38 2012Copyright (c) 1982, 2005, Oracle.  All rights reserved.
串連到:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Mining options
SQL> create undo tablespace "UNDOTBS02" datafile 'D:\oracle\product\10.2.0\oradata\zjport\UNDOTBS02.DBF' size 128m reuse autoextend on next 10m maxsize 2048m;
資料表空間已建立。
SQL> alter system set undo_tablespace=UNDOTBS02  scope=spfile;
系統已更改。
SQL> alter system set undo_management=auto scope=spfile;
系統已更改。
SQL> shutdown immediate;資料庫已經關閉。已經卸載資料庫。ORACLE 常式已經關閉。 SQL> startup;ORACLE 常式已經啟動。資料庫裝載完畢。資料庫已經開啟。
SQL> DROP TABLESPACE UNDOTBS1 INCLUDING CONTENTS AND DATAFILES;
資料表空間已刪除。
SQL> shutdown immediate;資料庫已經關閉。已經卸載資料庫。ORACLE 常式已經關閉。SQL> startup;ORACLE 常式已經啟動。
Total System Global Area  612368384 bytesFixed Size                  1250428 bytesVariable Size             167775108 bytesDatabase Buffers          436207616 bytesRedo Buffers                7135232 bytes資料庫裝載完畢。資料庫已經開啟。

 

 

 

本文出自 “麥地塢” 部落格,請務必保留此出處http://yunlongzheng.blog.51cto.com/788996/1001879

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.