Database backup Recovery--use of fast recovery zones

Source: Internet
Author: User

1. Create a FRA region
[Email protected] u01]$ cd/u01
[Email protected] u01]$ mkdir FRA
[Email protected] u01]$ chown Oracle:dba/u01/fra

2. Login Database Configuration
[Email protected] ~]# su-oracle
[Email protected] ~]$ export ORACLE_SID=OCP
[Email protected] ~]$ Sqlplus/as SYSDBA

3. Configure FRA
[Email protected]> alter system set DB_RECOVERY_FILE_DEST_SIZE=2G;
System altered.

[Email protected]> alter system set db_recovery_file_dest= '/u01/fra ';
System altered.

4. Set the database in Archivelog mode
4.1 Closing the database
[Email protected]> shutdown Immediate

4.2 Mount Database
[Email protected]> startup Mount

4.3 Turn on archive mode
[Email protected]> ALTER DATABASE archivelog;
Database altered.

4.4 Opening a database
[Email protected]> ALTER DATABASE open;
Database altered.

Database backup Recovery--use of fast recovery zones

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.