Cancel flash Oracle database recovery zone operations

Source: Internet
Author: User

The following articles mainly describe how to cancel the recovery zone of the transient Oracle database. We hope you can play a role in the actual operation of canceling the rollback zone of the transient Oracle database. The following describes the specific content of the article. Do not miss it.

Set db_recovery_file_dest to null to disable the flash recovery zone.

If flashback database is enabled, you cannot cancel flashing back to the recovery zone.

 
 
  1. SQL> alter system set db_recovery_file_dest='';   
  2. alter system set db_recovery_file_dest='' 

Row 3 has an error:

ORA-02097: The parameter cannot be modified because the specified value is invalid

ORA-38775: Unable to disable quick recovery zone-Flashback database enabled

Therefore, you must disable the flashback database before canceling the flashback recovery zone.

 
 
  1. SQL> shutdown immediate;  

The database has been closed. The Oracle database has been uninstalled.

The Oracle routine has been disabled.

 
 
  1. SQL> startup mount;  

The Oracle routine has been started.

 
 
  1. Total System Global Area 142606336 bytes  
  2. Fixed Size 1247732 bytes  
  3. Variable Size 83887628 bytes  
  4. Database Buffers 50331648 bytes  
  5. Redo Buffers 7139328 bytes 

The database has been loaded.

 
 
  1. SQL>alter database flashback off;  

The Oracle database has been changed.

 
 
  1. SQL> alter database open;  

The database has been changed.

 
 
  1. SQL> alter system set db_recovery_file_dest='';  

The system has been changed.

4. Content of the flash recovery area

All recovery-related files can be stored in the Flash recovery zone.

 
 
  1. SQL>select file_type from v$flash_recovery_area_usage;   
  2. FILE_TYPE  
  3. CONTROLFILE  
  4. ONLINELOG  
  5. ARCHIVELOG  
  6. BACKUPPIECE  
  7. IMAGECOPY  
  8. FLASHBACKLOG 

You have selected 6 rows.

The above view shows that the flash recovery zone can be used for storage and management, including controfile, online redo logfile, archive logfile, rman backuppiece, rman image copy, and flashback log. The above content is an introduction to the Oracle database recovery zone. I hope you will have some gains.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.