oracle system,sysaux表空间快满了,如何清理一些冗余的数据~~,谢谢!!

解决方案 »

  1.   

    现在多大了select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
    from dba_tablespaces t, dba_data_files d
    where t.tablespace_name = d.tablespace_name
    group by t.tablespace_name;
      

  2.   

    先查看system和sysaux表空间是否是自动扩展的。   SQL>select tablespace_name,AUTOEXTENSIBLE,INCREMENT_BY from dba_data_files;  如果为自动扩展那么AUTOEXTENSIBLE字段的值应为  YES,是否为NO;INCREMENT_BY 这个为每次自动扩展的空间大小。
    扩展语句:alter database datafile '/u01/system_01.dbf'  autoextend on next 50M  maxsize 5000M;
      

  3.   

    这个一般都是oracle自己控制的。。 自动增长