Recovery Area: Computing Obsolete files Wait Event in Oracle

I will explain Recovery Area: Computing Obsolete files Wait Event in Oracle in this post.

 

When I use the Switch database to copy command, my command is run more than 8 hours.

 

RMAN> SWITCH DATABASE TO COPY;

 

I have reviewed the AWR report and Session waits, I saw that Recovery Area: Computing Obsolete files Wait Event is seen.

Recovery Area: Computing Obsolete files Wait Event is caused because of Recovery area parameter.

 

 

 

 

 

To solve this wait event, you should disable the Recovery area parameters as follows.

 

SQL>
SQL> show parameter db_recovery_file_dest

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +RECO
db_recovery_file_dest_size big integer 150000G
SQL>
SQL>
SQL> alter system reset db_recovery_file_dest scope=both sid='*';

System altered.

SQL> show parameter db_recovery_file_dest

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string
db_recovery_file_dest_size big integer 150000G
SQL>
SQL> alter system reset db_recovery_file_dest_size scope=both sid='*';
alter system reset db_recovery_file_dest_size scope=both sid='*'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-19803: Parameter DB_RECOVERY_FILE_DEST_SIZE is out of range (1 -
18446744073709551614)

SQL> alter system set db_recovery_file_dest_size=1 scope=both sid='*';

System altered.

SQL>

 

 

Once I set these parameters, my switch database to copy command speed up and completed in a 30 minutes.

 

 

You can read the following post to learn more details about Wait events in Oracle.

Oracle Wait Events and Their Solutions in Oracle Database

 

 

 

 

 

Do you want to learn Oracle Database Performance Tuning detailed, then read the following articles.

Performance Tuning and SQL Tuning Tutorial in the Oracle Database

 

 48,235 views last month,  1 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply