解决 ORA-01552: 非系统表空间'TEST' 无法使用系统回退段 的方法

来源:互联网 发布:python正则表达式详解 编辑:程序博客网 时间:2024/05/17 08:47

今天突然数据库修改数据不能修改了,通过查阅别人的经验,结合自己的实际操作,成功的解决了这种问题。

主要是因为:UNDO表空间数据文件受损,导致执行更新操作失败。

解决方法如下:

bash-3.1$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on 0 09:54:43 2015
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
SQL> conn /as sysdba;
Connected.
SQL> create undo tablespace "UNDOTBS02" datafile '/u01/app/oracle/oradata/novel/UNDOTBS02' size 128m reuse autoextend on next 10m maxsize 2048m;
Tablespace created.

SQL> alter system set undo_tablespace=UNDOTBS02  scope=spfile;
System altered.

SQL> alter system set undo_management=auto scope=spfile;
System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.

Total System Global Area  457179136 bytes
Fixed Size                  1219928 bytes
Variable Size             444596904 bytes
Database Buffers            8388608 bytes
Redo Buffers                2973696 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

0 0
原创粉丝点击