[OracleScript]UndoUsagePerstatus

select tablespace_name,sum(decode(status,'EXPIRED',bytes,0)) "EXPIRED", round(sum(decode(status,'EXPIRED',bytes,0))/sum(bytes),4)*100 "Reused Ratio",
       sum(decode(status,'UNEXPIRED',bytes,0)) "UNEXPIRED", sum(decode(status,'ACTIVE',bytes,0)) "ACTIVE",
       round((sum(decode(status,'UNEXPIRED',bytes,0))+sum(decode(status,'ACTIVE',bytes,0)))/sum(bytes),4)*100 "Used Ratio"
from dba_undo_extents group by tablespace_name
order by 1;


网站标题:[OracleScript]UndoUsagePerstatus
浏览地址:http://csruizhi.cn/article/pgeijc.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 成都定制网站建设 做网站设计 成都网站建设 成都定制网站建设 成都做网站建设公司 成都网站建设 成都网站设计 成都网站设计 成都网站建设公司 成都网站设计 成都网站制作 成都网站建设 成都网站建设 企业网站制作 宜宾网站设计 网站制作 成都网站建设 重庆电商网站建设 企业手机网站建设 成都网站建设流程 专业网站设计 网站设计制作报价