Oracle Database 10g comes with a plethora of improvements (I like that word, plethora!) for RMAN. These include the following:
Using the Flash Recovery Area Oracle Database 10g offers the flash recovery area, which allows you to centralize storage of all recovery-related files. The flash recovery area is an area of disk that is defined for use for recovery-related files. The flash recovery area can use locally attached storage, Clustered File Systems, or Oracle Database 10g’s new Automatic Storage Management (ASM) features. Table 5-1 lists the file types that are backed up within the flash recovery area. Why Use the Flash Recovery Area? The flash recovery area helps with the management of overall disk space allocation and provides a centralized storage area for all related recovery files. It provides for much faster backup and restore operations as well. The flash recovery area is created in a specific location (defined by a file system, or use of ASM). You define the maximum size of the flash recovery area via database parameters. As files are added or removed from the flash recovery area, records of these events are logged in the database alert log. You can check the new DBA view, DBA_ OUTSTANDING_ALERTS, for information on outstanding issues with the flash recovery area, as shown in this example: Select * from dba_outstanding_alerts;
TABLE 5-1. File Types Backed Up Within the Flash Recovery Area
Retention for files in the flash recovery area is determined by the RMAN retention policy. This is set via the RMAN configure retention policy command, a feature which is in and of itself not new in Oracle Database 10g. If a file does not have a retention policy associated with it, or it’s a permanent file, then it will never be deleted. If a file is not yet obsolete under the RMAN retention policy, then it will not be deleted. Finally, archived logs are eligible for deletion once they are obsolete. Once the amount of space in the flash recovery area starts to reduce to unsafe levels, Oracle Database 10g issues a warning to the alert log (at 90 percent used and at 95 percent used). Also, when there is less than 10 percent free space available in the flash recovery area, Oracle Databse 10g removes files that are on the obsolete file list. NOTE-- Running out of space in the flash recovery area can be troublesome if that area is your only archive log destination, as this can cause your database to eventually halt. If the flash recovery area is to be your only archive log destination, monitor space availability carefully.
blog comments powered by Disqus | |||||||||||||||||||||||||||||||||||||||||||