Standy controlfile

Hai
primary database name is orcl and standby database name is stby
i create a standby controlfile and after that i started the standby database ,put the database in nomount stage and i tried to mount the stanby controlfile
since i was creating the standby database in same system i provided a different name for standby controlfile and instance
but when i give the query for standby database in nomount stage as alter database mount standby controlfile
it throws the error as standby name stby is not existing in the controlfile and name orcl(name of primary database)is mentioned.now wat can i do to change the entry orcl as stby within the controlfile.
since controlfile generated is a binary file iam unable to change the entry
so how can i make my standby controlfile to get mounted in my standby database?
Regards
Ila

A Standby database has to have the same DB_NAME as the Primary.
As you are creating the standby on the same server, you should use DB_UNIQUE_NAME to provide it a unique name. DB_NAME must still be the same as that on the Primary.
Hemant K Chitale
http://hemantoracledba.blogspot.com

Similar Messages

  • Flashback database and Physical Standby databases

    Hi,
    We are thinking about the following scenario in our Production Standby databases. We are trying to do this to avoid number database cloning situations.
    When we require live data to test data fixes :-
    1. Switchover/failover the standby database.
    2. opened this database in read write mode.
    3. Apply the fix and test.
    4. Flashing back the database prior to the SCN which did the switchover/failover.
    5. Activate the standby again using a new standby controlfile.
    Would you experts please comment on this idea?
    Is this is possible? If so, would you please guide through the steps/some documentation.
    Thanks in advance

    This will not work according to me,
    1)U can give previous SCN in rollback and gets the data till that SCN, but it will not become standby unless u make it a standby again manually by creating standy controlfile etc(may be this will be succesfull and limited up to check the data fixes).
    2)Iif your first step succesfull then what about the fixes u test by applying patches using opatch and patchsets that cannot be rollbacked using flashback because they are copying new version files and adding some more configuration files to oracle home?.
    There are lots of pitfalls and loop holes needed to be checked
    Regards
    Kaunain

  • Can not read trace of controlfile...

    hello,
    we have Oracle 10G production database on RAC on windows 2003 Enterpr 64 bit.
    i wanted to take the trace of controlfile and read the contents of same..
    i took the backup of controlfile with the
    sql> alter database backup control file to 'd:\control.trc'; then with the help of tkprof i transferred that trace file into txt
    tkprof d:\control.trc d:\control.txt but whn i try read that its giving me nothing..the size of the tracefile hows something 15480kb and that of the text file created by tkprof is only 2k..how is that?
    i also tried to open the tracefile with wordpade..but it shows me junk value...
    how can i read trace of that file
    need your help...
    thank you..

    because thats the controlfile itself, and not its "trace"
    SQL> alter database backup controlfile to trace as 'd:\control.trc';

  • What is the diffrence between ' Contolfile ' and ' Standby Controlfile' ???

    Hi Guru's,
    Can someone please help me out with the diffrences between a 'Control File' and 'Standby Controlfile'.
    Thanks in advance
    Regards,
    Girish

    Kind of reply you can always expect from Sybrand...anyways...the controlfile of any production database would always be having a bit in itself which identifies a database as a primary or a standby database, so whenever you try to query select database_role from v$database; for any production database it would always give output as PRIMARY and for a standby it would always give output as PHYSICAL STANDBY..Hope it clears your doubts
    Regards,
    Ajinkya

  • Controlfile has corrupted and not able to open up the database. Very urgent

    Hi All,
    I am working on 11gR1 database on linux environment and suddenly the DB went down. I look at the alert log and i am following that guidelines, but i am not able to put the database in mount state and it is thronging error message. Please suggest me in correct way. This is very high priority for me.
    I have done below steps.
    1.set the environment through . oraenv
    2. export ORACLE_SID
    3. SQL>startup nomount
    ORACLE instance started.
    Total System Global Area 4943876096 bytes
    Fixed Size 2143944 bytes
    Variable Size 2617248056 bytes
    Database Buffers 2281701376 bytes
    Redo Buffers 42782720 bytes
    SQL>alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-00214: control file '/u02/oradata/beacondp/control02.ctl' version 390158 inconsistent with file '/u01/oradata/beacondp/control01.ctl' version 390097
    4. SQL>alter system set control_files='/u02/oradata/beacondp/control03.ctl' scope=spfile;
    System altered.
    SQL>startup restrict
    ORA-01081: cannot start already-running ORACLE - shut it down first
    5. SQL>alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-00214: control file '/u02/oradata/beacondp/control02.ctl' version 390158 inconsistent with file '/u01/oradata/beacondp/control01.ctl' version 390097
    alert log Information:
    Thread 1 advanced to log sequence 9261
    Current log# 3 seq# 9261 mem# 0: /u02/oradata/beacondp/redo03.log
    Tue Sep 13 15:00:14 2011
    ********************* ATTENTION: ********************
    The controlfile header block returned by the OS
    has a sequence number that is too old.
    The controlfile might be corrupted.
    PLEASE DO NOT ATTEMPT TO START UP THE INSTANCE
    without following the steps below.
    RE-STARTING THE INSTANCE CAN CAUSE SERIOUS DAMAGE
    TO THE DATABASE, if the controlfile is truly corrupted.
    In order to re-start the instance safely,
    please do the following:
    (1) Save all copies of the controlfile for later
    analysis and contact your OS vendor and Oracle support.
    (2) Mount the instance and issue:
    ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    (3) Unmount the instance.
    (4) Use the script in the trace file to
    RE-CREATE THE CONTROLFILE and open the database.
    Please let me know, how i need to proceed. Major problem is i am not able to put the db in mount state. I have both spfile and pfile.
    Thanks in advance.

    user13162661 wrote:
    Thanks Pavan for yoour response, but how can i find, which is good copy of the controlfile?
    Now i have 3 controlfiles in spfile or in pfile, Can i directly remove the 1 and 2 controlfiles from pfile and put the 3rd there itself and start the db.
    startup pfile='file_path';
    Is there any thing i am missing?
    Please helpout.
    control file '/u02/oradata/beacondp/control02.ctl' version 390158 inconsistent with file '/u01/oradata/beacondp/control01.ctl' version 390097I suspect that control02.ctl is the good one since it has the higher SCN

  • Got error while recover controlfile with rman

    Dear all,
    My controlfile and some datafiles were crash and i tried to recover their with rman as the following step:
    1. startup nomount;
    2. restore controlfile from autobackup;
    3. alter database mount;
    4. restore database;
    5.SELECT archivelog_change#-1 FROM v$database;
    ARCHIVELOG_CHANGE#-1
    1301671
    6.run {
    set until scn 1301671;
    recover database;
    executing command: SET until clause
    Starting recover at 01 พ.ย. 2006
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 11/01/2006 15:38:01
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database reco
    ver if needed
    start until change 1301671 using backup controlfile
    ORA-00283: recovery session canceled due to errors
    ORA-01190: controlfile or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\DB01\SYSTEM01.DBF'
    What happend? Please give me some advise.
    Thaks for advance !
    Chara

    After every resetlogs you have to take fresh backup.
    It seems you have opened your database in resetlogs and your backup is prior to this resetlogs.So the controlfile is showing inconsistance with the other datafiles.

  • How can I add a new controlfile in ASM?

    In the ASM,I can't copy any file.How Can I create a new online controlfile? Thanks!

    You can use "alter database backup controlfile to trace" command to get the control file contents.
    Now you can use create controlfile:
    1) If you use resetlogs, use file creation context form for specification of log files.
    2) If you use resetlogs, use file reference context.
    Why do you want to create a new control file. Is it for multiplexing purpose?
    Reference: Chapter-12 of Oracle database administrator guide 10gR2
    search for title "Creating a Control File in ASM" ...
    Hope this will help you.
    Regards,
    Neeraj

  • Controlfile creation

    Hi,
    While creating a control file, I got the following error.
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01130: database file version 10.2.0.2.0 incompatible with ORACLE version 10.2.0.0.0
    ORA-01110: data file 1:
    'L:\BackupPR1-22Aug09\L\ORACLE\TST\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
    The version is same in source & target database.
    Our Environment
    SAP: 4.6C
    Oracle: 10.2.0.2.0 x-64 bit
    OS: windows 2003.
    Can you please help me?
    Thanks and Regards
    Satya

    > ERROR at line 1:
    > ORA-01503: CREATE CONTROLFILE failed
    > ORA-01130: database file version 10.2.0.2.0 incompatible with ORACLE version 10.2.0.0.0
    > ORA-01110: data file 1:
    > 'L:\BackupPR1-22Aug09\L\ORACLE\TST\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
    Make sure all the paths for the (new) controlfiles are existing.
    Markus

  • Creating a new controlfile with datafiles in RMAN backup

    Hi,
    i am using oracle 10g (10.2.0.1) in RHEL5 server. i am trying to restore a RMAN backup from one server to another new server with new db name. i have taken out the spfile from RMAN autobackup and created pfile from it and edited the pfile with new dbname and directory structure and started the db in nomount with the new pfile. Now i have restored the controfile from the RMAN autobackup tried to put the database in mount state. But it failed due to the below error
    RMAN-03002: failure of alter db command at 11/05/2012 21:44:56
    ORA-01103: database name 'ORADB' in control file is not 'DEVDB'
    Hence i shutdown the database and started the db in nomount with new pfile and tried to create the controlfile with the new db name,but it failed as it is looking for the datafiles.
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '/u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    All my datafiles reside in my RMAN backup. How to get the datafiles from RMAN backup in the above scenario??
    Regards,
    007

    Hello;
    The location and filename and DBIS will be different, but you need something like this :
    $ORACLE_HOME/bin/rman  << EOF
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 3754763357;  #DBID of PROD database
    RUN
       ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u01/oradata/backups';
       RESTORE CONTROLFILE FROM '/u01/oradata/backups/sb_t790762003_s85_p1';
       ALTER DATABASE MOUNT;
       SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/CLONE/system01.dbf';
        SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/CLONE/temp01.dbf';
       RESTORE DATABASE;
       SWITCH DATAFILE ALL;
       RECOVER DATABASE;
       release channel c1;
    ALTER DATABASE OPEN RESETLOGS; So you need "SET NEWNAME" for all your files
    Full Example
    http://www.visi.com/~mseberg/rman/restore_database_without_catalog.html
    Best Regards
    mseberg

  • What`s wrong with my controlfile multiplexing setup?

    Originally, my database was using the default controlfile multiplexing setup and it was working perfectly fine.
    But then, start today, it doesn`t work any more.
    when i try to mount the database, it always throw below errors.
    ORA-00205: error in identifying control file, check alert log for more infoand when I look up the alert.log, it shows:
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open the file
    O/S-Error: (OS 123) he system cannot find the path specified.But, I guarantee you that those files are there.
    Then, I start to manipulate parameter CONTROL_FILES and I got below:
    ---When all three controlfiles are included in parameter
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADA
    TA\ORCL\CONTROL02.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL' scope=spfile;
    System altered.
    SQL>
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    ---When only two of them are included in parameter
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADA
    TA\ORCL\CONTROL02.CTL' scope=spfile;
    System altered.
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    --only one is included
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL' scope=spfile;
    System altered.
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    Database mounted.
    Database opened.
    SQL>Why it is happening? Just in case control02.ctl, control03.ctl are broken, I manually copy the control01.ctl and rename it to control02.ctl and control03.ctl, but still not working.
    when I copy control01 to 02, 03, I did shutdown the database, so there won`t be any inconsistency issue.
    So, what could be the reason? anyone have any idea?
    Thanks

    I already did this and posted you guys the result.
    either way, here, I did it again and remains the same error:
    SQL> connect /as sysdba
    Connected.
    SQL> show parameter control_files
    NAME                                 TYPE        VALUE
    control_files                        string      E:\ORACLE\PRODUCT\10.2.0\ORADA
                                                     TA\ORCL\CONTROL01.CTL
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL,E:\ORACLE\PRODUCT\10.2.0\ORADAT
    A\ORCL\CONTROL02.CTL,E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL' scope=spfile;
    System altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    ---I copy and rename the control01.ctl to control02.ctl and control03.ctl. and then did the below
    SQL> startup
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             230689668 bytes
    Database Buffers          373293056 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info

  • Loss of all controlfile,database is automatic shutdown abort?

    Your database is configured in NOARCHIVELOG mode. All the control files have been lost due to a hard disk failure but the data files are not lost. You have the closed whole database backup available to you. Which two statements are true in this scenario? (Choose two.)
    A) The instance aborts.
    B) The database cannot be recovered.
    C) The database can be recovered by restoring the control files from the backup.
    D) The database remains opened and you have to shut it down with the ABORT option.
    E) The database can be restored till the point of the last closed whole database backup.
    noarchivelog mode , before open database i had rman backup full database;
    idle> conn / as sysdba
    Connected.
    idle> alter database open;
    Database altered.
    idle> conn anbob/anbob
    Connected.
    anbob@ANBOB> create table testdelctl(id int);
    Table created.
    anbob@ANBOB> insert into testdelctl values(999);
    1 row created.
    anbob@ANBOB> commit;
    Commit complete.
    anbob@ANBOB> conn system/oracle
    Connected.
    system@ANBOB> select * from v$controlfile;
    STATUS
    NAME
    IS_ BLOCK_SIZE FILE_SIZE_BLKS
    /oracle/oradata/anbob/control01.ctl
    NO 16384 430
    /oracle/oradata/anbob/control02.ctl
    NO 16384 430
    /oracle/oradata/anbob/control03.ctl
    NO 16384 430
    system@ANBOB> !rm /oracle/oradata/anbob/control*.ctl
    system@ANBOB> !ls /oracle/oradata/anbob/
    redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbf
    redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
    system@ANBOB> select open_mode from v$database;
    select open_mode from v$database
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    system@ANBOB> select status from v$instance;
    STATUS
    OPEN
    sys@ANBOB> conn anbob/anbob
    Connected.
    anbob@ANBOB> select * from testdelctl;
    ID
    999
    anbob@ANBOB> insert into testdelctl values(0);
    1 row created.
    anbob@ANBOB> commit;
    Commit complete.
    anbob@ANBOB> conn / as sysdba
    Connected.
    sys@ANBOB> alter systme checkpoint;
    alter systme checkpoint
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    sys@ANBOB> alter system checkpoint;
    System altered.
    sys@ANBOB> select status from v$instance;
    STATUS
    OPEN
    sys@ANBOB> select * from v$version where rownum=1
    2 ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    sys@ANBOB> shutdown immediate
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    sys@ANBOB> shutdown abort
    ORACLE instance shut down.
    sys@ANBOB> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 96471284 bytes
    Database Buffers 67108864 bytes
    Redo Buffers 2973696 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    sys@ANBOB> select status from v$instance;
    STATUS
    STARTED
    [oracle@aix ~]$ rman target/
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jul 14 22:32:12 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: anbob (not mounted)
    RMAN> restore controlfile;
    Starting restore at 14-JUL-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 07/14/2011 22:32:27
    RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
    RMAN> restore controlfile from autobackup;
    Starting restore at 14-JUL-11
    using channel ORA_DISK_1
    recovery area destination: /oracle/flash_recovery_area
    database name (or database unique name) used for search: ANBOB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/oracle/oradata/anbob/control01.ctl
    output filename=/oracle/oradata/anbob/control02.ctl
    output filename=/oracle/oradata/anbob/control03.ctl
    Finished restore at 14-JUL-11
    RMAN> alter database open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:32:52
    ORA-01507: database not mounted
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> alter database open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:33:12
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:33:19
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/oradata/anbob/system01.dbf'
    RMAN> recover database;
    Starting recover at 14-JUL-11
    Starting implicit crosscheck backup at 14-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 14-JUL-11
    Starting implicit crosscheck copy at 14-JUL-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 14-JUL-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 19 is already on disk as file /oracle/oradata/anbob/redo03.log
    archive log thread 1 sequence 20 is already on disk as file /oracle/oradata/anbob/redo01.log
    archive log filename=/oracle/oradata/anbob/redo03.log thread=1 sequence=19
    archive log filename=/oracle/oradata/anbob/redo01.log thread=1 sequence=20
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 14-JUL-11
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Recovery Manager complete.
    o[oracle@aix ~]$ ora
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 14 22:34:23 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    sys@ANBOB> !ls /oracle/oradata/anbob/
    control01.ctl control03.ctl redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
    control02.ctl redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbfconn anbob
    sys@ANBOB> conn anbob
    Enter password:
    Connected.
    anbob@ANBOB> select * from tab;
    TNAME TABTYPE CLUSTERID
    TESTCHAR TABLE
    TT TABLE
    TESTTRUN TABLE
    TESTADDM TABLE
    TEST TABLE
    TESTFUNIDX TABLE
    TEAM TABLE
    MEMB TABLE
    TESTENC TABLE
    TESTREC TABLE
    BIN$p/SuvHy7sn7gQKjA9QF/dQ==$0 TABLE
    DETP TABLE
    TESTDELCTL TABLE
    DEPT TABLE
    TESTFLS TABLE
    15 rows selected.
    anbob@ANBOB> select * from testdelctl;
    ID
    999
    0
    why,loss of all controlfile,the database not abort?

    Satish Kandi wrote:
    The files, which are in use by a process, are not actually deleted when one issues rm command.
    Its only when the process terminates that the locks are released and file is actually deleted at operating system level.I concur!
    This behavior is *NIX only.
    Windows explicitly prevents open files from being deleted.
    Edited by: sb92075 on Jul 14, 2011 9:18 PM

  • How to find out the Correct Controlfile script Trace .trc file in /bdump

    Hi Guys
    This is the most childish queries in this forum ..
    I wanna know how to Find out the correct trace file when we Issue alter database backup controlfile to trace at sqlprompt for Creating controlfile script.
    As i find it a bit confusing to go through the same Date & almost same time .trc files out of hundreds of trace file in /bdump directory to find the correct one.
    if we 've to find the Alert log file in /bdump directory $ ls -l al* & we get the alert log file .... if there is any similar way to find out the controlfile script Trace file ?
    Thanks & regards
    MZ

    MZ_AppsDBA wrote:
    Hi Guys
    This is the most childish queries in this forum ..
    I wanna know how to Find out the correct trace file when we Issue alter database backup controlfile to trace at sqlprompt for Creating controlfile script.
    As i find it a bit confusing to go through the same Date & almost same time .trc files out of hundreds of trace file in /bdump directory to find the correct one.
    if we 've to find the Alert log file in /bdump directory $ ls -l al* & we get the alert log file .... if there is any similar way to find out the controlfile script Trace file ?
    Thanks & regards
    MZcreation of the does not happen automatically. What script, and when does it run, do you have that creates the control file trace? Look for files in that time frame. Better, modify that script to specifically name the file .. BACKUP CONTROLFILE TO TRACE AS ....

  • Need of resetlogs in recovery from controlfile backup...

    Hi,
    Suppose we are recovering with controlfile backup, we have all archivelogs and online redologs.
    After restoring the controlfile and recovering the database why there is need of *"open with resetlogs"*, because when we have all archivelogs and redologs the DB should recover to the point of failure.
    Plz help and clarify.
    Ashutosh.

    Suppose we are recovering with controlfile backup, we have all archivelogs and online redologs.
    After restoring the controlfile and recovering the database why there is need of "open with resetlogs", because when we have all archivelogs and redologs the DB should recover to the point of failure.My understanding is when we were performing incomplete recovery we need to open with resetlogs is it true or not.. Can you please correct if I'm wrong.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10770/rcmsynta7a.htm
    Thanks in advance for spending your valuable time. :)

  • As i turned on my iphone 4s on and connected to a wireless internet a page opened from the app firewall ip and i usually choose all connections. so it got stuck i held the standy by button but it won't turn off. so i held the standyby and home buttons.

    As i turned on my iphone 4s on and connected to a wireless internet a page opened from the app firewall ip and i usually choose all connections. so it got stuck i held the standy by button but it won't turn off. so i held the standyby and home buttons. when it opened all apps music and pics where not there. why? then i enterted photos and the loading logo appeared then the standyby appeared and i entered my password and everything in my iphone was there but thing were scattered and apps wheren't in folders everything was messed up but no photos or music AND IT SAYS UP IN THE MIDDLE OF THE SCREEN EXIT SAFE MODE. so i restarted it again and it opened and nothing was there and again i entered photos and the samething happen again. why did this happen? and can i get my data back? and in the usage it says that these thing are there but not showing.

    stevejobsfan0123 wrote:
    The Find my iPhone service option is given to you when you first set up the device. If you just reset it, you may have been given that option. So, in other words, the service may have been enabled even if you didn't realize it. You can then go to www.icloud.com and click on Find my iPhone, and have it play a sound. Or, you can use the Find my iPhone app on your mom's iPhone, but the service would still need to be turned on on your iPod.
    Unlike Compukid said, Apple will not assist in locating a lost device without the Find my iPhone service.
    I found that out 2 years ago, it's just that I thought Apple might have changed that.

  • Oracle 8.1.7.4 - restore controlfile

    Hi,
    I am wanting to know if you can use the following command to restore a controlfile, if you don't use an rman catalog with Oracle 8i (8.1.7.4).
    restore controlfile from '<dir>/cf_rman.bus'
    If you can't do this, then I am wanting to know alternative ways.
    Appreciate any suggestions on this.
    Many thanks

    I dont know what rman 8.1.7.4 does or does not support. But you can go for user-managed recovery, as is the case with most of oracle 8.
    cp /backup/control01.ctl /oradata/control01.ctl
    Then recover using: recover database using backup controlfile.

Maybe you are looking for

  • Help! mail won't open

    Every time I try to open my mail, it says : Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using mail. Delete unneeded documents or move documents to another volume. This start

  • BADI UDM_COLL_AMT_C

    Hi SAP friends, Can any one help me in writing the code for this BADI 'UDM_COLL_AMT_C'. Please check this and help me here is the requirement for this BADI. <b>Requirement:</b> UDM_COLL_AMT_C:  BAdI Amount to be collected: The amount to be collected

  • Smashed screen. Lumia 920. 3 days old. Options?

    The phone was gently falling through the air when the glass broke.  There was a tile floor involved. The phone works perfectly except fo the little bits of Corning Gorilla glass in my finger each time I answer the phone. I am kidding.  I stopped answ

  • Is bit defender worth while on my macbook pro?

    I am wondering what is the best antivirus software for my MacBook Pro.  Is Bitdefender worthwhile?  It is the only one I can buy on a CD. Antel5

  • Using Like function to search fr results in a database!!

    Hi i have created a database for several different clinics in the uk in oracle sql developer. i tried writing the coding for a query but when i run it an error keeps occurring. i want this query to be as a pop up box appears, asks the user to enter t