Parallel recovery in RMAN?
O.S: OEL 5.5
DB version: 11.2.0.3
Hello Experts,
I have some doubts on the recovery RMAN. I would like to know your opinion of experts.
(1) process that performs the RMAN recovery (just as the MRP in standby).
(2) I always thought that recovery is a sequential task. This thread (parallel recovery) saved my theory. However, I see RMAN commands likeRMAN>recover database parallel 4 . So what is the parallel option used for?
(3) if the recovery is a sequential process, how can we have several MRP process on the side of Eve (PHYSICS: why recovery managed to reproduce so many slaves?) (Doc ID 885872.1).
Thank you very much in advance.
Satya
(1) so the "server process" began with the RMAN dealing with recovery too? Please correct me.
RMAN Utility is just a customer.
RMAN connect to the database and execute commands, all the work is done on the server side. Server database always process take care of backup/restore/recovery.
(2) automatic channels is also used for the recovery and restoration? I always manually assign during the restore and recovery.
N ° auto-channel is reserved for backup and restore operations.
RECOVERY operation (aka Media Recovery) is different from the command RECOVER, because the execution process of recovery RECOVER command also trigger archivelogs of RESTORATION, and RECOVERY process apply that Redo on data files.
Recovery operation is managed by * parallel * parameters not automatic channels.
(3)'with the resumption of parallel media, these blocks of data are subsequently distributed evenly to all recovery processes to read into the buffer cache. "--> Does this mean that the recovery of the parallel media is intended to copy multiple blocks in parallel to the memory buffer uses cache ONLY. However, the recovery process (applying the vectors of change) is a sequential process? Please correct me
The writing is not all sequential process, but each block of data is retrieved sequentially.
Parallel media recovery, the database uses a 'division of labour' approach to allocate different processes at different data blocks while rolling forward, which makes the process more effective.
Tags: Database
Similar Questions
-
headers block (block media recovery with rman)
Hi Im following this tutorial (sound on media with rman block recovery) - im using 11 GR 2 on oel 5.5
http://kamranagayev.WordPress.com/2010/03/18/RMAN-video-tutorial-series-performing-block-media-recovery-with-RMAN/
I created 2 spaces and storage within an array, for example I have a table space called "users02", composed of a data file called "users02.dbf", which currently holds a table called "tbl_test01".
If I query the table to select * from him, he returns the data inside, but when I use the following statement to determine the block header (for the purpose of the tutorial) no row is returned...
can someone help me on hwo I can find the header of the table,... is block - it possible that segment name is different in the name of the table?select header_block from dba_segments where segmemt_name='tbl_test01';
Any help would be appreciated806595 wrote:
Hi Im following this tutorial (sound on media with rman block recovery) - im using 11 GR 2 on oel 5.5I created 2 spaces and storage within an array, for example I have a table space called "users02", composed of a data file called "users02.dbf", which currently holds a table called "tbl_test01".
If I query the table to select * from him, he returns the data inside, but when I use the following statement to determine the block header (for the purpose of the tutorial) no row is returned...
select header_block from dba_segments where segmemt_name='tbl_test01';
can someone help me on hwo I can find the header of the table,... is block - it possible that segment name is different in the name of the table?
Any help would be appreciated
PLS, try:
select header_block from dba_segments where segment_name='TBL_TEST01';
-
I'm trying to restore a database on a Server DR
Database - 10.2.0.4
Level of the OS - AIX 5.3.0.0
Production server and DR Server both are on the rise
I use control file instead of catalog of recovery for this Recovery DR
Even if I put AUTOBACKUP ON in the database production SPFILE and control files are getting backed up not only at the time of the full backup, but also during backup archivelog but now when I'm trying to restore the automatic backup spfile, I get this error -
RUN
{
allocate channel t1 'sbt_tape' PARMS="ENV=(TDPO_OPTFILE=/oracle/tdpo/PRODDB/tdpo.opt device type) ';
RESTORE SPFILE FROM PFILE ' / oracle/product/10.2/dbs/initPRODDB.ora' BACKUP AUTOMATIC;
ASIDE THE JUDGMENT;
}
allocated channel: t1
channel t1: sid = 36 devtype = SBT_TAPE
channel t1: for Oracle Data Protection: version 5.5.1.0
From restoration to April 22, 10
channel t1: looking for autobackup day: 20100422
channel t1: looking for autobackup day: 20100421
channel t1: looking for autobackup day: 20100420
channel t1: looking for autobackup day: 20100419
channel t1: looking for autobackup day: 20100418
channel t1: looking for autobackup day: 20100417
channel t1: looking for autobackup day: 20100416
channel t1: found no autobackup in 7 days
output channel: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 2010-04-22 12:21:31
RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece
Please advice!Check this one:
RMAN> RUN 2> { 3> SET UNTIL TIME "sysdate - 5"; 4> RESTORE SPFILE TO PFILE'/home/oracle/init10gdb1.ora' FROM AUTOBACKUP; 5> } executing command: SET until clause using target database control file instead of recovery catalog Starting restore at "22-APR-10" allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=135 devtype=DISK allocated channel: ORA_DISK_2 channel ORA_DISK_2: sid=143 devtype=DISK recovery area destination: /u01/app/oracle/flash_recovery_area database name (or database unique name) used for search: 10GDB1 channel ORA_DISK_1: no autobackups found in the recovery area channel ORA_DISK_1: looking for autobackup on day: "20100417" channel ORA_DISK_1: looking for autobackup on day: 20100416 channel ORA_DISK_1: looking for autobackup on day: 20100415 channel ORA_DISK_1: looking for autobackup on day: 20100414
Lukasz
-
Until THE recovery TIME RMAN fails on OPEN DATABASE RESETLOGS
Hello
I met general media failure a week ago and decided to recover my database to a point in time about two weeks ago. The RMAN restore/recovery part seemed to work correctly according to the newspapers, but my database could not open on the part of ALTER DATABASE OPEN RESETLOGS.
It's my RMAN script:
RMAN > RUN {
2 > SET until TIME = 27 July 09 ';
3 > RESTORE database;
4 > RECOVER DATABASE;
5 > ALTER DATABASE OPEN RESETLOGS;
{6 >}
To navigate in the alerts log, I think one my redo log group 2 is corrupt and the database fails to open when he met this group. 2 is my current group. I tried the command ALTER DATABASE CLEAR no ARCHIVED LOGFILE GROUP 2, but it fails with ORA-1624: file necessary for crash recovery.
Why this file is necessary for recovery on incident so I'm restore to a point in time two weeks in the past and does not seek to roll forward modifications online redo log?
I can't get my database regarding the EDITING phase; Therefore, I can't force a log switch. And group 2 being the current group, I can't let it go. I don't know how to proceed.
Thank you
MimiYou don't have to reset the incarnation. I don't know you need NLS_DATE_FORMAT value, however your time format does not seem right.
SQL> SHUTDOWN ABORT; RMAN> CONNECT TARGET / RMAN> SET DBID
RMAN> STARTUP FORCE NOMOUNT; RMAN> RUN { RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP; RMAN> ALTER DATABASE MOUNT; RMAN> SET UNTIL TIME '2009-07-27:00:00:00'; <-- Verify time RMAN> RESTORE DATABASE; RMAN> RECOVER DATABASE; RMAN> ALTER DATABASE OPEN RESETLOGS; } -
Block Media Recovery and RMAN backup incremental level 1
Hello
I read somewhere that block Media Recovery will not work if a database is backed up with 1 incremental rman. Is this true and if so is there a work around?
I can't find it in the documentation of oralce.
Concerning
MeHello
Yes you are right, for the recovery block media, you must have full rman backup. Incremental backups are not used by block
media recovery. Only full backups and archived logs are used.See this doc on part III
http://download-UK.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm
concerning
Jafar
Published by: jerome on October 22, 2008 19:51
-
recovery from RMAN Enterprise Edition 12 to Enterprise Edition, Standard Edition One 12 c
I want to restore database of 12 c Enterprise Edition, Standard Edition One 12 c or RMAN works correctly with the version of ORACLE 12 c or you must have the same versions of the license?
has managed to make a backup of database versions are standard 12 c and 12 c restore database Enterprice Edition using RMAN can there be problems with databases?
-
How to use parallelism in the RMAN script with multiple lines
Gurus,
Need your advice on the use of parallelism in the script "BACKUP AS COPY DATAFILE" have several lines.
I have a script like below:
SET UP THE DEVICE TYPE DISK PARALLELISM 10;
backup copy datafile ' / data1/oradata/PROD/data01.dbf' size '+ DATA ';
backup copy datafile ' / data2/oradata/PROD/data02.dbf' size '+ DATA ';
backup copy datafile ' / data3/oradata/PROD/data03.dbf' size '+ DATA ';
backup copy datafile ' / data4/oradata/PROD/data04.dbf' size '+ DATA '; and so on...
If I run this script, it runs in the order. How do I in parallel can I copy data files required?
I selectively copy a few files in ASM.
I want to use a single script.
Please notify.
Best regards
David
Published by: 966454 on October 18, 2012 23:59
Published by: 966454 on October 18, 2012 23:59Try to use only a backup statement with the manual channels and parallelism configured as stated in my previous message. For example:
CONFIGURE DEVICE TYPE DISK PARALLELISM 3; CONFIGURE DEFAULT DEVICE TYPE TO DISK; CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '+DATA1/%U'; CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '+DATA2/%U'; CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '+DATA3/%U'; BACKUP AS COPY DATAFILE 4,5,6;
-
"Recovery of RMAN for the Table.
Hello
I use oracle 10g R2. I took a tablespace upward through Rman. Now, I dropped a table (test), now, I want my transom with the previous situation.
Can someone tell me how can I recover the unique table of RMAN (only) .
I applied as follows: -.
RMAN > backup tablespace users;
"exit";
SQL > drop table test;
deleted table.
SQL > select * from test;
ORA-00942: table or view does not exist
(I wish to recover this table)
Thanks and greetings
Vikash ChauradiaHi vikash.
It is not possible in rman.
-
Hello
I am getting below error while recovering DB via RMAN.
RMAN > RUN
2 > {SET until TIME ' to_date (November 13, 2009 13:00 ',' my DD YYYY hh) ";}
3 > RESTORE database;
4 > RECOVER DATABASE;
{5 >}
executing command: SET until clause
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command set to 2009-11-13 14:34:05
ORA-01756: city not properly finished chain
AngalinaHello
You can restore and recover the tablespace has fallen only...
Kind regards
Deepak -
Hi all
I did a full backup of a server.
BACKUP INCREMENTAL LEVEL 0 DATABASE FORMAT would be: \Backup\ %n in %T (FullDayIncremental_base) %U. BKP ' TAG = "incr_level0" MORE ARCHIVELOG DELETE all THE ENTRIES.
Restore everything without any problems on the remote server. I get an error at the time of the recovery:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: fallo del comando recover en 03/02 / 2015 21:12:04
RMAN-06053: no to ha could realize una recuperaci¾n del medio Fysico porque falta a log
RMAN-06025: no to ha sown none copia seguridad del archive log para el wire 1 con the sequence 2
66 y el dinna 29011076673 SNA para restore
RMAN-06025: no to ha sown none copia seguridad del archive log para el wire 1 con the sequence 2
65 y el dinna 29011074785 SNA para restore
What it means?
How can I solve this problem?
Thank you!
When you are able to open your database and access, it does mean that recovery is no longer necessary.
You don't have to restore again or even get it back.
As stated in my previous post, you face the RMAN error because the sequence of journal 266 was not at the time wherever you took the backup on the source database. Your database is recovered successfully until 265 sequence, open with resetlogs and access.
If you think that your problem is resolved, if it please consider closing the thread marking it as useful or answered!
Kind regards
Shivananda
-
Using the Scheduler to run the rman script directly stored in the recovery catalog
Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts. Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:
RMAN > create script showall
Comment "just one example of demonstration."
{
VIEW ALL;
}
Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog. Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.
Kind regards
Dave
Well, let us know the result.
The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.
-
Hello friends,
I have two bands as well as my RMAN configuration device type abt_tape parallelism 2. How did this effects number of allocated channels? What is the relationship between the channels and the parallelism? I lived manual confusion, but not for me.
Thank you
Hi RamaKrishna,
Channel is what you create manually when you run a RMAN block. For example if you use the command as «assign channel...» "in an execution block, this means that you manually create channels for RMAN backup.
But if you configure using parallelism "configure channel device type disk (or what type) 2 parallelism, this means RMAN will create two channels automatically if you specify"affect the channel... " ». in your execution block... However if your parallelism is 2 and you allocate 3 channels in your execution block, rman will replace the parallelism number 2 and create 3 channels, as you mentioned manually 3 channels in your execution block.
Hope that it would ve you authorized.
Kind regards
Pradeep. V
-
Execution of disaster with RMAN recovery
Hello
http://kamranagayev.WordPress.com/2010/03/29/RMAN-video-tutorial-series-performing-disaster-recovery-with-RMAN/
I want to do the same thing available in the link above. But my ways little different since I use asm as the storage.
ex: -.
SQL > select name from v$ controlfile;
NAME
--------------------------------------------------------------------------------
+Data/proddb/controlfile/current.258.730005353
+Arch/proddb/controlfile/current.258.730005353
but my new database server is not configured for asm.
I can do the same thing by changing the path of the path parameter file everything I love in the dr site?
Or
I need to create a storage asm for the same thing?
My attempt to base is to check the rman backup on a daily basis by restoring to a separate database.
Any ideas...? can someone give me a help to do this please... If you have any good tutorial as above, please report it here.
Thanks in advance,
Maxbut my new database server is not configured for asm.
I can do the same thing by changing the path of the path parameter file everything I love in the dr site?
Or
I need to create a storage asm for the same thing?Do not create instance ASM (also diskgroup). You have full backup, then this means that you can restore this backup to any location and there is no difference restore backup any file system or ASM. Yes as above Hemant mentioned, you can use The VALUE of NEWNAME clause. If you have a lot of data file, then I suggest that you use the DB_FILE_NAME_CONVERT and DUPLICATION of RMAN initialization parameter. But consider now that your database running in the ASM then take full to simple (not ASM) backup file system as BACKUP of DATABASE ARCHIVELOG FORMAT ' / u01/backup/full_ % d_ % u_ .bk %s '; (also take controlfile backup or activate backup AUTOMATIC). Now copy all the backup on the new server and
/*Restoring spfile*/ export ORACLE_SID=
rman target / startup force nomount; restore spfile from 'AUTOBACKUP_LOCATION'; /*After restoring spfile then connect using sqlplus and change need parameter like CONTROL_FILES and others due to this is not ASM FS and again*/ startup force nomount; restore controlfile from 'AUTOBACKUP_LOCATION'; alter database mount; /*catalog backup*/ catalog start with 'backup_location'; /*Now change datafile location*/ run { set newname for datafile 1 to 'new location'; ............................................................. set newname for datafile n to 'new location'; } restore database; switch datafile all; recover database; alter database open resetlogs; -
the recovered data is only a row during rman recovery Camille
I tried a point in time for recovery in RMAN, but the table I got contains only 1 row which is supposed to be 2 rows.
Here's what I did:
1 create the table
2 validation;
3 insert the value 1 in the table
4 validation;
5. Insert the value 2 in the table
6 validation;
7 remove the table
8 validation;
9 get sysdate July 28, 2010 07:01
10 make a rman recovery and apply the sysdate recovered, but use on July 28, 2010, 07:0 * 0 *: 00
11. check the table and found that 1 row only recovered.You can use logminer, because no back in 8i
-
problem in physical recovery standby database (Data Guard) by rman
Hi all
I created a physical database Eve, I want to make a backup of it by rman and when I lose datafile is that I can restore, backup and restore is fine, but in recovery I encounter a problem
scenarios is followed
1. in rman, I create a backup of database Eve by this command:
backup database more archivelog delete all entries;
2. I run this command in rman to recover standby database
Run {}
2 > set up what SNA 1392701.
3 > restore database;
4 > restore database;
{5 >}
(1392701 is extracted from this query "SELECT MAX (NEXT_CHANGE #) + 1 UNTIL_SCN FROM V$ LOG_HISTORY LH ')
V$ DATABASE DB WHERE LH. RESETLOGS_CHANGE #= DB. RESETLOGS_CHANGE # AND LH. RESETLOGS_TIME =
DB. RESETLOGS_TIME; (""http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm")
but result RMAN is like this:
executing command: SET until clause
From restoration to 13 December 08
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 in /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile to /u01/app/oracle/oradata/sari/users02.dbf 00006
channel ORA_DISK_1: reading of the backup/home/oracle/backup/0ek24dt4_1_1 element
channel ORA_DISK_1: restored the backup part 1
piece handle = / home/oracle/backup/0ek24dt4_1_1
tag = TAG20081213T042506
channel ORA_DISK_1: restore complete, duration: 00:01:07
Finished restoration to 13 December 08
From back to 13 December 08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 116 sequence is already on the disk that the file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on the disk that the file /u01/app/oracle/oradata/archive/1_117_666786084.arc
Archive newspaper filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread = 1 sequence = 116
Archive newspaper filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc thread = 1 sequence = 117
Cannot find the log archiving
archive log thread = 1 sequence = 118
RMAN-03002: failure of the command recover to 2008-12-13 05:14:13
RMAN-06054: recovery of media asking unknown journal: thread 1
SEQ 118 lowscn 1392700
3. then I refuse 1392701 to 1392700 and I run this command
Run {}
2 > set up what SNA 1392700.
3 > restore database;
4 > restore database;
{5 >}
executing command: SET until clause
From restoration to 13 December 08
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 in /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile to /u01/app/oracle/oradata/sari/users02.dbf 00006
channel ORA_DISK_1: reading of the backup/home/oracle/backup/0ek24dt4_1_1 element
channel ORA_DISK_1: restored the backup part 1
total, handle = / home/oracle/backup/0ek24dt4_1_1 tag = TAG20081213T042506
channel ORA_DISK_1: restore complete, duration: 00:01:08
Finished restoration to 13 December 08
From back to 13 December 08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 116 sequence is already on record as
file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on record as
file /u01/app/oracle/oradata/archive/1_117_666786084.arc
archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc = 1 thread
sequence = 116archive log
filename=/U01/app/Oracle/oradata/archive/1_117_666786084.arc
thread = 1 sequence = error 117Oracle:
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS
would get the below error
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' / u01/app/oracle/oradata/sari/system01.dbf'
media recovery complete, duration: 00:00:10
Finished recover to 13 December 08
4. If I run
Run {}
restore the database;
recover the database;
}
I receive this error on step 2 (06054 RMAN: recovery of media asking unknown journal: thread 1)
SEQ 118 lowscn 1392700)
5. If I just restore the database and I do not perform a recovery by rman and I restart repeat if applies to all things seem well
but in the opening of database, I get ORA-01152: 1 file was not restored from a sufficiently old backup
Ora-01110: data file 1: ' / u01/app/oracle/oradata/sari/system01.dbf' error)
do you know what is the problem
Thank you
Published by: ARKH 12 December 2008 23:06This is because as soon as you open the standby database, application of roll forward stops. At least that's true up to 10 gr 2, 11 g, you have the option "Active Dataguard" (requires an additional license), which allows to apply, while the database is open.
Werner
Maybe you are looking for
-
HP Mini 110: Enter CURRENT, HP Mini 110 password error
I turn on my laptop as another day and instead of windows startup, it goes to a black screen with: Enter the CURRENT password: *. When it's bad, I get the CNU9286J7P error code. Thanks for any help.
-
I get an error of Protocol SMTP Port 465 0x800CCC0F on Live Mail using 2 separate Yahoo accounts
I transferred my two yahoo email accounts in Windows Live Mail. One account works well but the other shows send the above error when I type: I get an error of Protocol SMTP Port 465 0x800CCC0F on Live Mail using 2 separate Yahoo accounts
-
Windows XP Setup does not appear in the list of services
I tried to install a program and the failure of the installation. List of verified services' and Windows Installer has been absent from the list.
-
How to boot from usb hp pavilion
Manufacturer: AsusCard mother name: IPIBL-LBHP/Compaq motherboard name: Benicia-GL8EHP Pavilion a6742pProduct no.: FQ619AA Windows 7 Homw Premium, latest updates. I have a usb stick recovery in case of a hard disk failure. I regularly backup my drive
-
Why can I open .coc or .docx files only after registration
Why can I only open .doc or .docx files after registration?