请大家看一下这个错误如何解决?

[复制链接]
查看11 | 回复9 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
solaris8 + oracle9.2.01
create tablespace ROLLBACK_1
DATAFILE '/disk1/roll1_ora9.dbf' size 60M
default storage (initial 1M next 1M pctincrease 0)
online;
create tablespace ROLLBACK_2
DATAFILE '/disk1/roll2_ora9.dbf' size 60M
default storage (initial 1M next 1M pctincrease 0)
online;
create ROLLBACK segment ROLL1
tablespace ROLLBACK_1
storage (initial 1M next 1M minextents 10);
create ROLLBACK segment ROLL2
tablespace ROLLBACK_1
storage (initial 1M next 1M minextents 10);
create ROLLBACK segment ROLL3
tablespace ROLLBACK_2
storage (initial 1M next 1M minextents 10);
create ROLLBACK segment ROLL4
tablespace ROLLBACK_2
storage (initial 1M next 1M minextents 10);
错误信息:
reating 2 ROLLBACK tablespaces and associated segments...
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.IDL_UB2$ by 25 in tablespace SYSTEM
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.IDL_UB2$ by 25 in tablespace SYSTEM
Error accessing package DBMS_APPLICATION_INFO
Tablespace created.
create tablespace ROLLBACK_2
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01655: unable to extend cluster SYS.C_TS# by 3 in tablespace SYSTEM
Rollback segment created.
Rollback segment created.
create ROLLBACK segment ROLL3
*
ERROR at line 1:
ORA-00959: tablespace 'ROLLBACK_2' does not exist
create ROLLBACK segment ROLL4
*
ERROR at line 1:
ORA-00959: tablespace 'ROLLBACK_2' does not exist
请各位大侠诊断一下错误原因。谢谢!!!
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
在init*.ora中已经加了undo_management =‘MANUAL‘
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
察看system tablespace所在的数据文件 ,在物理上(操作系统)是不是能够扩展(比如是不是超过2G,是不是 所在分区没有了空间)
察看system tablespace 所在的数据文件,在数据库中是不是给定义成可以自动扩展
(select FILE_NAME,TABLESPACE_NAME,AUTOEXTENSIBLE from dba_data_files where TABLESPACE_NAME='SYSTEM';)
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
这是整个脚本文件的一部分,在solaris8 + oracle8.1.7.0.0中运行没有出任何问题,但在9.2.0.1中出现了这些错误。请各位指出为何出错,以及如何修改。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
而且目录中roll1_ora9.dbf已经建立,而roll2_ora9.dbf没有建立。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
好像ora9i已经不需要rallback段啦,只需要一个undo的表空间,一切有undo表空间管理,也不需要init next的配置拉。
8i还是需要的,所以没有问题。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
9i中默认使用自动的回滚段管理方式,如果你要手动管理,必须加上undo_management =MANUAL
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
问题解决了,是因为SYSTEM空间太小了,谢谢各位!!
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
你的system应该设置为自动扩展的吧
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
以前只有50M,reuse,
我把它改成150M,就OK了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行