Regarding RMAN n Logical Backup

Hi All,
Will Select query affect the RMAN n logical Backup????

hi yingkuan..
VERSION
10.1.0.5.0
Its a select query which contain lots of conditions....
please find below the query
select distinct cci.consmr_no ,vin
from lead_info li,
lead_std_address lsa,
cdr_consmr_info cci,
cdr_address ca,
cdr_product_info cpi
where li.household_id=lsa.household_id and
cci.consmr_no=ca.consmr_no and
cci.consmr_no=cpi.consmr_no and
cpi.extract_dt between '22-DEC-2005' and '31-DEC-2006' and
li.last_name=cci.last_name and
lsa.address_1=ca.address and
lsa.city_name=ca.city_name and
lsa.state=ca.state and
lsa.zip=ca.zip and
li.family_id is not null and
cpi.family_id is null

Similar Messages

  • What else in logical backups

    Hi, DBA Professionals,
    If i take logical backup of full database, what else in the database to take backup.
    is this logical backup will take only logical data or physical data?
    if it takes logical only then what about row=y
    and what is difference between isqlplus and oem
    could you please clarify my doubts.
    thanks a lot in advance.

    805547 wrote:
    thanks a lot for guided me,
    i am using 10g R2 database.
    if i take complete, incremental, cumulative backups of my database, if i loss whole database is it possible to recover it with logical backups. if it is yes, what is the method.
    A "complete, incremental, cumulative backups" would be physical backups using rman. a "logical" backup would be an export (exp or expdp) dump. The logical backup can only be imported back into a working database, and would be a point-in-time snapshot of the data. With use of proper backup options, a proper physical backup can recover a database from a total loss, and to any point in time covered by the backups.
    if i loss system datafile only what is the method to recover it using logical backups.There is none. That's why "logical" backups are only one part - and the least important part - of a complete backup/recovery strategy.

  • RMAN logical backup containing unused blocks

    Dear Experts
    When i taking logical backup of datafile from RMAN utility i notify that it will also backed up all unused blocks from datafile, so what i need to do, how to avoid that unused block from being backed up while taking logical backup of datafiles.
    System details as follows
    HP Itanium server
    OS - Redhet Linux 5
    DB - Oracle10g
    Suggest me urgent.

    Here i am gonna show you the backup statistics for only those problematic datafiles
    DFNAME                                    DATAFILE_BLCKS     BLOCKS          DIFF
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744     9818          1685926
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          8527          1707697
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          9727          1612289
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          9808          1612208
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          24823          1670921
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          19891          1696333
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          20591          1601425
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          17026          1604990
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          21239          1674505
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          17843          1698381
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          19820          1602196
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          14429          1607587
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          33885          1661859
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          41480          1674744
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          32338          1589678
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          26288          1595728
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          10504          1685240
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          18169          1698055
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          16195          1605821
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          11974          1610042
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          16938          1678806
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          25688          1690536
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          30653          1591363
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          20611          1601405
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          965385          730359
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          1010354          705870
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          1004034          617982
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          1695397          347
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          1713435          2789
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          1621255          761
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          1620287          1729
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          1695397          347
    /san_index/oradata/orcl/rajemitra_index5.dbf     1171456          1170831          625
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          1695397          347
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          1713470          2754
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          1621261          755
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          1620364          1652
    /san_index/oradata/orcl/rajemitra_index5.dbf     1171456          48547          1122909
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          47875          1647869
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          19725          1696499
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          26205          1595811
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          56040          1565976
    /san_index/oradata/orcl/rajemitra_index5.dbf     1171456          31859          1139597
    /san_index/oradata/orcl/rajemitra_index1.dbf     1695744          29509          1666235
    /san_index/oradata/orcl/rajemitra_index2.dbf     1716224          20767          1695457
    /san_index/oradata/orcl/rajemitra_index3.dbf     1622016          13210          1608806
    /san_index/oradata/orcl/rajemitra_index4.dbf     1622016          31411          1590605

  • What to do if there is abrupt termination of RMAN during a backup session

    Hi All,
    I am trying to automate the Level 0 and Level 1 backups which we ought to take. Following the is the RMAN related part of it for L1 backup:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;"
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '${BKP_LOCATION}/${LType}_%F';"
    run {"
    allocate channel c1 type disk;"
    backup"
    incremental level 1 cumulative tag = $BTAG"
    format '${BKP_LOCATION}/${LType}_%d_set%s_piece%p_%T_%U.bkp'"
    (database include current controlfile tag $CTAG) ;"
    sql 'alter system archive log current';"
    sql 'alter system archive log current';"
    backup archivelog from sequence ${CSEQ} tag $ATAG"
    format '${BKP_LOCATION}/${LType}_Arch_%d_set%s_piece%p_%T_%U.bkp';"
    release channel c1;"
    exit;"
    In the above snippet, the variables are substituted for within a shell script and then put into a command file for RMAN. I am a novice in the backup and recovery. I got above piece of code from someone working on RMAN and built my automation logic around it.
    The script works fine and I am trying to build to script level recovery feature around it. My question is:
    -- What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db connection or receiving an interrupt signal or a kill signal or some other weird reason.
    -- What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup completed?
    Thanks in Advance.

    Hi user781131,
    What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db
    connection or receiving an interrupt signal or a kill signal or some other weird reason?The backup set which rman was creating is not commited due to the abnormal termination but all succesfull backup sets can be used.
    What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup
    completed?In your backup script you do not use the < NOT BACKED UP SINCE TIME > clause so it will again do a level 1 backup off all datafiles.
    See:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i1017236
    This option is a convenient way to back up files that were not backed up during a previous failed backup. For example, you back up the database, but the instance fails halfway through. You can restart the backup with the NOT BACKED UP SINCE TIME clause and avoid backing up those files that you already backed up. If AS BACKUPSET is set, then this feature is only useful if RMAN generates multiple backup sets during the backup.
    Regards,
    Tycho
    Edited by: tychos on 28-jan-2010 15:21

  • ASM and Logical backups

    Is it possible to use ASM diskgroup as a destination
    for logical backups? For example I have ASM diskgroup
    for Flash Recovery Area and want to use its space for dumps too.

    No,
    only datafiles,
    datafile copies,
    controlfiles,
    online redo log files,
    archived online redo log files,
    rman backup sets
    ar possible as far as I know.
    Not possible are:
    alertlogs,
    trace files,
    password files,
    binaries.
    Regards,
    Lutz

  • Logical backup and recovery using export/import

    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......

    user12864080 wrote:
    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......Vasant,
    Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
    http://www.evdbt.com/TD_Rman.pdf
    Aman....

  • Export dump(logical backup) runing since yesterday

    Hi to All,
    We are taking full export dump(logical backup) of database.till last week its fine on sunday we change the password of administrator and we forgot to change to password in this scheduled scripts.and yesterday i run this backup manullay in morning and i saw its affecting our performance I cancel this task in middle only I haven't deleted that files from backup location and I had given the password in that scirpts and that scripts runing and that scripts started runing at there aproprite time but the incomplete backup is existed at backup location and the backup which started at scheduled time is runing since yesterday before its fininsh in 2 or 3 hours but know its runing since yesterday.Please give me some solution.
    Thanks and Regards
    Mohd Khaja

    On windows it gets a bit hairy as there really is no clean and nice way of doing it.There are a couple of options.
    1. If you can rely on dateformat not changing, you can use a static substring expression. For example, the following might work w/ finnish locale echo %date:~3,2%%date:~6,2%%date:~9,4%Similarly, when you know the dateformat you can tokenize the output of 'date /t' and discard the tokens you don't want.
    2. You can set dateformat to your liking and then just use %date% in your script
    3. You can run a "SELECT to_char(sysdate,..." into a file and then read that file in your script.
    4. Simon Sheppard also has a solution you could use as a basis. I have a slight issue with the approach, but that could just be me.
    5. Use gnuwin32 or similar ;)
    Also note that %date% env var is set automatically from w2k onwards, so some of the solutions might not work w/ older versions.

  • RMAN-06023: no backup or copy of datafile

    Hi,
    on 10g R2 on AIX, I want to recover my DB at the time of 26 of march. The backup files are available but I receive :
    RMAN> Run {
    2>         SET UNTIL TIME "to_date('26-03-2011 00:00:00','DD-MM-YYYY HH24:MI:SS')";
    3>      allocate channel t1 type disk;
    4>      restore database;
    5>      recover database;
    6>      sql "alter database open";
    7> }
    8>
    executing command: SET until clause
    allocated channel: t1
    channel t1: sid=155 devtype=DISK
    Starting restore at 01-APR-11
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 04/01/2011 11:13:42
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 216 found to restore
    RMAN-06023: no backup or copy of datafile 215 found to restore
    RMAN-06023: no backup or copy of datafile 214 found to restoreWhy RMAN can't find them ?
    How to verify ?
    Thank for help.

    Hi,
    Can you please make sure the restore mechanism you are following is correct or not?
    Mechanics of Restore Operations
    RMAN automates the procedure for restoring files. You do not need to go into the operating system, locate the backup that you want to use, and manually copy files into the appropriate directories. When you issue a RESTORE command, RMAN directs a server session to restore the correct backups to either:
    * The default location, overwriting the files with the same name currently there
    * A new location, which you can specify with the SET NEWNAME command
    To restore a datafile, either mount the database or keep it open and take the datafile to be restored offline. When RMAN performs a restore, it creates the restored files as datafile image copies and records them in the repository.
    refer the link for more information
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmconc2.htm
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Complete logical backup separte of every schema

    i want to take complete logical backup of all the schemas running on database separtely by a script which then replace the last 2 days backupp
    any script in this regard
    thanks a lot

    @echo off
    CLS
    REM ********************************
    SET V_USER=riyadh
    SET V_PASSWORD=riyadh
    SET V_DB=vis
    SET V_DMP_PATH=D:\dump\
    REM ********************************
    ECHO.
    SET EXP_PATH=D:\oracle\visdb\9.2.0\bin\
    SET MONTH=%DATE:~4,2%
    SET YEAR=%DATE:~10,4%
    SET DATED=%DATE:~-7,2%
    ECHO ------------------------------------------------
    ECHO CONNECT AS : %V_USER%/%V_PASSWORD%@%V_DB%
    ECHO Backup on : %DATED%/%MONTH%/%YEAR% (DD/MM/YYYY)
    ECHO SAVE AS : %V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp
    ECHO ------------------------------------------------
    TITLE BACKUP ...%V_USER%_%DATED%%MONTH%%YEAR%
    echo.
    %EXP_PATH%EXP.exe %V_USER%/%V_PASSWORD%@%V_DB% file=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp log=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.log
    i am using this script for daily backup but i want to replace then the first dump after 3 days but the date should be of today meanz i want to replace the dump of 3 days earlier suppose i take backup on 27 so when i take dump on 31 again it replace the dump of 27 but the dump file name should be 31 so i can understand easily this is dump of 31

  • RMAN-06023: no backup or copy of datafile n found to restore

    Hi,
    on 11g R2 , Win 2008, I try to duplicate by RMAN NOCATALOG.
    In init.ora of auxiliary I have :
    init.ora
    db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data')
    log_file_name_convert=('m:\base\OLDDB\log', 'm:\base\NEWDB\log') 1- when duplicating RMAN displays :
    set newname for datafile  109 to
    "M:\BASES\OLDDB\DATA\EOIUAPP.DBF";; but for me reverse is expected since M:\BASES\OLDDB\DATA\EOIUAPP.DBF is the ancient/old name.
    2-RMAN displays :
    channel ORA_AUX_DISK_1: restoring datafile 00041 to M:\BASES\OLDDB\DATA\EOIUAPP.DBF But again the datafile should be restored to 'm:\base\NEWDB\data'.
    And also:
    channel ORA_AUX_DISK_1: reading from backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
    ORA-19504: failed to create file "M:\BASES\OLDDB\DATA\PSIMAGE.DBF";
    ORA-27040: file create error, unable to create file
    OSD-04002: can not open file
    O/S-Error: (OS 3) file path not found. Finally :
    RMAN-06023: no backup or copy of datafile n found to restore For all files.
    Thanks for help.

    Hello
    setfilename has "BASES" but logfile convert has "base"
    M:\BASESand
    db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data') Best Regards
    mseberg
    Edited by: mseberg on Sep 20, 2012 7:41 AM

  • Tracking the logical backups' success

    DB version:10.2.0.4
    OS : Solaris 5.10
    We have 45 schemas in one of our critical production DBs.
    Apart from the RMAN backups, we take logical backups of all the business related 45 schemas.
    A shell script is dynamically generated and executed every day to take EXP backups of all these 45 schemas
    I need to create a PL/SQL code or Shell script which will notify us through email if any of the EXP commands have failed.
    What is the 'professional' way to do this? We already have the Email sending PL/SQL procedure ready.

    Y.Ramlet wrote:
    Will Enterprise Manager send mails when individual schemas's backups have failed ?EM would send mail when the requested job is failed and you have configured another , backup job which would run and send an email. So the answer would be IMO, it depends .
    HTH
    Aman....

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • Is it possible to take incremental logical backups via EXPDP in Oracle 10g

    Guys,
    I am curious that can EXPDP be used to take the incremental logical backups. If so then please let me know how it is possible.
    Regards
    Asif

    There is no incremental specification clause like the one in the export command (INCTYPE). If you ever used the export incremental option, IMO it was not actually an incremental export, it was just enough for a table to change one row to consider the complete Table to be exported on the next exp execution. Not quite a practical approach, overall considering that regularly the more sized tables are those that frequently change.
    ~ Madrid

  • Logical backup?

    Hi Guru's
    i confused with terms ,can any body tell me what is logical backup ......or is it same as cold backup and hot backup??? please help me
    Chetan ....

    CHETAN YADAV wrote:
    Hi Guru's
    i confused with terms ,can any body tell me what is logical backup ......or is it same as cold backup and hot backup??? please help me
    Chetan ....Logical backup is taking using exp/expdp utilities.
    Cold backup can be take user managed so,you can shutdown immediate database and copy all control/data/online logs to other backup location,this is cold backup,also you can take this rman.
    Hot backup can be take if database running in archivelog mode.You can use RMAN or user managed.from rman you can try just BACKUP DATABASE and that is enough.Or user managed you can use ALTER DATABASE BEGIN BACKUP or ALTER TABLESPACE BEGIN BACKUP then using OS commands you can copy datafiles to other backup location.
    Finally these are different.

  • If I need a full rman restore which backups will it use?

    Hello,
    I have a database 11.1.0.7 with 8TB. Block change tracking is enabled.
    At the weekend I take level 0 backup and during the week level 1 cumulative.
    For some weeks the level 0 backup is failing, so I only have level 1 cumulative backups taken every week day with a 4 weeks old level 0 backup.
    If I need a full rman restore which backups will it use? Will it be the last level 0 backup with the last level 1 cumulative?
    I ask this because grid crontrol tells me that the recent level 1 backups input size is smaller than last week level 1 backups and in between I dont have any level 0 sucessfull backups. Shouldn't the input size of level 1 cumulative increase until the next level 0 backup ?
    The grid reports:
    Backup Name Status Start Time Time Taken Type Output Devices Input Size Output Size Output Rate (Per Sec)
    rman_df_lv1c COMPLETED 25/Jul/2011 21H00m WEST 02:33:29 DB INCR SBT_TAPE *1.32T* 289.02G 32.14M
    rman_df_lv0 FAILED 23/Jul/2011 02H01m WEST DB INCR SBT_TAPE 8.78T 8.06T
    rman_df_lv1c COMPLETED 21/Jul/2011 21H00m WEST 04:39:38 DB INCR SBT_TAPE *3.46T* 550.82G 33.62M
    rman_df_lv1c COMPLETED 20/Jul/2011 21H00m WEST 04:47:36 DB INCR SBT_TAPE *3.37T* 524.36G 31.12M
    rman_df_lv1c COMPLETED 19/Jul/2011 21H00m WEST 04:06:09 DB INCR SBT_TAPE *3.15T* 490.75G 34.03M
    rman_df_lv1c COMPLETED 18/Jul/2011 21H00m WEST 03:40:24 DB INCR SBT_TAPE *2.49T* 410.88G 31.82M
    rman_df_lv0 FAILED 16/Jul/2011 22H16m WEST DB INCR SBT_TAPE 6.27T 5.69T
    rman_df_lv1c FAILED 14/Jul/2011 21H00m WEST 06:13:40 DB INCR SBT_TAPE 4.38T 714.30G 32.62M
    rman_df_lv1c FAILED 13/Jul/2011 21H01m WEST 04:40:45 DB INCR SBT_TAPE 3.25T 542.98G 33.01M
    rman_df_lv1c COMPLETED 12/Jul/2011 21H00m WEST 07:15:54 DB INCR SBT_TAPE 4.74T 847.93G 33.20M
    rman_df_lv1c COMPLETED 11/Jul/2011 21H00m WEST 07:26:40 DB INCR SBT_TAPE 3.78T 766.40G 29.28M
    rman_df_lv0 FAILED 9/Jul/2011 02H32m WEST 04:30:44 DB INCR SBT_TAPE 749.89G 716.02G 45.14M
    rman_df_lv1c FAILED 7/Jul/2011 21H01m WEST 04:49:24 DB INCR SBT_TAPE 2.16T 515.90G 30.42M
    rman_df_lv1c FAILED 6/Jul/2011 21H00m WEST 01:26:06 DB INCR SBT_TAPE 745.83G 165.48G 32.80M
    rman_df_lv1c FAILED 5/Jul/2011 21H01m WEST 00:05:48 DB INCR SBT_TAPE 58.56G 7.56G 22.24M
    rman_df_lv1c FAILED 4/Jul/2011 21H00m WEST 01:55:03 DB INCR SBT_TAPE 422.40G 79.55G 11.80M
    rman_df_lv0 FAILED 3/Jul/2011 16H32m WEST 30:22:04 DB INCR SBT_TAPE 4.53T 4.21T 40.40M

    >
    If I need a full rman restore which backups will it use? Will it be the last level 0 backup with the last level 1 cumulative?
    From http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmvalid.htm
    Validating Backups Before Restoring Them
    You can run RESTORE ... VALIDATE to test whether RMAN can restore a specific file or set of files from a backup. RMAN chooses which backups to use.
    The database must be mounted or open for this command. You do not have to take datafiles offline when validating the restore of datafiles, because validation of backups of the datafiles only reads the backups and does not affect the production datafiles.
    When validating files on disk or tape, RMAN reads all blocks in the backup piece or image copy. RMAN also validates offsite backups. The validation is identical to a real restore operation except that RMAN does not write output files.
    You can monitor what RESTORE VALIDATE does.
    Make precautions, so you do not damage the production DB!!!
    Iordan Iotzov
    http://iiotzov.wordpress.com/

Maybe you are looking for