How to Check Flash Recovery Area Usage for Oracle(10g, 11g) Database?

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
There are two dictionary views to monitor the flash recovery area usage. 

1. 
V$RECOVER_FILE_DEST can be used to find out the physical location, allocated space, space reclaimable, number of files present in the directory.

SQL>  SELECT * FROM V$RECOVERY_FILE_DEST
SQL> /
NAME                                     SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
---------------------------------------- ----------- ---------- ----------------- ---------------
/apps/oracle/oradata/FRA                  2.1475E+11 9.3252E+10                 0              20


2. V$flash_recovery_area_usage can be used to find out percentage of the total disk quota used by different types of files, and how much space for each type of file can be reclaimed by deleting files that are obsolete, redundant, or already backed up to tape.

 
SQL> set pages 100
SQL> set lines 120
SQL> l
  1* SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE
SQL> /

FILE_TYPE            PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
-------------------- ------------------ ------------------------- ---------------
CONTROL FILE                          0                         0               0
REDO LOG                              0                         0               0
ARCHIVED LOG                          0                         0               0
BACKUP PIECE                      43.42                         0              20
IMAGE COPY                            0                         0               0
FLASHBACK LOG                         0                         0               0
FOREIGN ARCHIVED LOG                  0                         0               0

7 rows selected.

_____________________________________________________________________________________________________________________

A visitor from Moscow viewed 'How to Drop Datafile from Tablespace on Oracle 8i,' 54 mins ago
A visitor from Kansas viewed 'Data Pump EXPDP IMPDP EXCLUDE and INCLUDE Options ' 1 hr 8 mins ago
A visitor from Pilar viewed 'SQL Loader bad file vs Discard File: Difference an' 1 hr 30 mins ago
A visitor from Coimbatore viewed 'How to hide oracle passwords - sqlldr, sqlplus, ex' 1 hr 46 mins ago
A visitor from Athens viewed 'How to K**l or Resume [1]+ Stopped Unix Jobs' 2 hrs 7 mins ago

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-25 All Rights Reserved | Site Map | Contact | Disclaimer