Oracle Instance recovery phase and flashback Introduction

Source: Internet
Author: User

Instance Recovery phase:
1. data File not synchronized

2. Roll forward (redo redo)
3. Submissions and uncommitted data in the file

4. Open the Database

5. Fallback (Restore undo)

6. Submission data in the file
Optimize instance recovery: (Faster write of dirty data)
Using MTTR
Fast_start_mttr_target (not recommended to set/Add system burden)
Db_writer_pricesses (process of DBWN)

Flashback
The location specified by the Db_recovery_file_dest parameter is large enough by the Db_recovery_file_dest_size parameter to hold the backup, archive log, flashback log, mirror control file, and mirror redo log automatically managed according to retention policy
Flash Back: Flashback query
Flashback transaction Query:
Flash back version query:
Flash Back Table Delete:
Flash back to the database:
Flash Back: 11g new features

Flashback Recovery zone: The default location for all recovery-related files, simplifying the management of the files required for restore and recovery.
Permanent files: Control file multiplexing Replicas
, online redo log file multiplexing copy
Temp File: Archive log, Rman Backup, copy
, control file Automatic backup
, Flashback log file,
In addition to the flashback log, other files can be redirected elsewhere.

Archive log list;
--See if the archive is open
Select Log_mode from V$database;
--whether the database is open for archiving


The is_recovery_dest_file of the data dictionary can be seen whether it is placed in the Flashback recovery area.


V$controlfile,v$logfile,v$archived_log
V$recovery_file_dest
-----------------------------------------------------

Select group#, bytes/1024/1024 size_m, members, STATUS from V$log;
--View Log groups
alter system switch logfile;
--Toggle Log
Select group#, Status,type, member,is_recovery_dest_file from V$logfile;
--View the information in V$logfile

Instance recovery: Instance Recovery
Crash recovery: Crash recovery

Oracle Instance recovery phase and flashback Introduction

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.