Can i do all rman activities on standby database

HI all
can i do all rman activities on standby database

Hi ,
Please go through the below link , for getting more familiar with managing standby using RMAN.
http://download.oracle.com/docs/cd/B14117_01/server.101/b10823/manage_ps.htm#1024052
Hope it will be helpful.
Thanks,
Balaji K.

Similar Messages

  • Can I release all the activites  at a time?

    Hi Experts,
      I am have 50 activities in transport studio of NWDS which are supposed to move to test system. so can I select all the activities and release at at time from studio .
    Regards
    Sridhar

    Hi Sridhar,
    Yes, you can select multiple activities in the studio and release them together.
    But, be aware: if you select too may activities to release, your studio can run out of memory! Unfortunally I do not know the boundary for how many to select.
    Hope this helps.
    Regards,
    Alain.

  • Rman backup with  standby database

    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance

    726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance
    "I scanned thru MOS but could find solutions for rman with active DG."
    Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1)

  • How can i do a RMAN backup of my database from the network ?

    i'm using oracle 8i.1.7.3 with win server 2003
    i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
    i'd like to save the backup in another machine (the same LAN, the same OS ).
    to do that i've mapped a logical device in my comptur (z):
    when i run rman command i got this error:
    channel ORA_DISK_1: starting piece 1 at .......
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
    00
    ORA-19504: failed TO CREATE file "\\remote\save\"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
    rrect.

    Hi,
    ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
    also make sure that oracle user has permission to write to this direcotry (chmod command)
    hope this helps
    cheers, walrus

  • RMAN-06053 RMAN-06025 on Standby Database

    Dear community,
    we have an problem on our standby database (11.2.0.3 64Bit). We use the following RMAN script on the standby side:
    connect target *
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt expired archivelog all;
    delete noprompt expired backup;
    recover database;
    exit;In the alertlog of the standby database we found following:
    Thu Sep 20 12:05:33 2012
    alter database recover datafile list clear
    Completed: alter database recover datafile list clear
    alter database recover datafile list
    1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20
    Completed: alter database recover datafile list
    1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20
    alter database recover datafile list
    241 , 242 , 243 , 244 , 245 , 246 , 247 , 248 , 249 , 250 , 251 , 252 , 253 , 254
    Completed: alter database recover datafile list
    241 , 242 , 243 , 244 , 245 , 246 , 247 , 248 , 249 , 250 , 251 , 252 , 253 , 254
    alter database recover if needed
    start until cancel using backup controlfile
    Media Recovery Start
    started logmerger process
    Parallel Media Recovery started with 12 slaves
    ORA-279 signalled during: alter database recover if needed
    start until cancel using backup controlfile
    Thu Sep 20 12:05:58 2012
    alter database recover cancel
    Media Recovery Canceled
    Completed: alter database recover cancel In the RMAN Logfile will be logged:
    archived log for thread 2 with sequence 3693 is already on disk as file /u03/fast_recovery_area/DBDB/archivelog/2012_09_20/2_3693_766974880.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/20/2012 12:05:52
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 2 with sequence 2984 and starting SCN of 840244104 found to restore
    RMAN-06025: no backup of archived log for thread 2 with sequence 2983 and starting SCN of 840041348 found to restore
    RMAN-06025: no backup of archived log for thread 2 with sequence 2982 and starting SCN of 840021178 found to restore
    RMAN-06025: no backup of archived log for thread 2 with sequence 2981 and starting SCN of 839974659 found to restoreCan you please help me to understand why protocoll the database these RMAN-Errors and what is false configured?
    Best regards

    Do you mean the backup on the primary side was not been done?No. Backups created at primary site are not available to the standby of course, so that wont see them.
    The standby database is left behind and the required archivelogs for recovery are not available anymore, and it doesnt know anything about the backups.
    - you can restore the archivelogs on primary site from backups then let the standby fetch and apply them - can take a lot of time
    - you can make the backups made at primary site available to the standby and register the backup pieces - can be problematic with 3rd party backup solutions
    - you can create and incremental backup of primary site to roll forward the standby: http://docs.oracle.com/cd/E11882_01/server.112/e10700/rman.htm#CIHIAADC

  • RMAN backup of STANDBY database

    I have just created a STANDBY database using Oracle 8.1.7 which I am trying to backup using RMAN. This would then not impact on the PRODUCTION database, yet still give a valid backup. The problem I am having is that contrary to what I have been told and read about the `duplicate for standby` command, it does not reset the DB_ID. This has the effect that you canot register your new STANDBY database in the RMAN catalog as it sees it as the PRODUCTION instance that was used to create it. I have found several `solutions` on Metalink, which all require the use of a `resetlogs` command, so invalidating the STANDBY database. Does anyone know of a way that I can bypass this problem and carry out valid backups of the STANDBY database ?
    TIA
    Mark Tindall
    Email: [email protected]

    Mark,
    The STANDBY database must have the same DBID as the production or you could not use the backups taken at a standby
    database to recover the production database.
    To backup the standby database with RMAN, you must use a recovery catalog. Take at look at http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96566/rcmbackp.htm#445993
    for information on how to backup the standby with RMAN.
    Tammy

  • Can I download all custom xml templates from database

    Hi,
    We are going to implement VSS ( Version Software Management Tool ) to manage the version / history of all custom objects.
    For that we need to download all custom objects on another server.
    it is very tedious and time consuming to download individual xml template from front end.
    How can I extract all custom templates from database? Is there any tool available ?
    Regards,
    Jay

    You can only sync to one computer.
    If you still have your old computer copy the iTunes media library over to your new MAC.
    see this link Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • How can I retrieve all row information from a database table.

    I have a jsp file which calls info from columns in a table. My question, is how can I edit it so that it retrieves all the rows?
    I tried using resultset SalesInfo.next() which only retrieves the last row value and resultset SalesInfo.first() which only retrieves the first row value.
    Here is my code
    public ResultSet SalesInfo;
    public void getSalesInfo()
              try
                   Statement stmt = db.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   SalesInfo = stmt.executeQuery("SELECT sales_id,cust_id,product_id, quantity from sales;");
                   SalesInfo.first();
                   setCartsales_id (SalesInfo.getString("sales_id"));
                   setCartcust_id (SalesInfo.getString("cust_id"));
                   setCartProduct_id(SalesInfo.getString("product_id"));
                   setCartquantity (SalesInfo.getString("quantity"));
              catch(SQLException e )
                   setCartsales_id(e.toString());
                   e.printStackTrace();
    Also I apologise for not having the proper code format as I had a problem with my keyboard.

         public class SalesDB{
        public static synchronized Vector getSalesDetail(Connection connection) throws SQLException{
            String query = "SELECT * from Sales;"
           Statement statement = connection.createStatement();
            ResultSet results = statement.executeQuery(query);
            Vector sale_details = new Vector();
            while(results.next() == true){
         SaleInfo saleInfo = new    SaleInfo(results.getString("sales_id"),results.getDouble("cust_id"),results.getString("product_id"));
                sale_details.add(saleInfo);
            results.close();
            statement.close();
            return sale_details;
    }

  • How can we monitor ASM disk usage on Standby Database.

    I am looking for an option to automate deleting the archivelog which is on ASM diskgroup. I could do it if they were not in the ASM disk group with writing a script but with ASM I can't. Is there anything that I can monitor and get notified periodically reg. disk utilization on ASM and then write a script to delete some of the files especially archivelogs if needed.

    Hi
    what is your Oracle version and your OS?

  • Problem in recover physical standby database(Data Guard) by rman

    Hello to all
    I have created a physical standby database ,I want make backup of it by rman and when I lose it's datafile I can restore it ,making backup and restore is fine but in recovery I encounter some problem
    scenarios is follow
    1- In rman I create a backup of standby database by this command:
    backup database plus archivelog delete all input;
    2- I run this comman in rman for recover standby database
    run{
    2> set until scn 1392701;
    3> restore database;
    4> recover 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 RMAN result is like this:
    executing command: SET until clause
    Starting restore at 13-DEC-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    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 to /u01/app/oracle/oradata/sari/users01.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
    restoring datafile 00006 to /u01/app/oracle/oradata/sari/users02.dbf
    channel ORA_DISK_1: reading from backup piece /home/oracle/backup/0ek24dt4_1_1
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/home/oracle/backup/0ek24dt4_1_1
    tag=TAG20081213T042506
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:07
    Finished restore at 13-DEC-08
    Starting recover at 13-DEC-08
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 116 is already on disk as file /u01/app/oracle/oradata/archive/1_116_666786084.arc
    archive log thread 1 sequence 117 is already on disk as file /u01/app/oracle/oradata/archive/1_117_666786084.arc
    archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread=1 sequence=116
    archive log filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc thread=1 sequence=117
    unable to find archive log
    archive log thread=1 sequence=118
    RMAN-03002: failure of recover command at 12/13/2008 05:14:13
    RMAN-06054: media recovery requesting unknown log: thread 1
    seq 118 lowscn 1392700
    3- then I decline 1392701 to 1392700 and i run this command
    run{
    2> set until scn 1392700;
    3> restore database ;
    4> recover database;
    5> }
    executing command: SET until clause
    Starting restore at 13-DEC-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    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 to /u01/app/oracle/oradata/sari/users01.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
    restoring datafile 00006 to /u01/app/oracle/oradata/sari/users02.dbf
    channel ORA_DISK_1: reading from backup piece /home/oracle/backup/0ek24dt4_1_1
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/home/oracle/backup/0ek24dt4_1_1 tag=TAG20081213T042506
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:08
    Finished restore at 13-DEC-08
    Starting recover at 13-DEC-08
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 116 is already on disk as
    file /u01/app/oracle/oradata/archive/1_116_666786084.arc
    archive log thread 1 sequence 117 is already on disk as
    file /u01/app/oracle/oradata/archive/1_117_666786084.arc
    archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread=1
    sequence=116archive log
    filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc
    thread=1 sequence=117Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS
    would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/app/oracle/oradata/sari/system01.dbf'
    media recovery complete, elapsed time: 00:00:10
    Finished recover at 13-DEC-08
    4- if I run
    run{
    restore database;
    recover database;
    I will recieve that error of step 2 (RMAN-06054: media recovery requesting unknown log: thread 1
    seq 118 lowscn 1392700)
    5- if I just restore the database and I don't perform recovery by rman and I restart redo apply all thing seem fine
    but in opening database I'll recieve ORA-01152: file 1 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 problem
    thanks
    Edited by: ARKH on Dec 12, 2008 11:06 PM

    hi
    I myself have found the solution , when I recover the standby database
    it do recovery but at the end of recovery it raise the error(RMAN-06054: media recovery requesting unknown log: thread 1
    seq 118 lowscn 1392700) but if I begain redo apply before open the database
    and I wait till all redo apply process start and communication between the
    standby database and the primary database start, then I can
    open the standby database and no error will raise
    but if befor restarting redo apply I open the database I'll recieve the
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/app/oracle/oradata/sari/system01.dbf' error
    thanks

  • RMAN in standby Database

    Hello all,
    We want to configure RMAN in physical standby database but getting below error
    [oracle@timsdr ~]$ rman catalog rmandr/rmandr@rman target system/password
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 26 17:04:36 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TIMS (DBID=3639374466, not open)
    connected to recovery catalog database
    RMAN> show all;
    RMAN configuration parameters are:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of show command at 02/26/2010 17:08:34
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN>
    Standby DB is in mount mode.Pls give some idea..

    catalog rmandr/rmandr@rmanIs this catalog different from the one that the Production database is registered with ?
    Note : You cannot register the same database -- ie Production and Standby have the same DBID -- twice in a catalog.
    Yet your catalog reports that the database is not registered.
    Seemingly, Production is registered to a different catalog OR is not registered at all.
    If using the same Catalog you should
    a. NOT register the Standby
    b. STOP recovery on the Standby
    c. MOUNT STANDBY on the Standby
    and then RMAN BACKUP the Standby
    Once the Backup is completed, restart Recovery on the Standby.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to create standby database by using duplicate

    Dear all,
    How to create standby database by using duplicate,is there some doc to read?

    Hi;
    You can use
    Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN [ID 838828.1]
    Creating Physical Standby using RMAN Duplicate Without Shutting down The Primary [ID 789370.1]
    Also use goole, there are many blog-site-dogs mention that topic. From googling:
    Creating a Standby Database with Recovery Manager
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
    http://www.pythian.com/news/248/recipes-for-creating-a-managed-standby-with-rman/
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/rcmbackp.htm
    Regard
    Helios

  • MANAGING A STANDBY DATABASE-CRITICAL

    Hi All,
    I had a primary database version 10.2.0.3 which i upgraded to 10.2.0.4. While upgrading the database
    i turned off archiving.
    After i upgraded the database and brought it up and the listener i started getting errors of
    missing archive logs at the standby site.
    My standby database is 10.2.0.3.
    My question is
    1) As i had turned archiving off at the primary site there is a gap in the archive numbers at the primary itself.
    arch_1_29345_623164377.dbf
    arch_1_29346_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 08:43 arch_1_29347_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 09:03 arch_1_29348_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 09:35 arch_1_29349_623164377.dbf
    -rw-r----- 1 oracle dba 2781184 Feb 7 11:57 arch_1_29350_623164377.dbf
    --------------------GAP------------------------AS I HAD TURNED ARCHIVING OFF----------------
    -rw-r----- 1 oracle dba 5241344 Feb 7 15:57 arch_1_29561_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 15:57 arch_1_29562_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 15:57 arch_1_29563_623164377.dbf
    -rw-r----- 1 oracle dba 5241344 Feb 7 15:57 arch_1_29564_623164377.dbf
    I am getting errors that the standby is not in snyc with primary
    when i ran query
    SQL> SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS
    2 FROM V$MANAGED_STANDBY;
    on standby database
    it says i am missing sequence # 29351 which is due to the fact that there is no sequence like that on
    my primary itself.
    How should i resolve this gap.
    Also is it a good idea to upgrade the oracle home on my standbysite to 10.2.0.4 as i have upgraded
    my primary

    Hello,
    Like I said no easy way out of this situation. First option sync both usign RMAN and section option setup from the scratch (that's might not be possbile).
    You can also find similar steps under oracle documentation serach for resolving gaps manually/
    Here are the steps for first option, study it and make changes to according to your needs
    1. On the standby database, stop the managed recovery process
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    2. On the standby database, find the SCN which will be used for the incremental backup at the primary database:
    SQL> SELECT CURRENT_SCN FROM V$DATABASE;
    This will used in the rman backup command at step 2.
    3. In RMAN, connect to the primary database and create an incremental backup from the
    SCN derived in the previous step:
    RMAN> BACKUP INCREMENTAL FROM SCN <SCN from previous step>
    DATABASE FORMAT '/tmp/ForStandby_%U' tag 'FORSTANDBY';
    You must create this incremental backup on disk for it to be useful. When you move
    the incremental backup to the standby database, you must catalog it at the
    standby as described in Oracle Database Backup and Recovery Advanced User's
    Guide. Backups on tape cannot be cataloged.
    4. Transfer all backup sets created on the primary system to the standby system (note that there may be
    more than one backup file created). For example:
    SCP /tmp/ForStandby_* standby:/tmp
    5. Connect to the standby database as the RMAN target, and catalog all incremental backup pieces:
    RMAN> CATALOG START WITH '/tmp/ForStandby';
    6. Recover the standby database with the cataloged incremental backup:
    RMAN> RECOVER DATABASE NOREDO;
    7. In RMAN, connect to the primary database and create a standby control file backup:
    RMAN> BACKUP CURRENT CONTROLFILE FOR STANDBY FORMAT '/tmp/ForStandbyCTRL.bck';
    8. Copy the standby control file backup to the standby system. For example:
    SCP /tmp/ForStandbyCTRL.bck standby:/tmp
    9. Shut down the standby database and startup nomount:
    RMAN> SHUTDOWN;
    RMAN> STARTUP NOMOUNT;
    10. In RMAN, connect to standby database and restore the standby control file:
    RMAN> RESTORE STANDBY CONTROLFILE FROM '/tmp/ForStandbyCTRL.bck';
    11. Shut down the standby database and startup mount:
    RMAN> SHUTDOWN;
    RMAN> STARTUP MOUNT;
    12. If the primary and standby database data file directories are identical, skip to step
    13. If the primary and standby database data file directories are different,
    then in RMAN, connect to the standby database, catalog the standby data files,
    and switch the standby database to use the just-cataloged data files. For
    example:
    RMAN> CATALOG START WITH '+DATA_1/CHICAGO/DATAFILE/';
    RMAN> SWITCH DATABASE TO COPY;
    13. If the primary and standby database redo log directories are identical, skip to step 14. Otherwise, on the standby database, use an OS
    utility or the asmcmd utility (if it is an ASM-managed database) to remove all
    online and standby redo logs from the standby directories and ensure that the
    LOG_FILE_NAME_CONVERT parameter is properly defined to translate log directory
    paths. For example, LOG_FILE_NAME_CONVERT='/BOSTON/','/CHICAGO/'.
    14. On the standby database, clear all standby redo log groups (there may be more than
    3):
    SQL> ALTER DATABASE CLEAR LOGFILE GROUP 1;
    SQL> ALTER DATABASE CLEAR LOGFILE GROUP 2;
    SQL> ALTER DATABASE CLEAR LOGFILE GROUP 3;
    15. If you have flashback enabled:
    On the standby database, restart Flashback Database:
    SQL> ALTER DATABASE FLASHBACK OFF;
    SQL> ALTER DATABASE FLASHBACK ON;
    16. If required restart managed recovery in the standby:
    On the standby database, restart recovery:
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;Regards
    Edited by: OrionNet on Feb 7, 2009 6:43 PM

  • Failed to clone DB from StandBy database

    Hello,
          I need to  perform a clone of Data Guard physical standby  database  (production) to use in preproduction. we  have a  full RMAN  backup of standby database.
    My restore is failed,  i use this steps:
       * full RMAN backup of standby database
      *  backup control file of primary
      * on a new  database server, copy backup
      *  RMAN > restore control file (of brimary)
    *  RMAN > CATALOG START WITH ' Path of backup'
    *  crosscheck backup
    *  restore database
    -> the restore is failed with errors messages :
       RMAN-06026: some targets not found - aborting restore
       RMAN-06023: no backup or copy of datafile 4 found to restore
       RMAN-06023: no backup or copy of datafile 3 found to restore
      RMAN-06023: no backup or copy of datafile 2 found to restore
      RMAN-06023: no backup or copy of datafile 1 found to restore
    I  retry restore database after restoring a  standby control file, it's failed with the same message.
    can you help me ,please, to resolve this issue
    Regards
    Dj

    Thank's AbuFazalMdAbbas for your reply,
      RMAN > list backup :  i display only 3 Piece Name
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18364   Incr 1  36.56M     DISK        00:22:11     29-JUL-13
                        BP Key: 18364   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0fofu8j3_1_1
                  List of Datafiles in backup set 18364
                  File LV Type Ckp SCN    Ckp Time  Name
                  17   1  Incr 22020167729 29-JUL-13 +DATA/DB1/datafile/indx_fusion54_purge.277.753031091
                  25   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.284.762608775
                  44   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.303.799865601
                  64   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.324.809446025
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18365   Incr 1  11.17M     DISK        00:22:12     29-JUL-13
                        BP Key: 18365   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0gofu8j3_1_1
                  List of Datafiles in backup set 18365
                  File LV Type Ckp SCN    Ckp Time  Name
                  18   1  Incr 22020167729 29-JUL-13 +DATA/DB1/datafile/indx_fusion54_purge.279.753031091
                  26   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.285.762622281
                  45   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.304.800028323
                  65   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.325.814713695
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18366   Incr 1  49.25M     DISK        00:11:54     29-JUL-13
                        BP Key: 18366   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0hofu9sq_1_1
                  List of Datafiles in backup set 18366
                  File LV Type Ckp SCN    Ckp Time  Name
                  4    1  Incr 22021555818 29-JUL-13 +DATA/DB1/datafile/users.281.753031093
                  27   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.286.763655749
                  47   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.306.800463801
                  66   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.326.817754983
      # cd <location where backup files were copied>
      # ls -lrt
          ALL files (piece name in list backup) exist on file System,  and it's owner by oracle
      # show all
                RMAN> show all;
                using target database control file instead of recovery catalog
                RMAN configuration parameters for database with db_unique_name RSP are:
                CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
                CONFIGURE BACKUP OPTIMIZATION OFF; # default
                CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
                CONFIGURE CONTROLFILE AUTOBACKUP ON;
                CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+RECO/ctrl_%F';
                CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
                CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
                CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
                CONFIGURE MAXSETSIZE TO UNLIMITED; # default
                CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
                CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
                CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
                CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
                CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db/dbs/snapcf_MNTRSP.f'; # default

  • Logical Standby databases

    Hi,
    When we say "Logical Standby Databases are logically identical to primary databases although the physical organization and structure of the data can be different." what does it exactly means?
    Does it mean that in logical standby tablespace name, schema name, table name, column names etc can be different and still has the same data as primary?
    Does it mean that we can exclude indexes and constraints as present in primary?
    Only the data should match with primary word by word, value by value?
    I am asking this as i have never worked in a logical standby database but i seriously want to know.
    Please answer.
    Regards,
    SID

    Physical standby differs from logical standby:
    Physical standby schema matches exactly the source database.
    Archived redo logs and FTP'ed directly to the standby database which is always running in "recover" mode. Upon arrival, the archived redo logs are applied directly to the standby database.
    Logical standby is different from physical standby:
    Logical standby database does not have to match the schema structure of the source database.
    Logical standby uses LogMiner techniques to transform the archived redo logs into native DML statements (insert, update, delete). This DML is transported and applied to the standby database.
    Logical standby tables can be open for SQL queries (read only), and all other standby tables can be open for updates.
    Logical standby database can have additional materialized views and indexes added for faster performance.
    Installing Physical standbys offers these benefits:
    An identical physical copy of the primary database
    Disaster recovery and high availability
    High Data protection
    Reduction in primary database workload
    Performance Faster
    Installing Logical standbys offer:
    Simultaneous use for reporting, summations and queries
    Efficient use of standby hardware resources
    Reduction in primary database workload
    Some limitations on the use of certain datatypes

Maybe you are looking for