modifying Oracle to archive mode

Source: Internet
Author: User

1. Check whether it is an archive mode

SQL>log  list; Database Log Mode           No Archive modeautomatic Archival           disabledarchive destination           log sequence       Current log sequence           

2. Close the database

SQL>log  list; Database Log Mode           No Archive modeautomatic Archival           disabledarchive destination           log sequence       Current log sequence           

3. Start the database to mount mode

SQL>  startup  3290345472  bytesfixed Size            2217832  Bytesvariable Size         1795164312  bytesDatabase buffers     1476395008  Bytesredo buffers           16568320  bytesDatabase mounted.

4. Modify the database to archive mode

SQL>  alterdatabase  archivelog; Database altered.

5. Open Database Library

SQL>alterdatabaseopen; Database altered.

6. Check whether it is an archive mode

SQL>log  list; Database Log Mode           Archive modeautomatic Archival           enabledarchive destination           log sequence      Next Log  to archive-current   log sequence           

7. View the path and directory of archived logs

SQL>  show parameter db_recovery_file_dest;name                     TYPE     VALUE-------------- ---------------------------------------------------------------db_recovery_file_dest             string     / usr/oracle/app/flash_recovery_areadb_recovery_file_dest_size          integer 3882M

modifying Oracle to archive mode

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.