zoukankan      html  css  js  c++  java
  • oracle ORA-00604/ORA-01653

    问题描述:

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

    工具/原料

     
    • oracle
    • plsql

    方法/步骤

     
    1.  

      问题解析

      ORA-00604: error occurred at recursive SQL level 1的错误指的是 内部的SQL语句执行失败ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM 意思是表空间已满

      oracle ORA-00604/ORA-01653问题处理
    2.  

      问题查询

      首先用下列SQL语句查看表空间的使用情况,看下表空间还剩多少内存select   username,default_tablespace,temporary_tablespace   from   dba_userswhere   (default_tablespace='SYSTEM'   or   temporary_tablespace='SYSTEM')   and   username   not   in   ('SYSTEM','SYS');select tablespace_name,(bytes/1024/1024) M from dba_data_files;

      oracle ORA-00604/ORA-01653问题处理
    3.  

      解决方案1:

      更改system表空间的数据文件SYSTEM.dbf分配空间 alter database datafile '/u04/oradata/truth/system01.dbf' resize 5524M;

    4.  

      解决方:2:

      为表空间新增数据文件

      ALTER TABLESPACE  表空间名ADD DATAFILE '数据文件路径'SIZE 500MAUTOEXTEND ON  NEXT 1M MAXSIZE UNLIMITED;

    5.  

      解决方案3:

      上述两种方案就可以解决这个问题,第三种不建议大家使用

      把system表空间中的表移到非系统表空间检查下是否有其他非系统表放在系统表空间下,要是有的话,可以移到非系统表空间alter table move tablespace tablespace_name

      END
     
  • 相关阅读:
    git笔记
    微信扫码支付 php
    linux 下远程连接windows
    ubuntu15.10下搭建cordova+ionic开发环境
    Linux下磁盘分区挂载
    协议抓包分析软件
    MySQL分表的三种方法
    html5的audio实现高仿微信语音播放效果
    ThinkPHP页面跳转success与error方法
    jquery正则表达式验证(手机号、身份证号、中文名称)
  • 原文地址:https://www.cnblogs.com/bangchen/p/7268110.html
Copyright © 2011-2022 走看看