[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://bzwzjz.com/article/pgeijc.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 网站建设公司 网站建设开发 重庆企业网站建设 成都网站制作 定制网站建设 商城网站建设 成都网站建设公司 成都h5网站建设 温江网站设计 企业网站设计 高端品牌网站建设 成都网站建设 泸州网站建设 成都网站设计 成都网站建设 响应式网站建设 企业手机网站建设 网站制作 成都网站制作 成都网站设计制作公司 成都响应式网站建设 成都网站建设