數據庫異常 ORA-00604: error occurred at recursive SQL level 1 ORA-01653:

 

數據庫表空間已滿異常

 

**************************  以下轉自

http://blog.sina.com.cn/s/blog_5fa32a510100mji8.html  *****************************

 

在用sqlplus user/password@truth登錄數據庫時報如下錯誤:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
ORA-02002: error while writing to audit trail
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM


ORA-00604: error occurred at recursive SQL level 1的錯誤指的是內部的SQL語句執行失敗
ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM 意思是表空間已滿

以sqlplus / as sysdba 登錄數據庫
首先用下列SQL語句查看錶空間的使用情況
select   username,default_tablespace,temporary_tablespace   from   dba_users
where   (default_tablespace='SYSTEM'   or   temporary_tablespace='SYSTEM')   and   username   not   in   ('SYSTEM','SYS');
select tablespace_name,(bytes/1024/1024) M from dba_data_files;

 

幾種方法處理表空間已滿。
1、更改system表空間的數據文件SYSTEM.dbf分配空間
alter database datafile '/u04/oradata/truth/system01.dbf' resize 5524M;
2、爲system表空間另外新增一個數據文件
3、把system表空間中的表移到非系統表空間
檢查下是否有其他非系統表放在系統表空間下,
要是有的話,可以移到非系統表空間
alter table move tablespace tablespace_name

發佈了56 篇原創文章 · 獲贊 6 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章