Oracle10g闪回恢复区详解
2007-05-09 12:13:37 来源:WEB开发网核心提示: SQL> desc V$RECOVERY_FILE_DESTNameNull?Type--- NAME VARCHAR2(513)SPACE_LIMITNUMBERSPACE_USED NUMBERSPACE_RECLAIMABLENUMBERNUMBER_OF_FILESNUMBE
SQL> desc V$RECOVERY_FILE_DEST
Name Null? Type
------------------------------- ----------------------------
NAME VARCHAR2(513)
SPACE_LIMIT NUMBER
SPACE_USED NUMBER
SPACE_RECLAIMABLE NUMBER
NUMBER_OF_FILES NUMBER
SQL> SELECT NAME, space_limit, space_used, space_reclaimable space_rec,
2 number_of_files file_num
3 FROM v$recovery_file_dest;
NAME SPACE_LIMIT SPACE_USED SPACE_REC FILE_NUM
--------------------------- ----------- ---------- ---------- ----------
/u01/app/oracle/flash_recovery_area 2147483648 1106849280 602410496 30
SQL>
在一些 10g 的动态视图里( V$CONTROLFILE, V$LOGFILE, V$ARCHIVED_LOG, V$DATAFILE_COPY 等 )的新的列 IS_RECOVERY_DEST_FILE ,指明相关的文件是否在恢复区内。
SQL> SELECT recid, blocks, is_recovery_dest_file
2 FROM v$archived_log
3 WHERE recid < 5;
RECID BLOCKS IS_RECOVERY_DEST_FILE
---------- ---------- -----------------------------
1 20072 YES
2 19566 YES
3 19566 YES
4 19566 YES
SQL>
闪回恢复区中文件的保持策略
更多精彩
赞助商链接