Thursday, May 26, 2011

Monitor the Flashback area space usage

SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE;

SELECT * FROM V$RECOVERY_FILE_DEST;

col ROUND(SPACE_LIMIT/1048576) heading "Space Allocated (MB)" format 999999
col round(space_used/1048576) heading "Space Used (MB)" format 99999
col name format a40

select name, round(space_limit/1048576),round(space_used/1048576)
from v$RECOVERY_FILE_DEST;

No comments: