您的位置:首页 > 数据库 > Oracle

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

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

主要是因为: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  数据库 oracle
相关文章推荐