Heim > Datenbank > MySQL-Tutorial > Hauptteil

ORA-01552: 非系统表空间 USERS 不能使用系统回退段的处理

WBOY
Freigeben: 2016-06-07 17:40:34
Original
1530 Leute haben es durchsucht

故障现象: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 Settings\Administrator>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:\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 bytes

Fixed Size                  1250428 bytes

Variable Size             167775108 bytes

Database Buffers          436207616 bytes

Redo Buffers                7135232 bytes

数据库装载完毕。

数据库已经打开。

 

 

 

本文出自 “麦地坞” 博客,美国服务器,虚拟主机,请务必保留此出处

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!