Create Controlfile Consfusion

According to Documents from the Oracle [http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm | http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm]

When you issue a CREATE CONTROLFILE statement, then Oracle database creates a new control file based on the information you specify in the statement. The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):

•A or several control files such as specified in the DB_CREATE_ONLINE_LOG_DEST_n initialization parameter. The file in the first directory is the main command file. When DB_CREATE_ONLINE_LOG_DEST_n is specified, the database does not create a control file DB_CREATE_FILE_DEST or DB_RECOVERY_FILE_DEST (the flash recovery area).

• If no value is specified for DB_CREATE_ONLINE_LOG_DEST_n, but the values are defined for the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST, then the database creates a control file at each location. The location specified in the DB_CREATE_FILE_DEST is the main command file.

• If a value is specified only for the DB_CREATE_FILE_DEST, then the database creates a control file at this location.

• If a value is specified only for DB_RECOVERY_FILE_DEST, then the database creates a control file at this location.

If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
SQL> alter database backup controlfile to trace as 'D:\oracle\stuff\control.txt'
  2  /

Database altered.

SQL> show parameter control_files

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
control_files                        string      D:\ORACLE\PRODUCT\10.2.0\ORADA
                                                 TA\ORCL\CONTROL01.CTL, D:\ORAC
                                                 LE\PRODUCT\10.2.0\ORADATA\ORCL
                                                 \CONTROL02.CTL, D:\ORACLE\PROD
                                                 UCT\10.2.0\ORADATA\ORCL\CONTRO
                                                 L03.CTL

SQL> create pfile='D:\oracle\stuff\pfile.txt' from spfile
  2  /

File created.
Exit control_files pfile.txt parameter and set the parameter only

db_recovery_file_dest='d:\oracle\product\10.2.0\db_1
db_recovery_file_dest_size = 2147483648
SQL> shutdown immediate
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount
ORACLE instance started.

Total System Global Area  293601280 bytes
Fixed Size                  1290208 bytes
Variable Size             218103840 bytes
Database Buffers           67108864 bytes
Redo Buffers                7098368 bytes

SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
  2      MAXLOGFILES 16
  3      MAXLOGMEMBERS 3
  4      MAXDATAFILES 100
  5      MAXINSTANCES 8
  6      MAXLOGHISTORY 292
  7  LOGFILE
  8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
  9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
 10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
 11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
 12  DATAFILE
 13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
 14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
 15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
 16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
 17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
 18  CHARACTER SET WE8MSWIN1252
 19  /

Control file created.


SQL> select name from v$controlfile
  2  /

NAME
----------------------------------------------------------------------------------------------------
D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MTSRCWH_.CTL
As you can see the location of the OMF controlfile which is defined in the db_Recovery_file_dest,db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area parameter '

But why his breaks down when trying to assert the statement by doc Oracle

If no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
  2      MAXLOGFILES 16
  3      MAXLOGMEMBERS 3
  4      MAXDATAFILES 100
  5      MAXINSTANCES 8
  6      MAXLOGHISTORY 292
  7  LOGFILE
  8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
  9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
 10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
 11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
 12  DATAFILE
 13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
 14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
 15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
 16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
 17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
 18  CHARACTER SET WE8MSWIN1252
 19  ;
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00600: internal error code, arguments: [kccbcf_omf_reuse], [], [], [], [],
[], [], []


SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> 

>
But why his breaks down when trying to assert the statement by doc Oracle

If no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
And now we can see what is your problem. You have mininterpreted documentation says.

Your codes DOES NOT "say doc Oracle Education."

Your quote just above doc starts with "If no value is defined. But it's just part of the exact quote:
>
The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
. . .
If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
Your code example that fails SPECIFIES a value for CONTROL_FILES so nothing in this whole section even applies to your sample:

*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'

For your sample that fails, you have specified the parameter CONTROL_FILES. Doc section you originally quoted tells you what is happening
>
If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
>
Which does not apply to you.

It also seems that you posted the wrong code or bad for the first sample instance. That's what you have published the instance
>
control_files string D:\ORACLE\PRODUCT\10.2.0\ORADA
TA\ORCL\CONTROL01. CTL, D:\ORAC
LE\PRODUCT\10.2.0\ORADATA\ORCL
\CONTROL02. CTL, D:\ORACLE\PROD
UCT\10.2.0\ORADATA\ORCL\CONTRO
L03. CTL
>
But his is what you posted for the INIT file and commented out
>
#*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_. CTL'
>
So why the file INIT have a totally different path? He has a way of DB_1\FLASH_RECOVERY_AREA. But the string of the parameter control_files has a path "ORADATA.

Those who are not the same instance. If something is wrong with your test or that you have posted.

Tags: Database

Similar Questions

  • error: error at line 1: ORA-01503: CREATE CONTROLFILE failed

    Hello
    I'm the sinister scene I enter my database in nomount, but when I run create controlfile command
    It shows me an error:

    My controlfile content is:
    CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 2
    MAXDATAFILES 30
    MAXINSTANCES 1
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 ' / test/opt/102/oradata/test/redo1.log' 100M, SIZE
    GROUP 2 ' / test/opt/102/oradata/test/redo2.log' 100M, SIZE
    GROUP 3 ' / test/opt/102/oradata/test/redo3.log' SIZE 100 m
    DATA FILE
    ' / test/opt/102/oradata/test/system.dbf',
    ' / test/opt/102/oradata/test/undotbs1.dbf',
    ' / test/opt/102/oradata/test/sysaux.dbf',
    ' / test/opt/102/oradata/test/users01.dbf'
    CHARACTER SET WE8ISO8859P1
    ;


    After running this, I got the error below:

    CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in the identification of file ' / test/opt/102/oradata/test/system.dbf'
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3


    what goes wrong with this script.

    Your disaster recovery operation became a disaster it seems :)

    Try copying the available backup files and repeat the same thing.

    Kind regards
    CSM

    Published by: CSM. DBA on July 30, 2012 11:50

  • ORA-01503: CREATE CONTROLFILE failed

    Team,

    DB = 10.2.0.1
    OS RHEL AS 4 =

    While im rename my database name HRMS by recreating the controlfile, im getting below error. I don't know how to solve this problem.
    I followed all the steps correctly but anyway im not meeting this goal.

    FYI...

    SYS > @new_controlfile.sql
    CREATE CONTROLFILE REUSE SET DATABASE "HRMS" RESETLOGS
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in the identification of file ' / home/oracle/database/HRMS/system01.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3


    Could you please help me solve this problem?


    Thank you

    Harry

    You execute a CREATE CONTROLFILE statement.
    All data files are listed.
    The data files must reside in these places or the statement fails.
    I don't see any problem. If the data files are in a different location, simply change the sql code.
    As we do not have the content of the declaration, and you did not sb90275, what type of assistance do you need?

    ------
    Sybrand Bakker
    Senior Oracle DBA

  • When use REUSE/SET, no.-ARCHIVELOGS in create controlfile in HOT BACKUP?

    I am an Oracle DBA intern and I have the following queries. Good response with detailed explanations, I want to get my deleted concepts!

    T1 > > while a user managed hot backup, when we create a path for recovery (CREATE CONTROLFILE) control file when we use the control file created with the following options:
    * 1. REUSE / SET *.
    * 2. ARCHIVELOGS / NOARCHIVELOGS *.

    T2 > > in what scenarios re - create the control file while recovering the data from a hot backup files?

    Thanks a ton!
    Kind regards
    Blabla

    Specify REUSE to indicate that existing control files identified by CONTROL_FILES initialization parameter can be reused and overwritten.

    SET the DATABASE to change the name of the database.

  • ORA-01503: CREATE CONTROLFILE failed ORA-01160: file is not a data ORA file

    Hi all
    I tried to re-create a control file as it is not present, I am facing the following error.
    Plaese help.

    1. CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
    MAXLOGFILES 2 5
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 14
    MAXINSTANCES 5 1
    6 MAXLOGHISTORY 226
    LOGFILE 7
    GROUP 8 1 ' C:\oracle\product\10.2.0\oradata\TEST\REDO01. NEWSPAPER "SIZE M 50,
    9 GROUP 2 ' C:\oracle\product\10.2.0\oradata\TEST\REDO02. NEWSPAPER "SIZE M 50,
    10 GROUP 3 ' C:\oracle\product\10.2.0\oradata\TEST\REDO03. NEWSPAPER "SIZE M 50
    DATAFILE 11
    12 ' C:\oracle\product\10.2.0\oradata\TEST\SYSTEM01. DBF',.
    13 ' C:\oracle\product\10.2.0\oradata\TEST\UNDOTBS01. DBF',.
    14 ' C:\oracle\product\10.2.0\oradata\TEST\EXAMPLE01. DBF',.
    15 ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF',.
    16 ' C:\oracle\product\10.2.0\oradata\TEST\SYSAUX01. DBF',.
    17 ' C:\oracle\product\10.2.0\oradata\TEST\USERS01. DBF'
    18 * CHARACTER SET WE8MSWIN1252
    SQL > /.
    CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01160: the file is not a data file
    ORA-01110: data file: ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF'

    Rajini.V wrote:
    Hi Fiedi,
    Thanku for Quick response.

    I created could controlfile now, I must add datafile temp01.dbf
    How is it already in the path statement.

    Rajini.V

    You can use command below

    alter tablespace temp add tempfile 'C:\oracle\product\10.2.0\oradata\TEST\TEMP01.DBF' reuse;
    

    See you soon

  • ORA-01178: drop 4 created before last CREATE CONTROLFILE

    Hello
    10g R2 on windows, I lost the file user.dbf and I have no back up. Then I want to recreate a new recovery ansd. My steps are:
    1 - alter temporary tablespace offline users;
    2 alter database create datafile ' C:\ORACLE\ORADATA\ORCL\USERS01. DBF';
    3. RECOVER TABLESPACE USERS;
    4 - alter tablespace users online.



    When creating, but I got the following error:
    SQL> alter database create datafile 'C:\ORACLE\ORADATA\ORCL\USERS01.DBF';
    alter database create datafile 'C:\ORACLE\ORADATA\ORCL\USERS01.DBF'
    *
    ERROR at line 1:
    ORA-01178: file 4 created before last CREATE CONTROLFILE, cannot recreate
    Any idea? Any help? Thank you.

    Hello

    Please read this Doc ID: Note: 333620.1
    Topic: How do I recover the ORA-01171 ORA-01122 ORA-01110 ORA-01251

    To solve the problem: -.

    1. the database must be in log mode Archive.
    2. you must have all the Archive log files from the moment that the data file was created.
    3. the control file should be created information datafile. If the controlfile was recreated
    Once the data file was created and then the below solution does not work and step 2 will
    error ORA-01178

    Steps to follow
    ====================

    Step 1: -.

    Put the problematic data file offline.

    SQL > Alter database datafile ' / oracle/test_lob12.dbf ' offline;

    Copy the file to another backup location.

    Step 2: -.

    To re-create the file, issue the following command:

    SQL > Alter database create datafile ' / oracle/test_lob12.dbf ';

    Step 3: -.

    Start applying the log file archive to re-create the data file.

    SQL > Recover datafile ' / oracle/test_lob12.dbf ';

    Step 4: -.

    When the recovery is complete, put the database online.

    SQL > Alter database datafile ' / oracle/test_lob12.dbf ' online;

  • Why ORA-01103 when create controlfile for extreme synchronization?

    Hi all! I have a small question: I created on the cluster of production on a single node of the control for the extreme instance of sync file:

    ALTER DATABASE CREATE FAR SYNC INSTANCE CONTROLFILE AS ' / data / control01.ctl';

    I copied it to the instance far sync (name far_sync). I also changed the pfile file (pfile used in production, has changed all far_sync instance), copied the password file.

    When I start the instance of far_sync, I get:

    Total System Global Area 1, 2827E + 11 bytes

    Bytes of size 4666648 fixed

    Variable of size 1, 2348E + 10 bytes

    Database buffers 1, 1570E + 11 bytes

    Redo buffers 225406976 bytes

    ORA-01103: Datenbankname 'RC' in Kontrolldatei ist nicht "FAR_SYNC".

    So easy that I wrote is it not to create the instance of synchronization up to now.

    I googled for samples in the HowTo

    Any idea?

    Thank you very much

    Greetings from Berlin

    Micha

    Hello

    who is this doc?

    Which is as you mentioned the name? db_name or db_unique_name.

    dataguard db_name enviroinment must be same as well side and db_unique_name must be different.  I'm not German

    ORA-01103: Datenbankname 'RC' in Kontrolldatei ist nicht "FAR_SYNC" <=>ORA-01103: name 'RC' in the control of the database file is not "FAR_SYNC".

    in fact the error was clear

    db_name, in the controlfile is not equal db_name in the pfile file

    Please see the following documents for name standart

    Creation of a database of physical standby

    Extreme sync

    Yasin.

  • CREATE CONTROLFILE REUSE SET DATABASE OR DATABASE

    Hi guys,.

    I do a migration db of a mount point to another mount point in the same server.

    Change will be the location of the controlfile, log files and data files.

    I have updated the new location of controfile in my nomount pfile and put into service.

    When creating the controfile to reflect the new location of redo logs / data files, I use 'reuse' or 'set syntax "? Can you explain what is the diff between the 2? Reading the document, but not able to understand.

    Thank you

    Change parameter values in controlfile PFILE and held at the same place, then you can opt for the reuse option

  • CREATE CONTROLFILE REUSE DATABASE

    version 9206
    where is the location where new controlfile is created, which is mentioned in pfile location?

    I need to change 100 s logfile dbfile / online dbs multiple destinations. what I'm planning

    -startup nomount.
    MV *.dbf /newlocation & mv /newlocation *.log
    -create a new controlfile with new locations dbfile/logfile
    - and db starup

    Let me righ if I'm not,

    I don't want to use alter rename to new dest because of risk of error.

    Published by: DBA2008 on November 11, 2009 12:07

    Now try to 'recover data'

  • Creating a new controlfile with RMAN backup data files

    Hello

    I use oracle 10g (10.2.0.1) in RHEL5 server. I am trying to restore a RMAN backup from one server to another server again with the new name of the comic. I took on the RMAN backup spfile and created her pfile and edited the file pfile with new dbname and directory structure and launched the db in nomount with new pfile. Today I restored the backup controfile RMAN has tried to put the database in State of Mount. But it failed due to the error below

    RMAN-03002: failure of alter db command at 21:44:56 05/11/2012
    ORA-01103: name "ORADB" in the control of the database file is not 'DEVDB '.

    So I stop the database and started the db in nomount with new pfile and tried to create the controlfile with new db name, but he didn't like it is looking for the data files.

    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3

    All my data files in my RMAN backup. How to get the data files of RMAN backup in the above scenario?

    Kind regards
    007

    restaurer restore as ORADB, then rename the database with DBNEWID
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dbnewid.htm

    or use duplicate instead of restore

  • Cannot create the controlfile

    When I try to create controlfile reuse database "cms" resetlogs

    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' % ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%. ORA'
    ORA-27048: skgfifi: file header information are not valid
    OSD-04001: invalid logical block size (OS 1919900730)

    What could be the problem? And why he's looking for a % ORACLE_SID % DBS1. ORA' should there be such file?

    ora11, Win2003 Server

    user4402749 wrote:

    @The explore I copied all db files to another server. These files are located on different drives that it was on the old machine, and I want to change the name of the comic. That's why I need to create a new control file.

    Can I stay with my previous post.

    You must use a more complex command, to say the new controlfile where are your data files.
    Otherwise, Oracle will begin searching in some default locations for them

    If you issue one

    ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS ' C:\CREATECONTROLFILE. SQL';

    Then, you can use the content of the generated file to generate the new database
    Is this file generated, it is an example of the RESETLOGS NORESETLOGS example, generated for your source database. You can easily modify it to match the copied database

    Success
    FJFranken

  • Tablespace not specified in the CREATE DATABASE command

    Hello

    I'm cloning a database using "backup controlfile to trace", copy the data to another server, do a restore using backup controlfiles and deliver an open resetlogs.
    The last steps in the case of "manually", not by the script "create controlfile ':

    RECOVER DATABASE USING BACKUP CONTROLFILE

    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE...

    Xxx_TEMP ALTER TABLESPACE ADD TEMPFILE

    Yyy_TEMP ALTER TABLESPACE ADD TEMPFILE

    It works very well, however in the alert log this message appears:

    ATTENTION: by default temporary
    Tablespace not specified in the CREATE DATABASE command

    Default temporary tablespace will be necessary for a locally managed database in future release

    Mount of redo thread 1, with mount id 801397961

    Source and target system temp tablespace are defined:

    select * d atabase_properties property_name as « % TABLESPACE »;

    TEMP DEFAULT_TEMP_TABLESPACE name of the default temporary tablespace

    DEFAULT_PERMANENT_TABLESPACE USERS name of default permanent tablespace

    Can you give me some information on it?

    What command 'create database' is incorrect (without default TS)?

    Concerning

    Christian

    Hello

    Orders of data files to create temporary tablespaces are in the Script SQL generated, as last orders to be released.

    1. the first thing you do not database, in fact, create by rebuilding the controlfile based on existing database files.

    2. Secondly, your script controlfile is created based on data files, the next step if adding temporary file what I said in previous post.

    3. from your message it's just adding/WARNING provided by oracle - since before re - build my database - old controlfile knows we tablesapce temp. When you re-built your database it shows not know a temporary file.

    Hope that helps

    -Pavan Kumar N

  • Controlfile using recovery catalog update

    Hello

    I use OEL 5.4 with 11.2.03 like db and tried to play with a scenario where I lose all the controlfile but I controlfile stuff in the trace file. Here are the steps at a high level that I made:

    one) took a backup when you are connected to the recovery catalog.

    (b) using the sql, run 'alter database backup controlfile to trace. "

    (c) shutdown abort;

    (d) controlfile re-created using NORESETLOG option mentioned in the trace file. (trace file has been generated through step (b))

    (e) connected back the PB with the recovery catalog and I see THAT RMAN shows any backup taken in step (a).

    (f) now connected target dB without recovery catalog rman and I do not see the backup. How can I sync the file to control recovery catalog content?


    I know

    RMAN > catalog resync;


    but that can be synchronized controlfile content for catalog instead of in front I... e resync controlfile;


    Just looking for a simple syntax, I hope that there is one rather than make "catalog begins with 'blah blah'... I tried looking in docs, could not find. I have to do something wrong...


    -Learner



    This information loss is a serious risk when you run CREATE CONTROLFILE.  It is better to RESTORE CONTROLFILE.

    You know already the command CATALOGUE START WITH (but that only works with backup to disk).

    By Note # 1082901.1 configuration information are copied from the catalog to the controlfile.  But there is no information on the copy of information about backups (backuppieces) and the archivelogs.

    Hemant K Collette

  • doubts in the database using backup controlfile recovery.

    Hi gurus,

    I have a doubt in database recovery using backup controlfile.

    I do not speak of "ORA-01207: file is newer than the control file - old control file.

    Here, any of our files archive / redo log have been lost and the problem of lack of update in the control file.

    So why open the database in resetlogs option, after recovering the database by using a backup controlfile. ?

    Thanks in advance

    Mahi

    In order to maintain the consistency of the data, the RCS should be the same in all the files of the controlfile & file REDO data current.

    By definition when you use 'backup controlfile' there a SNA expired in it.

    RESETLOG requires the RCS to 1 in order to get consistency across all files in the database.

    CREATE CONTROLFILE fills this new file with the most recent SNA that exist in the data files.

    It's just the way Oracle has been implemented.

  • How Controlfile SNA remain synchronized after moving the database with the cold backup

    Hello DBAs,

    I doubt that:

    Every time you pass a cold backup database. We create a new controlfile with new locations of data/redologs etc.

    And then we execute "create controlfile reuse...". noresetlogs...; "to create the controlfile.

    After that, we will open the database as > > alter database open;

    Now the question is:

    We are able to open the database without clause "resetlogs.

    Here, we create a new controlfile so SNA to controlfile will not be synchronized with the SCN of the datafile and redo the file.

    Please let me know how the new controlfiles' SNA is synchronized with the data file and redofile and wea are able to open the database without resetlogs clause.

    Oracle: 11.2.0.4

    OS: Linux

    If your cold backup also includes online redo logs, a RESETLOGS is not necessary.

    The controlfile is created if it does not have a SNA, it reads the data file headers the YVERT database. For a cold backup, all the headers of data file are consistent.  (This is also the reason why a RECOVERY is not required).

    Hemant K Collette

Maybe you are looking for