Http://searchoracle.techtarget.com/answer/Recover-database-using-backup-controlfile-until-cancelWhat's checked or what happens when we "run recover database using Backup controlfile until cancel;"? What is the does this command?If
Using backup controlfile is usually used to restore the current control file because the current control file is lost and the original backup control file is changed compared with the current situation. Using backup controlfileAfter the recover method is used, common recover databa
The original controlfile is available below:
The procedure is as follows:Startup force;Alter system set "_ allow_resetlogs_upload uption" = true scope = spfile;Recover database using backup controlfile until cancel;Alter databse o
~ ~
d ata File
record information in all relational databases
control file Control files
record the structure and behavior of the database
redo log file
Action of record block change in groups, under Group is member Write the log according to the group in order to write For instance recovery
Alter Log
Number"4, df.checkpoint_change# "Checkpoint"5, df.name "file name"6 from V$tablespace Ts,v$datafile DF7 where ts.ts#=df.ts#8 ORDER by df.file#;Table space name file number checkpoint file name------------------------------ ---------- ---------- ----------------------------------------SYSTEM 1 708505/oracle/oradata/boss/system01.dbfUNDOTBS1 2 708505/oracle/oradata/boss/undotbs01.dbfSysaux 3 708505/oracle/oradata/boss/sysaux01.dbfUSERS 4 708505/ORACLE/ORADATA/BOSS/USERS01.DBFEXAMPLE 5 708505/orac
Number"4, df.checkpoint_change# "Checkpoint"5, df.name "file name"6 from V$tablespace Ts,v$datafile DF7 where ts.ts#=df.ts#8 ORDER by df.file#;Table space name file number checkpoint filename------------------------------ ---------- ---------- ----------------------------------------SYSTEM 1 708505/oracle/oradata/boss/system01.dbfUNDOTBS1 2 708505/oracle/oradata/boss/undotbs01.dbfSysaux 3 708505/oracle/oradata/boss/sysaux01.dbfUSERS 4 708505/ORACLE/ORADATA/BOSS/USERS01.DBFEXAMPLE 5 708505/oracl
/product/11.2.0/odellprod/dbs/initodellprod.ora'starting Oracle instance without parameter file for retrieval of spfileOracle instance startedTotal System Global Area 159019008 bytesFixed Size 1335192 bytesVariable Size 75497576 bytesDatabase Buffers 79691776 bytesRedo Buffers 2494464 bytesRMAN> restore controlfile from '/data/oracle/odellprod/
Alter Database
Flashbackup {on |Off} -- Mount -- whether to enable the database flash Function
{Begin |End} Backup ---- whether to enable the backup mode of the database
{Mount | open} -- started and nomount --
also provides a for standby clause that creates a backup control file to be used by an alternate database. You can use the backup command's
Controlfilecopy parameter to create a backup set containing externally created control file backups, execute ALTER
offline, and is part of the online tablespace.Data file: '/U01/APP/ORACLE/ORADATA/TEST/TEST.DBF 'Dictionary Check CompleteVerifying file header compatibility for 11g tablespace encryption:Verifying 11g file Header compatibility for tablespace encryption completedsmon:enabling TX RecoveryDatabase Characterset is ZHS16GBKNo Resource Manager Plan ActiveSat APR 18 18:42:33 2015Replication_dependency_tracking turned off (no async multimaster replication found)Starting background Process QMNCSat APR
recommended that a full backup be made immediately, since the current online Redologs file is not archived in previous versions when the open Resetlogs operation is performed. This causes the archive file to no longer be contiguous, so the previously created backup is no longer valid (recovery is not in the current state and can only be restored until the open resetlogs operation). 10g and later versions d
Label:As mentioned in the Oracle documentation, once the database is restored with a backed-up control file, the database needs to be opened using the Resetlogs method, but resetlogs usually means incomplete recovery and, more importantly, once the database is opened with the Resetlogs method, The serial number of the log is used again starting from 1. In fact, i
the block is read to recover the relevant data. Here we have another difficulty is that because these two files are bigfile, it adds to the difficulty of the recovery process
At this point we have implemented a recovery of the core data that caused the file loss for ALTER DATABASE create datafile. Minimize customer damage as possible. This recovery is determined by luck, and the block of data on disk
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.