Number of parallel recovery processes in standby

Hi,
How to find the number of parallel recovery processes that the standby is started with..MRP parallel???

user13179227 wrote:
Hi,
How to find the number of parallel recovery processes
that the standby is started with..MRP parallel???what is "MRP parallel"?

Similar Messages

  • Restart on primary database restarts the recovery process on standby

    We have a dataguar broker configuration running in maximum perfromance mode.
    Every time we start the primary database, the recovery process on standby gets restarted.
    I can consistently reproduce teh problem. Looks like expected behaviour.
    Even if standby is in read only mode and restart the primary database it bring the database back in recovery mode.
    Any explanation why oracle needs to do it?

    Neil_Arul wrote:
    We have a dataguar broker configuration running in maximum perfromance mode.
    Every time we start the primary database, the recovery process on standby gets restarted.
    I can consistently reproduce teh problem. Looks like expected behaviour.
    Even if standby is in read only mode and restart the primary database it bring the database back in recovery mode.
    Any explanation why oracle needs to do it?Yes, When you enable broker it very common behaviour.
    When ever you bounce the database also MRP process will be started automatically.
    By disabling broker you can avoid automatic startup, BTW Standby should be in recovery mode, i think no need to worry on this.
    If you want to disable as per time, you can disable it as below
    ALTER SYSTEM SET DG_BROKER_START=FALSE ;
    Total Questions:      3 (3 unresolved)
    Close the threads when you feel its answered, Keep the forum clean.
    Edited by: CKPT on Feb 15, 2012 12:57 PM

  • Start recovery process on standby database after Windows reboot

    Hi all,
    I have a data guard configuration on Oracle 10.2.0.4 for Windows.
    What I need is to mount and start recovery process automatically after Windows Server restart.
    How can I do that ?
    Thanks in advance.

    Here's what I found :
    sleep 60
    REM Start the database
    %ORACLE_HOME%\bin\sqlplus -s "/ as sysdba" @startup.sql
    exit
    startupmount.sql -- Copy this under ORACLE_HOME/bin directory
    -- start the database
    startup mount
    alter database recover managed standby database disconnect from session;
    exitSorry, no way to test on my end.
    The other thought is to hack oradim
    But I'm thinking this might only do the startup mount.
    Best Regards
    mseberg
    Edited by: mseberg on Feb 15, 2012 1:10 PM
    This would need some work but it may help
    @echo off
    sc query "OracleOraDb11g_home1TNSListener" | findstr /i running
    IF "%ERRORLEVEL%"=="0" (GOTO :RUNNING) ELSE (GOTO :STOPPED)
    :STOPPED
    ECHO NOT RUNNING
    net start "OracleOraDb11g_home1TNSListener" | sc query "OracleServiceSCT" | findstr /i running | if NOT "%errorlevel%"=="0" net start oracleservicesct
    GOTO :END
    :RUNNING
    ECHO RUNNING
    net stop "OracleOraDb11g_home1TNSListener" | sc query "OracleServiceSCT" | findstr /i running | if "%errorlevel%"=="0" net stop oracleservicesct
    GOTO :END
    :ENDEdited by: mseberg on Feb 15, 2012 1:17 PM

  • Limit number of parallell processes when archiving

    Hello,
    I am about to achive object SD_VBAK. This will take a long time to run, so I want to limit the number of parallell batch process it runs in. When I did this in our development system the archiving took all available batch processes. It there a way to set the number of parallell processes? I don´t want to affect the normal business.
    We run on ECC 6.0.
       Best Regards
       Ann-Sofie Svensson

    Hi ann,
    Check this link
    http://help.sap.com/saphelp_erp2004/helpdata/en/d2/36e2791560ed4a96e97a3175694886/content.htm
    You can set parallel work process, or you can run archiving only in night, for example in Cross-Object Customizing you set parameter Max. Duration Hrs, then schedule Archiving job and finish automatically in XX Hours.
    Regards,
    William Neira

  • Recovery process applies old archivelogs on standby database

    Right now my standby database is in sync with my primary database and is waiting for the archived log sequeuence# 8378 to arrive.
    But when I stop the recovery process (alter database recover managed standby database cancel;) and re-start it (alter database recover managed standby database disconnect), it starts all over again and starts applying archive logs starting from the sequence# 5739 (looks like its scanning thru the logs). To catchup with primary it takes 2+ hours as it need to skim thru all the logs starting from 5739 to 8377.
    Please let me know if you need any further information to fix this.
    Thank you
    Sunny boy
    Details:
    Database version: 11.2.0.3
    OS : RHEL 5
    On Standby Database
    SQL> SELECT THREAD#, MAX(SEQUENCE#) AS "LAST_APPLIED_LOG"
    FROM V$LOG_HISTORY
    GROUP BY THREAD#; 2 3
    THREAD# LAST_APPLIED_LOG
    1 8377
    Alert log
    alter database recover managed standby database disconnect
    Attempt to start background Managed Standby Recovery process (MNODWDR)
    Tue May 08 16:13:09 2012
    MRP0 started with pid=28, OS id=26150
    MRP0: Background Managed Standby Recovery process started (MNODWDR)
    started logmerger process
    Tue May 08 16:13:15 2012
    Managed Standby Recovery not using Real Time Apply
    Parallel Media Recovery started with 8 slaves
    Waiting for all non-current ORLs to be archived...
    All non-current ORLs have been archived.
    Completed: alter database recover managed standby database disconnect
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/arch/mnodw_1_5739_765032423.arc
    Tue May 08 16:13:48 2012
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5740.1466.781015749
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5741.1468.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5742.1474.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5743.1473.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5744.1477.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5745.1478.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5746.1472.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5747.1475.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5748.1469.781017203
    Media Recovery Log +MNODW_FRA_GRP/mnodwdr/archivelog/2012_04_19/thread_1_seq_5749.1470.781017203
    Tue May 08 16:13:57 2012
    Edited by: Sunny boy on May 8, 2012 5:29 PM

    Hello;
    V$LOG_HISTORY is the information from the control file. I would use a different query to check :
    From the Primary :
    SET PAGESIZE 140
    COL DB_NAME FORMAT A10
    COL HOSTNAME FORMAT A14
    COL LOG_ARCHIVED FORMAT 999999
    COL LOG_APPLIED FORMAT 999999
    COL LOG_GAP FORMAT 9999
    COL APPLIED_TIME FORMAT A14
    SELECT
       DB_NAME, HOSTNAME, LOG_ARCHIVED, LOG_APPLIED, APPLIED_TIME, LOG_ARCHIVED-LOG_APPLIED LOG_GAP
    FROM
    ( SELECT
       NAME DB_NAME
    FROM
       V$DATABASE
    SELECT
       UPPER(SUBSTR(HOST_NAME,1,(DECODE(INSTR(HOST_NAME,'.'),0,LENGTH(HOST_NAME), (INSTR(HOST_NAME,'.')-1))))) HOSTNAME
    FROM
       V$INSTANCE
    SELECT
       MAX(SEQUENCE#) LOG_ARCHIVED
    FROM
       V$ARCHIVED_LOG
    WHERE
       DEST_ID=1
    AND
       ARCHIVED='YES'
    SELECT
       MAX(SEQUENCE#) LOG_APPLIED
    FROM
       V$ARCHIVED_LOG
    WHERE
       DEST_ID=2
    AND
       APPLIED='YES'
    SELECT
       TO_CHAR(MAX(COMPLETION_TIME),'DD-MON/HH24:MI') APPLIED_TIME
    FROM
       V$ARCHIVED_LOG
    WHERE
       DEST_ID=2
    AND
       APPLIED='YES'
    );Change DEST_ID as needed for your system. I would also bump the parameter LOG_ARCHIVE_MAX_PROCESSES assuming its set to default to a higher value up to 30.
    Maybe instead of stopping the recovery process you should DEFER on the Primary
    alter system set log_archive_dest_state_2=defer;Change the _n from 2 to what your system requires. I use this and have watch DG catch up 200 archives in about 15 minutes.
    You have Standby Redo setup and are using the same size as your redo right?
    Have never seen the Standby try to apply twice.
    ORA-600 [3020] "Stuck Recovery" [ID 30866.1] ( But I do not see your issue )
    Metalink Note 241438.1 Script to Collect Data Guard Physical Standby Diagnostic Information
    Metalink Note 241374.1 Script to Collect Data Guard Primary Site Diagnostic Information
    Best Regards
    mseberg
    Edited by: mseberg on May 8, 2012 5:16 PM

  • Number of parallel process definition during data load from R/3 to BI

    Dear Friends,
    We are using Bi7.00. We have a requirement in which i should increase the number of parallel process during data load from R/3 to BI.  I want to modify this for a particular data source and check.Can experts provide helpful answers for the following question.
    1) When load is taking place or have taken place, where can we see how many parallel process that particular load has taken.
    2) Where should i change the setting for the number of parallel process for data load (from R/3 to BI) and not within BI.
    3) How system works and what will be net result of increasing or decreasing the number of parallel process.
    Expecting Experts help.
    Regards,
    M.M

    Dear Des Gallagher,
    Thank you very much for the useful information provided. The following was my observation.
    From the posts in this forum, i was given to understand that the setting for specific data source can be done in the infopackage and DTP level, i carried out the same and found that there is no change in the load, i.e., system by default takes only one parallel process even though i maintained 6.
    Can you kindly explain about the above mentioned point. i.e.,
    1) Even though the value is maintained in the infopackage level , will system consider it or not. -> if not then from which transaction system is able to derive the 1 parallel process.
    Actually we wanted to increase the package size but we failed because i could not understand what values have to be maintained  -> can you explain in detail
    Can you calrify my doubt and provide solution?
    Regards,
    M.M

  • Error in starting MRP process in Standby database.

    Hi All,
    OS:Windows server 03
    DB:11g
    I am creating a Standby database, everything is fine until i fire the below command to start the MRP process to start the recovery of the database.
    alter database recover managed standby database disconnect from session;MRP0 started with pid=27, OS id=6640
    2013-02-07 17:59:48.515000 +05:30
    started logmerger process
    Managed Standby Recovery not using Real Time Apply
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
    ORA-27086: unable to lock file - already in use
    OSD-00002: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSAUX01.DBF'
    ORA-27086: unable to lock file - already in use
    OSD-00002: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\APP\ORACLE\ORADATA\TEST\TEST\UNDOTBS01.DBF'
    ORA-27086: unable to lock file - already in use
    OSD-00002: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\APP\ORACLE\ORADATA\TEST\TEST\USERS01.DBF'
    ORA-27086: unable to lock file - already in use
    OSD-00002: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    MRP0: Background Media Recovery terminated with error 1110
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_pr00_7984.trc:
    ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
    Recovery Slave PR00 previously exited with exception 1110
    Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_mrp0_6640.trc:
    ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
    Completed: alter database recover managed standby database disconnect from session
    Can anyone tell me why is this comming?
    Regards,
    Sphinx

    Hi ,
    Yes, it is on the same server.
    I have used the below mentioned parameters to rename the files
    At Primary Pfile:
    *.db_file_name_convert=('D:\app\oracle\oradata\test\test\','D:\app\oracle\testdr\oradata\datafiles\')
    *.log_file_name_convert=('D:\app\oracle\oradata\test\test\','D:\app\oracle\testdr\oradata\redologs\')
    At Standby:
    *.db_file_name_convert=('D:\app\oracle\testdr\oradata\datafiles\','D:\app\oracle\oradata\test\test\')
    *.log_file_name_convert=('D:\app\oracle\testdr\oradata\redologs\','D:\app\oracle\oradata\test\test\')
    But the output of v$datafile at standby is showing the path of Primary datafiles
    I manually tried recovering them but it is prompting me the same error.
    Regards
    Edited by: $phinx19 on Feb 7, 2013 6:23 AM

  • Related to recovery in Physical standby database in RAC

    In Physical Standby database all instance involved in recovery processes or any one instance will be their in in recovery mode
    If is like this another instance will be for high availabily can any one in forum explain me it will be help full

    With your Primary database being RAC, the Physical Standby does not have to be RAC, although, obviously it would be preferred to have scalability as required at a DR site.
    Whether your Standby is RAC or non-RAC, the automatic Recovery that is done at the Standby is done by one instance only. It would be applying the ArchiveLogs from all the threads (i.e. instances) of the Primary.
    Database Recovery is always done by a single instance.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Load Distribution Versus Parallel Jobs processing

    Hello,
    I would request feedback.
    In Industry Solutions - PS, for mass activity - Automatic Clearing run, there is an Technical Settings tab.
    This tab has Load distribution settings and an value that can be defined for Number of Jobs.
    If I put an value greater than 1, so many number of jobs gets executed in the background.
    I would request clarification on the following :
    1. What is its use / benefits of putting defining an automatic load distribution ?
    2. Does this setting equals the Config settings for IMG - Finnancial Accounting- Contract AR - Technical Settings - Prepare Mass.
    In here, we can set parallel jobs that can be initiated by providing an maximum number of jobs under the job control panel.
    Does this setting override Load distribution settings or vice-versa  OR IS this an different setting ?
    3. What is the difference between Load distribution versus parallel Jobs ?
    Any feedback, most welcome and appreciated.
    I am functional consultant and hence unable to distinguish between the two.
    I am not sure if this query needs to be posted here, but I have also posted the same in IS fourm too.
    Regards
    Bala
    email : [email protected]

    Hi Bala,
    In any Mass Activity you will find Technical Settings tab. There you will find Parallel Processing Object and Load Distribution. In Parallel Processing Object, you can select object according to Input depending upon which you will able to divide the job. For example, GPART is used when job have to divide depending upon Business partner. In Maintain Variants you have to create Variants.You have to give Variant name and value in either Interval length or Number of Intervals. Interval length will decide what is the maximum number of object will be processed in a single part. Number of Interval is the number which tells job will be divided in how many parallel process.
    For example, let you r running a parallel process for 1000 Business Partner.You choose GPART as object.Now if you put 200 in interval length it will divide job in 5 parallel process.If you put 10 in number of interval it will divide the job in 10 parallel process each of 100 Business partner.
    After creating variant, you use it in technical setting.
    Let u already define variants which divide the job in 30 but you want maximum number of parallel process will be executed at a time is 6.Then put 6 in Number of jobs field in automatic load distribution.
    Hope this can able to clear your question. Still if have any doubt feel free to ask me.
    Thanks and regards,
    Jyotishankar Dutta

  • Stoping recovery process....ORA-01110

    Hi experts;
    I have created physical Standby. I am getting archives when I start the recovery process by issuing
    alter database recover managed standby database using current logfile disconnect;
    But when I stop this process & alter database open
    alter database recover managed standby database cancel
    logs reports no error but I get when "alter database open"
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u02/app/oracle/oradata/orcl/system01.dbf'
    this. Actually I had copied all datafiles without issuing "ALter database begin backup"
    So please provide me the solution
    Thanks in Advance

    Fayn_dba wrote:
    Hi experts;
    I have created physical Standby. I am getting archives when I start the recovery process by issuing
    alter database recover managed standby database using current logfile disconnect;
    But when I stop this process & alter database open
    alter database recover managed standby database cancel
    logs reports no error but I get when "alter database open"
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u02/app/oracle/oradata/orcl/system01.dbf'
    this. Actually I had copied all datafiles without issuing "ALter database begin backup"What procedure you used exactly?
    what is the version you are using?
    Why cant use RMAN duplicate?
    When you start MRP(recovery) do you see any progress there as it is applying?
    Read methods to take backups when database is open and do the same.
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmintro.htm

  • Parallel recovery on DR on RAC

    Hi all,
    We have a 2 node DR on 2 node RAC. Just wanted to know if it is possible to do recovery from both the nodes parallel, I mean node 1 will apply its archive and node 2 prod nodes 2 archive.
    If this is possible how is that and if its not why?
    Regards
    ID

    Hello;
    Have you looked at:
    D.1.1 Setting Up a Multi-Instance Primary with a Single-Instance Standby
    Data Guard Concepts and Administration 11g Release 2 (11.2) E25608-04
    If yes, what would parallel recovery give you?
    I have never tried to do this setup but the main issues I would see it the second standby instance would not be available
    if something happened to the first standby instance.
    By using only one instance for apply it's much simplier to keep track of the redo coming from the two primary instances.
    If you don't use a standby as a reader database it does not have a lot of load on it. Generally if you check the alert
    log there are several minutes between the "waiting for log..." messages.
    Great question!
    Best Regards
    mseberg

  • How to limit the number of parallel instances of a given event-based job?

    Hi,
    DB version : 11.2.0.3
    I'm using an event-based job with parallel_instances attribute set to true.
    It works perfectly fine, messages are enqueued then dequeued and processed simultaneously by separate instances of the same job.
    Now, I'd like to limit the number of parallel instances of this job running at the same time, say to an arbitrary number n.
    What would be the best way to do that?
    Maybe using a notification callback is a better option in this case?
    Thanks in advance for any input.

    Hi,
    DB version : 11.2.0.3
    I'm using an event-based job with parallel_instances attribute set to true.
    It works perfectly fine, messages are enqueued then dequeued and processed simultaneously by separate instances of the same job.
    Now, I'd like to limit the number of parallel instances of this job running at the same time, say to an arbitrary number n.
    What would be the best way to do that?
    Maybe using a notification callback is a better option in this case?
    Thanks in advance for any input.

  • Parallel datapackage processing possible for file datasource in NW2004s

    Hi,
    We have a huge flatfile which is quite slow in loading due to the fact that it processes all datapackages serially (25.000 records each). Is it possible at all to do this in parallel like it is possible for R/3 datasources via the control parameters option (table roidocprms- ? According to the help, the customizing RSCUSTV6 is the one to be used for flatfiles but this doens't include the number of parallel processes.
    If not, would it be better for the performance to use bigger package seizes for flatfiles ?
    thanks

    Just to clarify :
    In this case we load via the old methods (infosources/update rules) so no usage of transformations and DTP's.

  • Help Needed, Recovery Process

    Hi, This is just a inquiry on how recovery works. First, I'll just add I have a Satellite L500-ST2522. I've looked through the manual and haven't found any answers. I have just made recovery DVDs, and am expecting a new hard drive either tommorow or Monday. My question is on how these discs work (I've got 3-Rocovery discs, 1 Windows Recovery Environment(64bit) disc, and a Toshiba Applications and Drivers disc.). I'm assuming that the HDD is unformatted on delivery. Am I to boot from one of the discs and if so which one do I boot with, they were burned in the order I listed them above. I'm sorry if this is a stupid question, I just want to have the process run as smoothly as possible. Any response would be greatly appreciated. 
    Thanks.
             Dave

    The Apps and Drivers disk is totally independent of the recovery process.  It's purpose is to restore an individual driver, utility, or application to an existing installation. 
    The Windows Recovery Environment disk is also independent of the Recovery (restore) process. From Wikipedia:  "Windows Recovery Environment (WinRE) is a set of tools included in the Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 operating systems to help diagnose and recover from serious errors which may be preventing Windows from booting successfully. WinRE may be installed and/or booted from many media including hard disks (Hidden NTFS partition type 0x27), optical media (such as an operating system installation disc) and PXE (e.g. Windows Deployment Services). WinRE is based on WinPE 2.0.[1]"  It would be used for Startup Repair among other things.  See http://en.wikipedia.org/wiki/Windows_Recovery_Environment  for more information.  
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Testing recovery process.

    Hi All,
    DB -10.2.0.2.0
    We frequently perform database refreshes'es. this time, we have to perform time based refresh
    till 31-aug-09 11:00AM. following are the sequence date and timestamp extracted from v$archived_log
    in that case, whaich is the sequence, we have to use while performing time based recovery.
    One more question, for database refresh, we move dbf's and archive fom source to target.
    Now, before performing recovery, is there anyway to test out, weather we have required archives
    and dbf's. I recently read Arup's book that we can do this, but I am not sure, weather this can
    be achieved in user managed backups hot backups.
    Also, after performing time based recovery, how
    can we know, till what time the databsae being recovered.
    You swift reply would be highly appricaited.
    272193 30-08-2009 09:11:49
    272194 30-08-2009 23:15:15
    272195 30-08-2009 23:15:17
    272196 31-08-2009 02:33:51
    272197 31-08-2009 06:33:15
    272198 31-08-2009 08:50:39
    272199 31-08-2009 10:06:57
    272200 31-08-2009 10:19:30
    272201 31-08-2009 10:42:30
    272202 31-08-2009 11:13:50
    272203 31-08-2009 11:15:02
    272204 31-08-2009 11:18:45
    272205 31-08-2009 11:23:29hare krishna

    RMAN> backup database;
    Starting backup at 16-SEP-09
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/app/oracle/oradata/mmi/system01.dbf
    input datafile file number=00002 name=/u01/app/oracle/oradata/mmi/sysaux01.dbf
    input datafile file number=00003 name=/u01/app/oracle/oradata/mmi/undotbs01.dbf
    input datafile file number=00005 name=/u01/app/oracle/oradata/mmi/mydatafile.dbf
    input datafile file number=00004 name=/u01/app/oracle/oradata/mmi/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 16-SEP-09
    channel ORA_DISK_1: finished piece 1 at 16-SEP-09
    piece handle=/u01/app/oracle/flash_recovery_area/MMI/backupset/2009_09_16/o1_mf_nnndf_TAG20090916T134511_5c19dv9q_.bkp tag=TAG20090916T134511 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    Finished backup at 16-SEP-09
    Starting Control File and SPFILE Autobackup at 16-SEP-09
    piece handle=/u01/app/oracle/flash_recovery_area/MMI/autobackup/2009_09_16/o1_mf_s_697729560_5c19gcmc_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 16-SEP-09
    RMAN> sql 'alter system archive log current';
    sql statement: alter system archive log current
    RMAN> sql 'alter system archive log current';
    sql statement: alter system archive log current
    RMAN> sql 'alter system archive log current';
    sql statement: alter system archive log current
    RMAN> shutdown abort
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    [oracle@khurram ~]$ rm -rf /u01/app/oracle/oradata/mmi/*
    [oracle@khurram ~]$ rman target /
    Recovery Manager: Release 11.1.0.6.0 - Production on Wed Sep 16 13:47:35 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    Total System Global Area    1620115456 bytes
    Fixed Size                     2144864 bytes
    Variable Size                721421728 bytes
    Database Buffers             889192448 bytes
    Redo Buffers                   7356416 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 16-SEP-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=153 device type=DISK
    recovery area destination: /u01/app/oracle/flash_recovery_area
    database name (or database unique name) used for search: MMI
    channel ORA_DISK_1: AUTOBACKUP /u01/app/oracle/flash_recovery_area/MMI/autobackup/2009_09_16/o1_mf_s_697729560_5c19gcmc_.bkp found in the recovery area
    AUTOBACKUP search with format "%F" not attempted because DBID was not set
    channel ORA_DISK_1: restoring control file from AUTOBACKUP /u01/app/oracle/flash_recovery_area/MMI/autobackup/2009_09_16/o1_mf_s_697729560_5c19gcmc_.bkp
    channel ORA_DISK_1: control file restore from AUTOBACKUP complete
    output file name=/u01/app/oracle/oradata/mmi/control01.ctl
    output file name=/u01/app/oracle/oradata/mmi/control02.ctl
    output file name=/u01/app/oracle/oradata/mmi/control03.ctl
    Finished restore at 16-SEP-09
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1From another terminal come at SQL
    [oracle@khurram ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Sep 16 13:49:14 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> set linesize 1000
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile;
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    /u01/app/oracle/oradata/mmi/system01.dbf                      1350307              SYSTEM
    /u01/app/oracle/oradata/mmi/sysaux01.dbf                      1350307              ONLINE
    /u01/app/oracle/oradata/mmi/undotbs01.dbf                     1350307              ONLINE
    /u01/app/oracle/oradata/mmi/users01.dbf                       1350307              ONLINE
    /u01/app/oracle/oradata/mmi/mydatafile.dbf                    1350307              ONLINEhere you can see that within control file repositry the datafiles START SCN (CHECKPOINT_SCHANGE#) is 1350307,whenever checkpoints occur, Oracle writes a START SCN to the data file headers as well it writes the START SCN within controlfile for each datafile.The control file also maintains another SCN value for each data fil with START SCN is the STOP SCN, this STOP SCN is usually null (infinity) when yours database status is open and datafile status is online , the null status shows that recovery will start from START SCN and will goes to the end of redo thread.The STO SCN here is LAST_CHANGE#
    RMAN> restore database;
    Starting restore at 16-SEP-09
    Starting implicit crosscheck backup at 16-SEP-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=152 device type=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 16-SEP-09
    Starting implicit crosscheck copy at 16-SEP-09
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 16-SEP-09
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /u01/app/oracle/flash_recovery_area/MMI/autobackup/2009_09_16/o1_mf_s_697729560_5c19gcmc_.bkp
    File Name: /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_1_5c19gzs5_.arc
    File Name: /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_2_5c19h2m0_.arc
    File Name: /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_3_5c19h4tk_.arc
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/mmi/system01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/mmi/sysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/mmi/undotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/mmi/users01.dbf
    channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/mmi/mydatafile.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/MMI/backupset/2009_09_16/o1_mf_nnndf_TAG20090916T134511_5c19dv9q_.bkp
    channel ORA_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area/MMI/backupset/2009_09_16/o1_mf_nnndf_TAG20090916T134511_5c19dv9q_.bkp tag=TAG20090916T134511
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
    Finished restore at 16-SEP-09
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile;
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    /u01/app/oracle/oradata/mmi/system01.dbf                      1350307              SYSTEM
    /u01/app/oracle/oradata/mmi/sysaux01.dbf                      1350307              ONLINE
    /u01/app/oracle/oradata/mmi/undotbs01.dbf                     1350307              ONLINE
    /u01/app/oracle/oradata/mmi/users01.dbf                       1350307              ONLINE
    /u01/app/oracle/oradata/mmi/mydatafile.dbf                    1350307              ONLINENow recover
    RMAN> recover database;
    Starting recover at 16-SEP-09
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 1 is already on disk as file /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_1_5c19gzs5_.arc
    archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_2_5c19h2m0_.arc
    archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_3_5c19h4tk_.arc
    archived log file name=/u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_1_5c19gzs5_.arc thread=1 sequence=1
    archived log file name=/u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_2_5c19h2m0_.arc thread=1 sequence=2
    archived log file name=/u01/app/oracle/flash_recovery_area/MMI/archivelog/2009_09_16/o1_mf_1_3_5c19h4tk_.arc thread=1 sequence=3
    unable to find archived log
    archived log thread=1 sequence=4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/16/2009 13:51:44
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 4 and starting SCN of 1350423
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile;
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    /u01/app/oracle/oradata/mmi/system01.dbf                      1350423              SYSTEM
    /u01/app/oracle/oradata/mmi/sysaux01.dbf                      1350423              ONLINE
    /u01/app/oracle/oradata/mmi/undotbs01.dbf                     1350423              ONLINE
    /u01/app/oracle/oradata/mmi/users01.dbf                       1350423              ONLINE
    /u01/app/oracle/oradata/mmi/mydatafile.dbf                    1350423              ONLINEHere you can see that within controlfile repositry there is datafile header START SCN which was 1350307 after restore,when you started recovery now its
    SCN is 1350423 which shows that yours recovery process start from SCN 1350307 and ends at 1350423.
    Khurram

Maybe you are looking for

  • [CLOSED + MOVED]Activate lvm2 on ext3 root partition

    Hello guys, I want to move to lvm2 on my arch installation, I haven't used any lvm before. So here's what I did so far: 1. shrink root partition using gparted to 7 gigabytes 2. created an lvm partition with size 8 gigabytes 3. migrated all files from

  • Copying a page from one application to another

    Is it possible to copy a page definition to a different application? When choosing "Copy' on the page definition the application# is hard-coded.

  • Serial Port not accessible until I run MAX

    Hi! On my machine I can access all Serial ports perfectly. I put a Vias Resource in my VI and get a drop down menu with all my serial ports. But on other machines (Runtime v7 and VISA runtime installed) I don´t get the names (e.g. com1 com2) but only

  • Weblogic plugin for formatting JSP

    Hi           Is there any third party plug in available for formatting/cleaning up JSP files in weblogic

  • Plz help f.01 dump

    Hi , In transaction f.01 if i exicute after entering respective data   gives financial statement if i go o menu List -> export -> additional functions of SAP Query. it gives me dump.when I analyse that dump it is some selection error which in in turn