Flash Recovery Area [message #471733] |
Tue, 17 August 2010 01:39 |
sekar52
Messages: 141 Registered: May 2010 Location: Mumbai
|
Senior Member |
|
|
Hi I have configured a flash recovery area in my database and it is the only place where my archived log files are stored.
Now the flash recovery area is full and no space for archiving so database hangs.How to automate the deletion of archive log files from flash recovery area after a particular time(say 2 days).
And suppose if I have tow log archive destinations 1 and 2.Suppose dest_1 becomes full and there is still space in dest_2 will the archiving continue or will the database hang?
|
|
|
|
Re: Flash Recovery Area [message #471743 is a reply to message #471738] |
Tue, 17 August 2010 02:32 |
sekar52
Messages: 141 Registered: May 2010 Location: Mumbai
|
Senior Member |
|
|
Am not using RMAN and I am doing it manually I mean the FRA.So is there no way as you said?
Can I turn the archiving in FRA to optional and mandatory ?
Please look at the following
SQL> alter system set log_archive_dest_10='USE_DB_recovery_file_dest optional';
alter system set log_archive_dest_10='USE_DB_recovery_file_dest optional'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_10" not allowed with SPFILE
SQL> alter system set log_archive_dest_10='USE_DB_recovery_file_dest';
alter system set log_archive_dest_10='USE_DB_recovery_file_dest'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_10" not allowed with SPFILE
SQL> alter system set log_archive_dest_10='';
System altered.
SQL> alter system set log_archive_dest_10='USE_DB_recovery_file_dest optional';
alter system set log_archive_dest_10='USE_DB_recovery_file_dest optional'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_10" not allowed with SPFILE
SQL> alter system set log_archive_dest_10='USE_DB_RECOVERY_FILE_DEST';
alter system set log_archive_dest_10='USE_DB_RECOVERY_FILE_DEST'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_10" not allowed with SPFILE
When I put alter system set log_archive_dest_10=''; doesnt it disable archiving in the FRA?In this case will the flashback logs still be generated?On what conditions will the flashback logs generated like commit etc?
[Updated on: Tue, 17 August 2010 02:42] Report message to a moderator
|
|
|
|
Re: Flash Recovery Area [message #471747 is a reply to message #471745] |
Tue, 17 August 2010 02:43 |
sekar52
Messages: 141 Registered: May 2010 Location: Mumbai
|
Senior Member |
|
|
When I put alter system set log_archive_dest_10=''; doesnt it disable archiving in the FRA?In this case will the flashback logs still be generated?On what conditions will the flashback logs generated like commit etc?
|
|
|
|
Re: Flash Recovery Area [message #471751 is a reply to message #471748] |
Tue, 17 August 2010 02:50 |
sekar52
Messages: 141 Registered: May 2010 Location: Mumbai
|
Senior Member |
|
|
On what conditions will the flashback logs be generated like archive log files are created when online log files are full or on alter system switch logfile.Similarly when are the flashback logfiles created??
unlike archive logfiles in FRA,are the flashback logfiles cleared automatically when they become obselete(Based on retention set) even if we dont use RMAN?
|
|
|
Re: Flash Recovery Area [message #471767 is a reply to message #471751] |
Tue, 17 August 2010 04:31 |
sekar52
Messages: 141 Registered: May 2010 Location: Mumbai
|
Senior Member |
|
|
unlike archive logfiles in FRA,are the flashback logfiles cleared automatically when they become obsolete(Based on retention period set) even if we dont use RMAN?
|
|
|