タグ

ブックマーク / oracleref.blogspot.com (1)

  • UNDO表領域の使用率

    UNDO表領域の使用率はdba_undo_extentsから計算します。 UNDOエクステントは、使用された後も一定期間は解放されないため dba_free_spaceでは正確にはわかりません。 そこで、dba_undo_extentsのstatusを確認し、次のように計算します。 UNDO表領域の使用率 = [A] / [A]+[B]+[C] [A] 使用中のUNDO = statusがACTIVE + UNEXPIRED col bytes for 999,999,999,999 select status, sum(bytes) as bytes from dba_undo_extents where tablespace_name = 'UNDOTBS1' and status in ('ACTIVE','UNEXPIRED') group by status; [B] 使用後のU

  • 1