ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM


在用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;

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM