Recover datafile in no archivelog mode

Hi, i have always done media recovery using RMAN and this works nicely.
However im doing some testing on a database that does not use RMAN and is not in archivelog mode and im confused.(11.2 -  aix)
My testing is as follows;
With the database shutdown cleanly i have taken a copy of dbf file. I then open the database and delete the dbf file.
(to slightly digress how can i still view and update the table from this datafile when the dbf file is dropped?)
In scenario 1 i shutdown the database after dropping the file. I then put the dbf file back and try and startup the database.
I thought that as i have a complete consistent backup i would be able to open the database normally without recovery, but this produced an error saying the file needed media recovery  so i recovered the datafile and put online and the the db opened normally.
In scenario 2 i again took a clean backup and removed the dbf file. I then opened my database and switched redo logs 3 times ( i have 3 redo logs). After the 3rd switch the database crashed (which makes sense).
I have tried opening it normally again butagain it says the file needs media recovery. i then tried to recover the file but now i the following error:
ORA-00279: change 6667823 generated at 12/17/2013 11:35:20 needed for thread 1
ORA-00289: suggestion :
/test/oracle/TSTA/TSTA/archivelog/2013_12_17/o1_mf_1_78_%u_.arc
ORA-00280: change 6667823 for thread 1 is in sequence #78
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
Any help would be greatly appreciated

885842 wrote:
Hi, i have always done media recovery using RMAN and this works nicely.
However im doing some testing on a database that does not use RMAN and is not in archivelog mode and im confused.(11.2 -  aix)
My testing is as follows;
With the database shutdown cleanly i have taken a copy of dbf file. I then open the database and delete the dbf file.
(to slightly digress how can i still view and update the table from this datafile when the dbf file is dropped?)
In all *nix systems, the file is still there and open by any processes that had it open when you issued the 'rm' command.  It is not really deleted until all processes that have it open have terminated.
In scenario 1 i shutdown the database after dropping the file. I then put the dbf file back and try and startup the database.
I thought that as i have a complete consistent backup i would be able to open the database normally without recovery, but this produced an error saying the file needed media recovery  so i recovered the datafile and put online and the the db opened normally.
The backup may have been consistent, but if you restored only that one file, it was several SCN's behind the other files that continued to be updated after you took the consistent backup.  "Consistent" means not only consistent interally to the individual file, but consistent with all other data files, plus the control files, plus the redologs.
In scenario 2 i again took a clean backup and removed the dbf file. I then opened my database and switched redo logs 3 times ( i have 3 redo logs). After the 3rd switch the database crashed (which makes sense).
I have tried opening it normally again butagain it says the file needs media recovery. i then tried to recover the file but now i the following error:
ORA-00279: change 6667823 generated at 12/17/2013 11:35:20 needed for thread 1
ORA-00289: suggestion :
/test/oracle/TSTA/TSTA/archivelog/2013_12_17/o1_mf_1_78_%u_.arc
ORA-00280: change 6667823 for thread 1 is in sequence #78
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
Any help would be greatly appreciated
You said you are not in archivelog mode.  So where did this reference to an archivelog come from? 

Similar Messages

  • Restoring No Archivelog Mode Database

    This is only for testing purposes>>>
    Is there any way to get a database up and running if the database is in no archivelog mode and their is a datafile missing?
    Suppose your full backup is missing that 1 datafile also, but you have a full export of the database from the same time the backup was taken. Can you restore tablespace from an export file?

    Thanks, I found this information about running in NO Archivelog mode and Losing a Datafile
    "ALTER TABLESPACE ...OFFLINE IMMEDIATE or ALTER DATABASE DATAFILE ...OFFLINE is only allowed if database is in ARCHIVEREDO LOG mode. You should use the 'alter database datafile 'xx' offline drop', which just takes the datafile offline in the controlfile. This allows you to open the database and the next step should be to drop the tablespace. This will remove information on the file from the data dictionary. Since you are running in NOARCHIVELOG, your only option is to drop and recreate the tablespace. If not much activity has occurred on the database since then, you can try recovering it using the online redo log files. If they haven't been written over, this may work. Whether the datafile is offlined (archivelog mode) or offline dropped (noarchivelog mode), the definition remains in the database until the associated tablespace is dropped."
    This information was very helpful as it allowed the database to open.

  • Recover datafile using cold backup in archivelog mode

    Hi,
    I have lost one of my datafiles i.e New.dbf from the disk. I have full database cold backup of last sunday. Also I have the archives. Is it possible to restore and recover only the lost datafile? Please help.

    If you used RMAN to create the backup, then use RMAN again to restore that one datafile alone (RESTORE DATAFILE n) and then recover it (RECOVER DATAFILE n).
    If you didn't use RMAN but you are sure that the backup was a COLD Backup, manually restore the datafile and then issue a RECOVER DATAFILE n from the SQLPlus command.
    In either case you must ensure that the datafile is OFFLINE before you restore the file -- or take it OFFLINE with ALTER DATABASE DATAFILE n OFFLINE IMMEDIATE before doing the restore.
    After the RECOVER is completed, you must bring it ONLINE with an ALTER DATABASE DATAFILE n ONLINE
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Help required - Recovery of a datafile that is lost in ARCHIVELOG mode

    Hi:
    This is related to Oracle 10G on windows 2003 Enterprise, and it is running on ARCHIVELOG mode.
    The datafile 'C:\oracle\product\10.2.0\orcl\example01.dbf is lost. Most probably when I took a manual backup i missed it.
    I am not using rman rather manual backup and restore.
    I mounted the database (obviously it cannot be open since it is not finding the datafile) and took the datafile offline.
    I cannot take a tablespace "example" offline in mount stage.
    I tried "ALTER DATABASE CREATE DATAFILE <old path / old name> AS <old path / old name>.
    Oracle is not allowing saying that the file is read-only.
    I altere the database open and took the tablespace offline immediate and then tried the "ALTER DATABASE CREATE DATAFILE <old path / old name> AS <old path / old name>" command. But no luck.
    _Please provide some steps so that I can bring it back._ I am looking many sites but everywhere is RMAN.
    Thanks in advance - Caesar

    >
    I am looking many sites but everywhere is RMAN.
    >
    Yes and for a good reason. For example, RMAN would not have forgotten to backup this datafile :-)
    Regardless, you messed it up. Look at DBA_TABLES for the owner & tables that resided in that example tablespace. Probably, it was just our demo schemas. You can recreate them without having to recover then. Look at
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10831/toc.htm
    for a guide how to do that.
    Also, rethink your refuse of RMAN, I would suggest
    Kind regards &
    Don't forget to backup the datafile :-)
    Uwe Hesse
    http://uhesse.wordpress.com

  • Datafile recover in case of noarchivelog mode

    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advance

    saugat chatterjee wrote:
    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advanceWhat ever version. To recover datafile archiving should be enabled. Noarchive norecovery...

  • Recover Datafile with Noarchivelog

    Dear all,
    Received a call saying the database cannot up the error message as below
    ORA:01113 file2 needs media recovery
    ORA:01110 Data File 2.....
    Thus,
    svrmgr> startup mount
    svrmgr> alter database datafile 'c:.....' offline drop;
    svrmgr> alter database open;
    I created another owner in order for me to import from backup file.
    Next day, I discovered the datafile is being hide by 'someone' and the permission of the file is read only.
    Question is can I still recover my datafile from my physical datafile ? This is no archivelog mode. I just set it archivelog mode.
    Any ideas to recover back if without archive log mode ? Please help me on this ....
    null

    i tried to take this datafile offline but this failed Please check your alert log file. Since you are working with noarchivelog mode. You must be having a backup. Do you ?
    what are the exactly procedures to recover this file ?You have not provided enough information but here are hints;
    - What kind of backups you have? Rman or user managed backups?
    Also read;
    http://www.oracle.com/technology/documentation/index.html
    Ex Senior DBA
    Lazy: Those who do not read documentation

  • Restoring and recovering datafiles in standby database

    Hi,
    oracle version : 8i(8.1.7.0.0)
    os : sun solaris
    I have scenerio where i lost some of the datafiles in standby database(physical standby) and i do have standby cold backup 3 months older since database size is 1TB is can i restore the the only lost files from cold backup and recover using archivelog files. since i only lost 4 data files of size 4gb each it will be faster compare to restoring the whole TB size database.
    appreciated for valuable inputs.
    Thanks
    Prakash GR

    Normal copy command can do your work:
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    Database opened.
    sys@SANTU> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     4
    Next log sequence to archive   6
    Current log sequence           6
    sys@SANTU> host copy D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF d:\
            1 file(s) copied.
    sys@SANTU> shu immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    *Renamed the datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF' to 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS011.DBF'*
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
    sys@SANTU> host move  d:\USERS01.DBF D:\APP\SANTOSKU\ORADATA\SANTU\
    sys@SANTU> shu immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    ORA-01113: file 4 needs media recovery
    ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
    sys@SANTU> recover datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF';
    Media recovery complete.
    sys@SANTU> alter database open;
    Database altered.
    sys@SANTU>N.B. I have not done the demo on standby database.
    but just i want to know is this procedure is valid that is instead of taking the lost datafiles from production can i use lost datafiles from standby database to recover other standby database.That would be fine.
    Regards,
    S.K.
    Edited by: Santosh Kumar on Oct 8, 2009 11:09 AM

  • Recover datafile problem

    Hi, I am using Oracle 7.3.4 on NT 4.
    I am having problem with one of my rollback segments call HISTORY which contain two datafiles in e:\rollback\history.ora and f:\rollback\history.ora
    This rollback segment was used for transfer old data to HISTORY datafile in
    f:\HISTORY\HISTORY.ora
    (the sql look like this -
    set transaction use rollback segment history;
    insert into history.bk_tableA
    where ..... )
    Recently the HISTORY rollback was droped by mistake. Since then I lost access to history tables( in HISTORY datafile). When I open the storage manager
    it shows these 3 files are in recover status.
    What is the relationship between the History rollback seqment and History datafile?
    The list below were the errors I got when trying to recover a datafile
    First attemp:
    SVRMGR>
    recover datafile 'f:\history\history.ora';
    ORA-00279: Change 525082216 generated at 12/08/99 16:24:02 needed for thread 1
    ORA-00289: Suggestion : d:\ORANT\RDBMS73\%ORACLE_SID%25290.001
    ORA-00280: Change 525082216 for thread 1 is in sequence #252904
    Specify log: {=suggested | filename | AUTO | CANCEL}
    ORA-00310: archived log contains sequence 252909; sequence 252904 required
    ORA-00334: archived log: 'D:\ORANT\RDBMS73\ORCL25290.001'
    I try auto, and even the suggested log file orcl25290.001 and still could not recover the datafile. It seems the recover program
    cannot find the specific sequence # in the log file! Any suggestion?
    Second attemp:
    I try the incomplete, change base recovery -
    SVRMGR>recover until chang 525082215
    it shows Media recovery complete. Then, I open the database with
    'alter database open noresetlogs'
    But I still cannot access to that data file.
    svrmgr>select count(*) from history.bk_sn_err;
    count(*)
    ora-00376: file 5 cannot be read at this time
    ora-01110: data file 5: 'f:\history\history.ora'
    From the storage manager the file is still in recover status.
    Does the file been recovered at all?
    Is it possible that I could drop the damaged
    rollback segment and recreate a new one.
    Should I be able to gain access to the f:\history\HISTORY.ora datafile?
    [email protected]
    null

    Hi Micheal,
    when you said you had dropped the history, did you drop the rollback segment or did you delete the history.ora file from the NT or did you drop the file from Oracle by doing an
    alter database adatfile '...history...'offline drop?
    also is your database running in archivelog mode?
    depending on the above, you will have to use different methods to recover.
    from the error messages you seem to be running with no archivelog mode so you have to offline drop the datafile.
    If you do an offline drop on the datafile, then you will have to drop tha tablespace and recreate it.
    Thanks,
    Mandar
    null

  • Archivelog mode features

    Hello,
    Can I get a complete list of the tasks which can not be performed in noarchive log mode ? I mean in which tasks / features in different Oracle versions i.e. enterprise/standard and version numbers 10.2.0.1 to 11.2.0.1; db must be in archivelog mode.
    i.e.
    I can not do in noarchive log mode :
    1.standby db
    2.tablespace in begin backup mode
    3.tablespace PITR
    4.rman catalog
    Can you add more please? or please correct above list ?
    One more last question :
    From which Oracle Version, Oracle introduced archive log mode.
    Thank you.

    I would like to add below tasks/features :
    ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf' OFFLINE;
    The database must be in ARCHIVELOG mode if you are creating a guaranteed restore point.
    Oracle Error: ORA-01239 : Database must be in ARCHIVELOG mode to use external cache
    For LogMiner the database must be in archivelog mode with supplemental logging enabled.
    To use RMAN recover ... block command, because RMAN need the archivelog to perfom block recovery.
    Asynchronous Distributed Change Data Capture (CDC) requires archivelogs.
    Hot cloning.
    @ Sybrand :
    Thank you Sybrand for the historical information.
    Regards
    Girish Sharma

  • Database in Archivelog mode

    Hi
    All,
    I have oracle 9.2.0.6 at my workplace.right now my database running in ARCHIVELOG MODE. I want to set it to NOARCHIVELOG MODE.
    can I do on the fly? in other way, Do I need to shutdown and restart database?
    Any help will be appreciated.
    Thanks,
    Vishal

    Hi,
    Issue the following commands to put a database into NOARCHVELOG mode:
    1) Take Back up of Present SPfile by creating pfile
    create pfile from present spfile.
    2) Shutdown the database by SUTDOWN IMMEDIATE.
    3) Take Cold backup of the database.
    4) Change the parameter in the pfile.
    log_archive_start = FALSE
    #log_archive_dest_1 = 'LOCATION='Your location'
    log_archive_dest_state_1 = DISABLE
    #log_archive_format = %d_%t_%s.arc
    5) And make a spfile from the modified pfile in default location .
    6) Start the database with spfile.
    SQL> CONNECT sys AS SYSDBA
    SQL> STARTUP MOUNT ;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ARCHIVE LOG START;
    SQL> ALTER DATABASE OPEN;
    NOTE 1: Remember to take a baseline database backup right after disabling archivelog mode. Without it one would not be able to recover.
    Regards
    Jafar

  • Recover from hotbackup without archivelog-for help

    Because user error, three tables are deleted on may 1,2007. so, I restore db datafiles from tape, which is hot backup on apri 21,2007.
    Copy the datafiles to other os,and recover.
    But, the archivelog required is lost.as follows:
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jun 15 09:54:50 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 79408828 bytes
    Fixed Size 102076 bytes
    Variable Size 22364160 bytes
    Database Buffers 56762368 bytes
    Redo Buffers 180224 bytes
    Database mounted.
    SQL> select to_char(checkpoint_change#) from v$database;
    TO_CHAR(CHECKPOINT_CHANGE#)
    9216842117529
    SQL> select file#,to_char(checkpoint_change#) from v$datafile_header;
    FILE# TO_CHAR(CHECKPOINT_CHANGE#)
    1 9216842117530
    2 9216842117572
    3 9216843490042
    4 9216843490496
    5 9216843490502
    6 9216843490513
    7 9216843490525
    8 9216842117536
    9 9216842117548
    10 9216843490536
    10 rows selected.
    SQL> show parameter _all
    NAME TYPE VALUE
    allowresetlogs_corruption boolean TRUE
    fast_start_parallel_rollback string LOW
    optimizer_percent_parallel integer 0
    parallel_adaptive_multi_user boolean FALSE
    parallel_automatic_tuning boolean FALSE
    parallel_broadcast_enabled boolean FALSE
    parallel_execution_message_size integer 2152
    parallel_instance_group string
    parallel_max_servers integer 5
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    NAME TYPE VALUE
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_threads_per_cpu integer 2
    recovery_parallelism integer 0
    SQL> alter session set events '10015 trace name adjust_scn level 10';
    Session altered.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 9216842117530 generated at 04/21/2007 05:42:05 needed for
    thread 1
    ORA-00289: suggestion : /home/newdb/newdb_arch/arch_1_12320.arc
    ORA-00280: change 9216842117530 for thread 1 is in sequence #12320
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/disk1/oradata/orcl/system01.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Alert_orcl.log as follows:
    SMON: enabling cache recovery
    Fri Jun 15 11:10:23 2007
    Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
    ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
    Fri Jun 15 11:10:23 2007
    ARC0: Completed archiving log# 1 seq# 2
    Fri Jun 15 11:10:24 2007
    Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
    ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
    Fri Jun 15 11:10:24 2007
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Instance terminated by USER, pid = 20312
    ORA-1092 signalled during: alter database open.
    Can you give some suggestion?

    I have used hidden parameter:_allow_resetlogs_corruption.but,it is not usefull.
    the datafiles have been consistent.
    i have used command as follows:
    alter session set events '10015 trace name adjust_scn level 10';
    why not can open the db?
    Message was edited by:
    [email protected]

  • Put database in archivelog mode

    I know how to do it.
    using oracle 9.2.0.8 on AIX 5.3
    My question is that can I mention a different location
    my database installed in /opt/oracle/product/9.2
    datafiles/control files and redolof files
    in /var/data/oracle/product/9.2/orcl
    I want archive to be in
    /var/data/oracle/product/9.2
    How can I do this
    please suggest

    Is this standard or enterprise edition?
    On the enterprise edition you can use the log_archive_dest_N (n=1..10) instance parameter file to configure up to ten different locations. As an example, you would configure: log_archive_dest_1="location=/var/data/oracle/product/9.2 mandatory" You have to configure log_archive_format as well (unless you want the default format mask); log_archive_format=arch%S.arc and the log_archive_start parameter to true.
    Shutdown normal or immediate your database. Once it is shutdown start it up to the mount state:
    startup mount
    and issue the alter command:
    ALTER DATABASE ARCHIVELOG
    open your database and you will be working on archivelog mode.
    If you are on a standard edition, just proceed as previously indicated, the difference is that log_archive_dest_N parameter is not available, and you can define up to two different file locations, parameters are:
    LOG_ARCHIVE_DEST, LOG_ARCHIVE_DUPLEX_DEST
    and to indicate mandatory or optional, you'll have to use the LOG_ARCHIVE_MIN_SUCCEED_DEST instance parameter.
    ~ Madrid

  • OLAP in 10G with ARCHIVELOG mode

    Can we place 10G database in ARCHIVELOG mode with OLAP? Currently we are at 9204 and our database is running in NOARCHIVELOG mode. I am new here and I was told that there is some issue with the OLAP that prevents placing the database in ARCHIVELOG mode. Is it true? If it is true then has it been fixed in 10G as we want to take advantage of FLASHBACK query option of 10G and that will require the database to be in ARCHIVE mode?
    Thanks

    it's a slight misunderstanding.
    You can recover the cold backup and switch it on. -therefore you will have a database from the point of the cold backup.
    if you want to use the archivelogs to restore then that's a little more involved

  • Backup in ARCHIVELOG Mode

    Dear Sirs,
    Actually I've a non archivelog mode RDBMS, but I wan't to make a
    hot backup. Could I make a hot backup after I turn the
    ARCHIVELOG mode ON, then turn it off again after Back - Up ?
    And how do I make the hot backup ?
    Thank you for the attention and help.
    Regards,
    Tonny

    You could turn archivelog mode on, do the backup, and then turn
    archivelog mode off. This really defeats the purpose of hot
    backups though. You would have to know the SCN, archivelog
    file, or time to do a point-in-time recovery manually, or if you
    are using RMAN knowing the time will help. I think RMAN will
    recover until the last archivelog if you don't specify a time or
    SCN. Keep in mind that you will lose all the changes since the
    last backup if you turn archivelog mode off after the backup and
    your database crashes inbetween the next scheduled backup. If
    you are going through the trouble for turning archivelog mode on
    and then off I would perform a cold backup. You have to
    shutdown the database with normal or immediate, mount the
    database, turn archvelog mode on/off and then open the
    database. So why not just do a cold backup?

  • Recover datafile

    Hi All,
    DB: 10g No Archive mode
    OS: windows
    I am unable to recover my datafile after renaming the same. Following are the steps that I have taken:
    I have a old controlfile trace and the latest controlfile is lost. The old controlfile doesnt have the new datafile entry.So i am mounting the database with the old trace with resetlog option and then i will be renaming the unamed datafiles.
    STARTUP MOUNTThen i create controlfile
    ALTER DATABASE OPEN RESETLOGS;Now the newly added datafile is as below:
    SQL> select name from v$datafile;
    NAME
    D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM.DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\UNDO.DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSAUX.DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\USERS.DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST01.DBF
    D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006Then i rename the datafile as
    SQL> alter database rename file 'D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006' to 'D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02.DBF';
    Database altered.
    SQL> select FILE#,STATUS,NAME from v$datafile;FILE# STATUS NAME
    1 SYSTEM D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM.DBF
    2 ONLINE D:\ORAHOME_XPRESS10G\ORADATA\XE\UNDO.DBF
    3 ONLINE D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSAUX.DBF
    4 ONLINE D:\ORAHOME_XPRESS10G\ORADATA\XE\USERS.DBF
    5 ONLINE D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST01.DBF
    6 RECOVER D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02.DBF
    After this when i am trying to recover the concern datafiel i am getting the following errors:
    SQL> recover datafile 6;
    ORA-00283: recovery session canceled due to errors
    ORA-00600: internal error code, arguments: [krhpfh_03-1202], [fno =], [6], [fhcrt =], [794948267], [cptim =], [0], []
    ORA-01110: data file 6: 'D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02.DBF'
    and also,
    SQL> RECOVER AUTOMATIC DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: 'D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM.DBF'
    BR
    Sphinx
    Edited by: $phinx19 on Sep 25, 2012 7:47 AM

    Hi Vreddy,
    I have tried the same by but it aint working. I am getting the following error:
    SQL> recover datafile 6;
    ORA-00283: recovery session canceled due to errors
    ORA-00600: internal error code, arguments: [krhpfh_03-1202], [fno =], [6], [fhcrt =], [794948267], [cptim =], [0], []
    ORA-01110: data file 6: 'D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02.DBF'
    Br
    Sphinx

Maybe you are looking for

  • Set Maximum Rows Per Page not working

    I want to display 50 rows per page and I tried the below but still I can see the default 15 rows per page. Home>Application Builder>Application 301>Page 51>Interactive Report Attributes>Search Bar>Maximum Rows Per Page Set to = 50 Home>Application Bu

  • How to truncate all the tables of my database

    hi guys I am using SQL Server 2012 , i need to delete all  the data present in my database .I mean i want to truncate all the tables in my database , so please suggest me the easiest way .

  • [Mapviewer] the Europe part of Russia is blank in Mapviewer

    in Mapview, RUSSIA can be drawed with color for ASIA part, but not whole RUSSIA. even in official SAMPLE.. the Europe part of RUSSIA is blank.. anyone know how to resolve the problem? Thanks in advance

  • Opening xlsm files created in 2010, not supported in 2013

    When opening an Excel 2010 document ending in xlsm in Excel 2013, there are columns missing. Something is happening to the macros. I'm not sure what to do and I'm getting the run-around from Microsoft direct, nobody can help. I cannot believe that I'

  • After Effects crashes while choosing render settings

    Every time without fail After Effects crashes when I try to change my render settings. When I'm in Render Queue > Output Module > Click Lossless > Under Video Output > Format Options button. When I try to click the Format Options Button to change fro