ORA-01552: 非系统表空间 USERS 不能使用系统回退段的处理
Jun 07, 2016 pm 05:40 PM故障现象:ERROR:12-09-2016:15:03获取最大号时发生错误:CallableStatementCallback;uncategorizedSQLExceptionforSQL[{callUSP_SYS_CMSCODE(?,?,?,?)}];SQLstat
故障现象:
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 24
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31
ORA-06512: 在 line 1; nested exception is java.sql.SQLException: ORA-01552: 非系统表空间 'USERS' 不能使用系统回退段
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31
ORA-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 24
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31
ORA-06512: 在 line 1
; nested exception is java.sql.SQLException: ORA-01552: 非系统表空间 'USERS' 不能使用系统回退段
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 24
ORA-06512: 在 "WMP2.USP_SYS_CMSCODE", line 31
ORA-06512: 在 line 1
故障分析:
UNDO表空间数据文件受损,香港虚拟主机,导致执行更新操作失败。
故障修复:
C:Documents and SettingsAdministrator>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 9月 20 17:26:38 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> create undo tablespace "UNDOTBS02" datafile 'D:oracleproduct10.2.0oradatazjportUNDOTBS02.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 bytes
Fixed Size 1250428 bytes
Variable Size 167775108 bytes
Database Buffers 436207616 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
数据库已经打开。
本文出自 “麦地坞” 博客,美国服务器,虚拟主机,请务必保留此出处

热门文章

热门文章

热门文章标签

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

crystaldiskmark是什么软件?-crystaldiskmark如何使用?
