zoukankan      html  css  js  c++  java
  • ORA00604: error occurred at recursive SQL level 1 ORA01653: 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

  • 相关阅读:
    CAP 与数据一致性
    C++的构造函数为何不能为虚函数
    构造函数和析构函数中可以调用调用虚函数吗
    HTTP状态码
    C++ 单例模式实现
    【转】十大经典排序算法
    C++ short/int/long/long long 等数据类型大小
    块/文件/对象三种存储的优缺点
    罗振宇《时间的朋友》2019-2020
    Google Hacking
  • 原文地址:https://www.cnblogs.com/vipsoft/p/2621533.html
Copyright © 2011-2022 走看看