target, auxiliary and catalog database

Hi gurus,

I need to have a few lights on the target, auxiliary and catalog databases.

especially difference between the auxiliary and the database catalog.

Kind regards

Manish

Hello

Your target is the database that you are backing up, and in the case of a duplicate database, it would be the source database.  Example below is when I connect to the target database, which is what I want to save (note that below I sign in using the catalog in which case we'll use the controlfile and no catalog).

oracle:/home/oracle:testdb #> rman target /

Recovery Manager: Release 11.2.0.3.0 - Production on Mon Feb 17 15:24:02 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: testdb (DBID=2759143361)

RMAN>

The auxiliary database is the database which, in the case of a duplicate database, the database that you duplicate would be.  So, for example, that if you configure a database ensure using the duplicate database (and maybe double active database database) the main database would be the target and the database pending would be the auxiliary.

The catalog database is when you use a RMAN catalog instead of using the control file... Note below to specify the catalog when you connect and it says 'connected to the datalog retrieval database' once you have connected that he did not in the example above when you signed in using the control file. In this case, the rman information is stored in the control as well as the datalog database file.  (Control NB file is always the primary source").

oracle:/home/oracle:testdb #> rman target / catalog rman/password@rcat1

Recovery Manager: Release 11.2.0.3.0 - Production on Mon Feb 17 15:24:16 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: testdb (DBID=2759143361)
connected to recovery catalog database

RMAN>

There are several reasons why a catalogue database is used... for example:

(1) it can store scripts.

(2) you have a central repository for all of your databases.

(3) you are not limited as to how long you can store your backup information.  Thie is determined by the controlfile_record_keep_time parameter when you use the controlfile and you type can be set quite high but then your controlfile can grow quite large as well.

Stor for more information on the recovery catalog, you can see below:

http://docs.Oracle.com/CD/E25054_01/backup.1111/e10642/rcmcatdb.htm

Tags: Database

Similar Questions

  • Firewall rules RMAN target database and RMAN catalog database

    Hi, we are on Oracle 11.2.0.4 and we just build a new environment, in which case the RMAN catalog is located on a seprate from the target database server. I'm trying to figure if the firewall between these two rules should be two-way, so that the target database and RMAN catalog database can ping each other. If bi-directional rules in place, so what's the reason for this? I understand that during RMAN backup entries are made in the RMAN catalog database, but do not know if the RMAN catalog database must always meet target db. Thank you!

    If you run the rman command on the target database server, it acts as a client to the catalog database server by connecting on sqlnet to the catalog database.

    If you run the rman command on the catalog database server, it's a sqlnet connection join the target database server.

    In both cases, rman is simply a client that connects to the two databases.

    Hemant K Collette

  • Information on RMAN catalog database using and any catalog (controlfile)

    Hi all.

    I´d like some clarification on the subjects of RMAN RMAN usage with or without a recovery catalog (database / schema):

    (1) will be the database controfile target always store ALL changes made on RMAN? For example, configure changes persistent RMAN as a retention strategy, controfile autobackup, backup optimization and so forth, these will always record on the target database controlfile, even if we're connecting to RMAN with a recovery catalog?

    (2) what happens if we stop using the recovery catalog? I mean, if you don't use stored scripts and shot through the OS jobs or same EM control database, may continue to use then and do not connect more on the recovery catalog? It will be a problem? My target database stops?

    I will be the legacy a few databases to administer and they connects to a catalog of recovery of database / schema, it's good, but I want to set up my own backup and restore policies / procedures in a two-step process: (1) have each configuration of RMAN database on controlfile, Later (2) in view of the use of the recovery catalog to centralized databases and keep more disk backup and restore.

    Thanks in advance!

    (1) Yes, everything about the structure of data is stored in the controlfile. The location of the backup controlfile is also stored in the controlfile.

    The backup controlfile location is also stored in the catalog if you synchronize to it.

    (2) you can stop immediately using the catalog if you choose, and as long as you have a backup RMAN script file, you can always backup using this file.

    The catalog is used to store the location of the backupsets, and copy image. If you have any scripts to store, it can store these too. Really, it's all done catalog.

    You can back up and restore/recover without a catalog, as long as you know where all backups are retained.

  • RMAN-20001: target not found in the recovery catalog database

    I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.


    RMAN > startup nomount;
    Oracle instance started

    Total System Global Area 209715200 bytes

    Bytes of size 1272864 fixed
    155190240 variable size bytes
    Buffers 50331648 database bytes
    Redo buffers 2920448 bytes


    RMAN > restore controlfile autobackup.

    From restoration to SEPT. 08.-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 156 devtype = DISK

    field of recovery destination: / u02/flash_recovery
    name of database (or unique name of database) used for research: TEST
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
    channel ORA_DISK_1: restore full automatic backup of control file
    output filename=/u02/control_files/TEST/control02.ctl
    output filename=/u03/oradata/TEST/control03.ctl
    Restoration finished in 08-SEVEN.-10

    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I guess it has something to do with the DBID but... I don't have and I do not know how to find.

    Hello
    Try this
    RMAN > Connect target /.
    RMAN > Connect catalog rman/rman@test
    RMAN > startup nomount;
    RMAN > list backup of controlfile;

  • RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target

    Hello

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2009-03-31 21:59:24
    RMAN-03014: implicit recovery catalog Resync failed
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I get the above error while taking backup RMAN Level0. I am able to connect to the database of the catalogue without any problem.

    I already have this registry database command in RMAN prompt. Now I am able to see backup list but I don't know how that DB asking to sign up for today. Until yesterday, the backups were running fine btu today his application to enter the catalog DB.

    Here we manually to connect the catalogue in this way
    rman target $ /.
    RMAN > catalog connection rmanuser/password @ < globalcatalogDB >
    connected.

    After that if I give this command means...

    RMAN > backup from the list of database;
    I get the error I pasted at the earliest.

    Thanks in advance.

    If you do not have a catalog, you need not to save the database. Rely you only on the target database controlfile. If you use a catalog, you must save the target database, but only once. If you sometimes use a catalog - and sometimes not--the appropriate command is RESYNC (although in many cases RMAN automatically done).

    Werner

  • Procedure of ODI with slow performance (SOURCE and TARGET are different Oracle databases)

    Hi experts,

    I have an ODI procedure but its market with slow performance (SOURCE and TARGET are different Oracle databases), you can see below.

    My question is:

    It is possible write Oracle BULK COLLECT at the 'command on the target' (below)? or

    There is a KM of ODI that perform this task below in a quick way? If so, what KM can you guys suggest me?

    I found 'Oracle Append (DBLINK) control' but I try to avoid creating the dblink database.

    ===============================================================================

    * COMMAND ON the SOURCE (* technology: ORACLE * logic diagram: ORACLE_DB_SOURCE):

    SELECT NUM_AGENCIA, NUM_CPF_CNPJ, NOM_PESSOA

    < % = OdiRef.getSchemaName ("D") % >. < % = odiRef.getOption ("P_TABELA") % >

    ===============================================================================

    *ON the COMMAND TARGET (* technology: ORACLE * logic diagram: ORACLE_DB_TARGET):

    BEGIN

    INSERT INTO DISTSOB_OWNER. DISTSOB_PESSOA (NOM_PESSOA, NUM_CPF_CNPJ, FLG_ATIVO)

    VALUES ('#NOM_PESSOA', '#NUM_CPF_CNPJ', THE FROM ');

    EXCEPTION WHEN DUP_VAL_ON_INDEX THEN

    NULL;

    END;

    ===============================================================================


    Thank you guys!

    Please use SQL for SQL command Append KM... You can delete the unnecessary steps in the KM.E.g. fi you won't create I$ table, control flow etc, then you can remove related steps.

    Please try with that.

  • Catproc.SQL and Catalog.sql run by mistake in the production database while the database is running.

    Hello

    DB version: 10.2.0.4.0 cluster db. EA

    Version of the OS: Win server 2008

    by mistake one of our dba ran CATPROC.sql and CATALOG.sql scripts in our live production rac database.

    After that issues rose and developers face invalid objects. We erased our users manually main invalid objects and it looks like everything is working well for the moment.

    BUT when I checked object invalid status, he showed me some 600 disabled objects. I'm afraid in the future will come from unacceptable errors.

    What should do? any suggestions? are we in danger? What are workarounds.

    Thank you

    You must connect a SR with Oracle's Support.

    Hemant K Collette

  • ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely

    Hello

    I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.

    The catalog database is running in a Data Guard environment.

    During the double process database failover occurred because of a server restart.

    The restore of the data files was successful:

    RMAN-08023: channel t1: restored the backup part 1

    RMAN-08180: channel t1: restoration complete, duration: 00:01:15

    RMAN-03091: finished the restoration at 27.08.2014 09:27:10

    During execution of script memory:

    RMAN-08161: content of the Script from memory:

    {

    switch from clone datafile;

    }

    RMAN-08162: execution of Script memory

    I got this error:

    RMAN-08162: execution of Script memory

    RMAN-08031: output channel: t1

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call

    Dual boot time: 16:00

    Failover time: 18:00

    Error time: 09:00 the next day

    DB version: 11.2.0.4.0, not the RAC environment, single instances

    That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?

    Can someone explain it to me?

    Thank you!

    Hello

    The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.

    What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.

    Thank you

    Bigot

  • Error during the registration of RMAN from the primary to the catalog database

    Hi all

    Here we have an environment with db1 (db_unique_name) 10g dataguard as primary and db2 (db_unique_name) Physics of the standby database. Also, we have configured a schema on a third computer as a database of catalog using following steps.

    The measures taken in the catalog database (appsdb):

    SQL > create tablespace rmancatlog_tbs datafile ' / u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend extent management local segment space management auto;

    SQL > create user rman identified by oracle
    2 default tablespace rmancatlog_tbs
    3 unlimited quota on rmancatlog_tbs
    4;

    SQL > GRANT connect, resource, recovery_catalog_owner to rman;

    RMAN > create catalog.
    Recovery catalog created

    AMT added entries of catalog in primary and standby database. Then the primary database, we have tried to register for the catalog database. It shows that it registers. But all queries later rman throws the error. Here are the steps and the error:

    [oracle@db1 ~] $ rman target sys/oracle catalog rman/oracle@appsdb
    Recovery Manager: release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID = 1589015669)
    connected to the recovery catalog database

    RMAN > register database;
    registered in the recovery catalog database

    RMAN > outline report;
    Report of the database schema
    List of permanent data files
    ===========================
    Size (MB) Tablespace RB segs Datafile file name
    ----
    -------------------- ------------------------
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of command report to the 08/10/2012 06:16:06
    [RMAN-00600: internal error, arguments [8201] [] [] []]

    Can anyone help on this error?
    Thanks in advance.

    Hello;

    Then, you have to re-create the controlfile to the target database. (Not funny)

    I like to use the method of trace file myself.

    How to recreate a Controlfile [ID 735106.1]

    Best regards

    mseberg

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • RMAN-06004: error recovery catalog database ORACLE

    Hi all

    I'm new to the RMAN module, please help me solve the error below.
    Recovery Manager: Release 9.2.0.6.0 - Production
    
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    
    connected to target database: DB96 (DBID=2450380394)
    connected to recovery catalog database
    
    RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_FULL_%T_%U.rman' MAXPIECESIZE 4 G; 
    2> CONFIGURE CONTROLFILE AUTOBACKUP ON; 
    3> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_ctlfile_%F'; 
    4> CONFIGURE RETENTION POLICY TO REDUNDANCY 1; 
    5> shutdown immediate; 
    6> startup mount; 
    7> backup database; 
    8> CROSSCHECK BACKUP; 
    9> DELETE NOPROMPT OBSOLETE; 
    10> alter database open; 
    11> list backup summary; 
    12> exit;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 06/20/2011 11:31:55
    RMAN-06004: ORACLE error from recovery catalog database:
     
    RMAN-20001: target database not found in recovery catalog
    Recovery Manager complete.
    Please do the neeful.

    Kind regards
    Jame

    Jame,

    connect to retrieve catalog owner user (RMAN) using SQLPLUS on the catalog database and run the following query.

    SQL> select * from rc_database;
    

    Another thing is, check, if your catalog is accidentally created in the target database or you sure sound in a separate database (possibly on a separate server).

    Thank you
    RANA

    Published by: RANA June 20, 2011 17:08

    Published by: RANA June 20, 2011 17:41

  • Catalog database has crashed

    Hi gurus,

    I take backups rman 10 database servers using 1 catalog server. Last night one of my data to the Server 7 file has been damaged and he needed recovery. While I try to do recovery, I found that the catalog server has also been altered. BIG problem.

    I have backups rman of all servers on tapes and disks but I have no backup of catalog database. So come here?

    Now I want to restore the data file of my database with database catalog. I have search the net but not found any document of how to restore the catalog database and the data file.

    Please help me in this how can I restore data file to my database as well as how to restore my catalog database so that it is in the previous step.

    What happens to my old rman which supports that I've taken in my damaged catalog database. How they will be sync. with the current catalog database.

    Concerning
    Samir Soni

    Hi samir,.

    Now I want to restore the data from my database file

    Just connect to the target database (and not in the catalog) to restore and recover the corrupted data file.
    To see the syntax.
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta051.htm#i85188
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta044.htm#i84135

    and also catalog database

    You can create a new catalog if you do not restore/recovery backup of.
    To record all the databases in the new catalog.
    RMAN backup metadata automicaly will be synchronized since the controlfile to the catalog.

    Be aware that the old backup rman information will age off the controlfile due to the control_file_record_keep_time of adjustment.
    If the old catalog could have more information in it.

    Kind regards

    Tycho

  • RMAN-06004: ORACLE recovery catalog database error: ORA-03113: end - of -

    Hello

    I experience backup scripts. because once done, she will move to pod pre box.

    Database runs in mode archvelog
    I have lgged in the dbserver himself.

    the shell scripts is:
    #! / usr/bin/sh
    source. / game - env # this file will have ID password for catalogue and the target sources
    echo executing command: database Backup
    ECHO
    RMAN TARGET $dbuser / $dbpwd$ rmandb CATALOG $rmanuser/$rmanpwd@$rmandb < < eof
    Run {}
    stop immediately;
    start-up;
    }
    expressions of folklore
    output


    When I run, I get the following error

    connected to target database: HERMESQA (DBID = 3819666523)
    connected to the recovery catalog database

    RMAN > 2 > 3 > 4 > 5 >
    database closed
    dismounted database
    Instance Oracle to close

    connected to the database target (not started)
    Oracle instance started
    mounted database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the boot command at 11/06/2009 11:27:54
    RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel

    could you suggest where I have error.

    Thank you
    Benjamin Gopal

    Do not back up the database using the same catalog of recovery recovery catalog of accommodation. You could just try it back up without a recovery catalog and to ensure that this database has an automatic backup of controlfile, for example.

  • Upgrade Wizard RPD and catalog

    Hello
    I use OBIEE10 and OBIEE11g both in the Linux server1. I installed OBIEE11g another Server2 Linux box.
    Now I want migate OBIEE10g server1 to server2 OBIEE11g.
    Could be he you pls let me know the procedure. How can I migrate rdp and catalog.
    Which machine I can start au Assistant.
    and migrate from Pre and Post migrate steps also.

    Thank you
    Govind r

    Its best to keep the back of your g 10 files since they are the source.

    In light of the link they mentioned about RPD target loc in 11 g.
    \instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository.
    \instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog

    Upgrade tool and the host.

    If brand pls help

  • Files catproc. SQL and catalog.sql

    I am using oracle 10g recently that I managed two files catproc.sql and catalog files by connecting to sys

    After running these files in sys when I select


    Select * from tab;

    no lines have been returned
    (1) these files will show any eeect on database
    (2) to Toad when I connect to the Toad for data base is to show all the user sys tables
    will there be an effect of the execution of these files

    After running these scripts, you will need to create spfile from pfile and the startup pfile from this file file

    is incorrect. Catproc.sql and Catalog.SQL don't change the values of instance parameter. The instance parameter files are useless to be recreated.

    Hemant K Collette

Maybe you are looking for