从错误的角度可以推出:
应该是表空间不足
根据查看表空间的使用情况:
select
b.file_name 物理文件名,
b.tablespace_name 表空间,
b.bytes/1024/1024 大小M,
(b.bytes-sum(nvl(a.bytes,0)))/1024/1024 已使用M,
substr((b.bytes-sum(nvl(a.bytes,0)))/(b.bytes)*100,1,5) 利用率
from dba_free_space a,dba_data_files b
where a.file_id=b.file_id
group by b.tablespace_name,b.file_name,b.bytes
order by b.tablespace_name
发现:
/data/ora11g/oradata/oracle9i/system01.dbf
SYSTEM 4096
FILE_NAME
--------------------------------------------------------------------------------
TABLESPACE_NAME B.BYTES/1024/1024
------------------------------ -----------------
(B.BYTES-SUM(NVL(A.BYTES,0)))/1024/1024 SUBSTR((B.
--------------------------------------- ----------
4042 98.68
/data/ora11g/oradata/oracle9i/system02.dbf
SYSTEM 4096
4035 98.51
基本定位,是SYSTEM表空间占用率,将近到达100%
通过增加数据文件,解决问题:
SQL> ALTER TABLESPACE SYSTEM ADD DATAFILE '/data/ora11g/oradata/oracle9i/system03.dbf'SIZE 200M
2 AUTOEXTEND ON
3 NEXT 1024M
4 MAXSIZE 8192M;