[Oracle Script] Undo Usage Per status
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;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2145703/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [Oracle Script] Undo Usage Per sessionOracleSession
- [Oracle Script] Temporary Sort UsageOracle
- [Oracle Script] Rollback Segment UsageOracle
- [Oracle Script] check tablespace usage infoOracle
- [Oracle Script] check temp tablespace usageOracle
- [Oracle Script] Log switch statusOracle
- How to Monitor UGA, PGA and Cursor Usage Per SessionSession
- Script – List status of all submitted DBMS jobs(轉)MIT
- oracle scriptOracle
- Oracle runInstaller 's UsageOracle
- Oracle NUMA usage recommendationOracle
- Oracle 11g tablespace usageOracle
- [Oracle Script] LockOracle
- Oracle Database ScriptOracleDatabase
- STATUS OF ORACLE INSTANCEOracle
- Oracle Redo and UndoOracle Redo
- Oracle undo 管理Oracle
- Oracle Undo SegmentOracle
- oracle undo管理Oracle
- oracle undo一Oracle
- Oracle NUMA Usage Recommendation [ID 759565.1]Oracle
- 如何修復 Ubuntu 上“…script returned error exit status 1”的錯誤UbuntuError
- [Oracle Script] Top sqlOracleSQL
- [Oracle Script] check userOracle
- [Oracle Script] check latchOracle
- Oracle kill session scriptOracleSession
- ORACLE常用Script(轉)Oracle
- ORACLE常用Script (轉)Oracle
- Oracle ASM Partnership and Status TableOracleASM
- 理解 oracle 的 “lsnrctl status”Oracle
- 使用monaco編輯器 報錯Can only have one anonymous define call per script file
- Oracle ASM How many allocation units per fileOracleASM
- oracle profile sessions_per_user的用法OracleSession
- Oracle深入Undo探究Oracle
- Oracle UNDO引數Oracle
- oracle undo 使用分析Oracle
- Oracle In Memory Undo(IMU)Oracle
- Oracle Undo 的配置Oracle