oracle9i回滚段表空间丢失后的处理方法
2007-03-09 15:31
274 查看
具体操作步骤如下:
首先把初init.ora文件里自动管理改为手工管理,然后加入隐含参数:
#undo_management=AUTO
undo_tablespace=UNDOTBS
SQL>startup mount (数据库启动到mount状态)
SQL>alter database open;
Database opened.
SQL> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ---------
undo_management string MANUAL
undo_retention integer 900
undo_suppress_errors boolean FALSE
undo_tablespace string UNDOTBS
SQL> drop tablespace undotbs including contents;
Tablespace dropped.
drop tablespace undotbs1 including contents;
重建undotbs表空间:
SQL> create undo tablespace undotbs datafile '/dev/rlvundotbs' size 6000M;
Tablespace created.
SQL> shutdown immediate (关闭数据库)
Database closed.
Database dismounted.
ORACLE instance shut down.
编辑init.ora初始化参数文件,去掉隐含参数,设置
undo_management=AUTO
undo_tablespace=UNDOTBS
保存init.ora文件,然后执行
SQL> startup mount
ORACLE instance mounted.
Total System Global Area 114061244 bytes
Fixed Size 282556 bytes
Variable Size 79691776 bytes
首先把初init.ora文件里自动管理改为手工管理,然后加入隐含参数:
#undo_management=AUTO
undo_tablespace=UNDOTBS
SQL>startup mount (数据库启动到mount状态)
SQL>alter database open;
Database opened.
SQL> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ---------
undo_management string MANUAL
undo_retention integer 900
undo_suppress_errors boolean FALSE
undo_tablespace string UNDOTBS
SQL> drop tablespace undotbs including contents;
Tablespace dropped.
drop tablespace undotbs1 including contents;
重建undotbs表空间:
SQL> create undo tablespace undotbs datafile '/dev/rlvundotbs' size 6000M;
Tablespace created.
SQL> shutdown immediate (关闭数据库)
Database closed.
Database dismounted.
ORACLE instance shut down.
编辑init.ora初始化参数文件,去掉隐含参数,设置
undo_management=AUTO
undo_tablespace=UNDOTBS
保存init.ora文件,然后执行
SQL> startup mount
ORACLE instance mounted.
Total System Global Area 114061244 bytes
Fixed Size 282556 bytes
Variable Size 79691776 bytes
相关文章推荐
- ORACLE 回滚段表空间数据文件丢失或损坏处理方法(2)
- Oracle数据库空间文件丢失处理方法
- ORACLE 回滚段表空间数据文件丢失或损坏处理方法(1)
- Oracle数据库空间文件丢失处理方法
- ORACLE回滚段表空间数据文件丢失或损坏处理方法(转)
- Oracle数据库联机日志文件丢失处理方法
- 回滚段表空间数据文件损坏处理方法
- Redo丢失场景和处理方法
- ORACLE联机日志文件丢失或损坏的处理方法
- 我对C++ string和length方法的一个长期误解------从protobuf序列化说起(没处理好会引起数据丢失、反序列化失败哦!)
- C#处理带有命名空间的xml方法
- oracle temp表空间处理方法
- Oracle temp表空间爆满的处理方法
- 安装Oracle的时候报SWAP空间不足的处理方法
- [转载]XP向windows 7传输文件时系统提示“服务器存储空间不足,无法处理此命令”故障的解决方法
- struts2 result类型为redirectAction时,跳转转到另一个包空间里的一个action的指定处理方法的xml配置
- ORACLE联机日志文件丢失或损坏的处理方法(转载)
- Oracle7.X 回滚表空间数据文件误删除处理方法
- Oracle7.X 回滚表空间数据文件误删除处理方法
- 内存或磁盘空间不足,Microsoft Office Excel 无法再次打开或保存任何文档 的处理方法