oracle11gsysaux表空间使用率非常高的问题解决

今天发现有个数据库的sysaux表空间暴涨,快要100%了,如图:
oracle 11g sysaux表空间使用率非常高的问题解决


查看一下是什么内容占用了空间:

oracle 11g sysaux表空间使用率非常高的问题解决

是awr的相关内容,需要重建awr来释放空间,具体重建步骤,请参考我的另一篇博文:http://blog.itpub.net/20893244/viewspace-2146541/


~~~~~~~~~~~~~~临时删除的办法~~~~~~~~~~~~~~~··

truncate  table  WRH$_ACTIVE_SESSION_HISTORY;
truncate  table  WRH$_EVENT_HISTOGRAM;
truncate  table  WRH$_SQLSTAT;
truncate  table  WRH$_LATCH_MISSES_SUMMARY;
truncate  table  WRH$_LATCH;
truncate  table  WRH$_SYSSTAT;
truncate  table  WRH$_SEG_STAT;
truncate  table  WRH$_PARAMETER;
truncate  table  WRH$_SYSTEM_EVENT;
truncate  table  WRH$_SQL_PLAN;
truncate  table  WRH$_DLM_MISC;
truncate  table  WRH$_SERVICE_STAT;
truncate  table  WRH$_TABLESPACE_STAT;
truncate  table  WRH$_ROWCACHE_SUMMARY;
truncate  table  WRH$_MVPARAMETER;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~···

select distinct 'truncate  table  '||segment_name||';',s.bytes/1024/1024
  from dba_segments s
 where s.segment_name like 'WRH$%'
   and segment_type in ('TABLE PARTITION', 'TABLE')
   and s.bytes/1024/1024>100
   order by s.bytes/1024/1024/1024 desc;



文章题目:oracle11gsysaux表空间使用率非常高的问题解决
文章位置:http://bzwzjz.com/article/gdghii.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 成都网站设计 成都网站建设 企业手机网站建设 网站制作 成都企业网站建设公司 外贸网站建设 外贸网站设计方案 商城网站建设 成都网站制作 成都网站建设 重庆网站制作 成都商城网站建设 移动网站建设 企业网站设计 网站制作报价 定制网站建设多少钱 营销型网站建设 泸州网站建设 LED网站设计方案 成都网站建设公司 成都定制网站建设 定制级高端网站建设