Datafile recover status
Hi Guys,
I am running Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production on Solaris 9.
I have a datafile that is on recover status and I can't recover this database to a consistent state with other datafiles.
The reason being that one of my archivelog that is needed for recovery is corrupt.
What should I do to remedy this situation?
Thanks in advance,
Hi,
As archive is missing , db recovery can not be possible done beyond that archive creation time and need to do incomplete recovery and open db with reset logs.
how important is datafile ? if that particular file is not important and if can be kept offline then we can make it offline AND open db to access.
Only data from offline datafile will not be accessible for users.
BR,
Rajesh
Edited by: Rajesh.Rathod on Aug 31, 2011 12:59 AM
Edited by: Rajesh.Rathod on Aug 31, 2011 1:00 AM
Similar Messages
-
DATAFILE SYSAUX ---- STATUS RECOVER
Database Version : 10.1.0.2.0
OS System : Window 2003 Server
SQL> SELECT FILE#, STATUS FROM V$DATAFILE;
FILE# STATUS
1 SYSTEM
2 ONLINE
3 RECOVER
4 ONLINE
5 ONLINE
The following datafiles are offline immediate:
D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB02\SYSAUX01.DBF (3)
What should i do.....for correction....
reply plz.Is it running under archivelog mode????
check and post the output of.
SQL> select * from v$recovery_log;
SQL> select * from v$recover_file; -
Hi,
on 10g , I have my users in recover
SQL> select name, status from v$datafile;
NAME
STATUS
C:\ORACLE\ORADATA\ORCL\USERS01.DBF
RECOVER
What is the solution to put it online ?
Thank you.As sysdba, issue the
RECOVER DATAFILE 'datafile path/name';
command. If recovery information contained at the redo log files is enough, it will be recovered, and you'll have to put it online by issuing the
ALTER TABLESPACE tablespacename ONLINE;
command.
If you are prompted for previous generated sequences, then information is no longer available at redo logs, so you'll have to get it from the archive log files (archive log mode is assumed).
~ -
How to fix a missing datafile with status recover
Dear all,
We have Oracle 10 database. And we create a datafile by mistake, and also by mistake we drop the datafile.
Now the condition is, the datafile is missing but still mentioned in control file, and produce an error every time we do a backup since there's a file missing.
If we select from $vdatafile, the datafile status is recover.
We tried to offline the datafile, but its no help.
How to fix this?
Thanks.Sorry to bump this thread again,
I tried to get the same error in a Oracle sandbox server.
I deleted a datafile, so i got a missing datafile, and then i offlined the datafile.
Then, i created a backup control file and deleted line that refer to the error datafile, and then run it as a sql script to create a new control file.
But when a new control file was created, the control file got a missing datafile and offlined it automatically.
This is the control file backuped to a trace file, please notice datafile DATA00001
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_58SZY41W_.LOG' SIZE 50M,
GROUP 2 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_58SZY59P_.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',
'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',
'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',
'C:\ORACLEXE\ORADATA\XE\USERS.DBF',
'C:\ORACLEXE\ORADATA\XE\DATA00001',
'C:\ORACLEXE\ORADATA\XE\DATA00002',
'C:\ORACLEXE\ORADATA\XE\DATA00003'
CHARACTER SET AL32UTF8
-- Take files offline to match current control file.
ALTER DATABASE DATAFILE 'C:\ORACLEXE\ORADATA\XE\DATA00001' OFFLINE DROP;
and so on...
This is the script to recreate
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
DATAFILE
'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',
'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',
'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',
'C:\ORACLEXE\ORADATA\XE\USERS.DBF',
'C:\ORACLEXE\ORADATA\XE\DATA00002',
'C:\ORACLEXE\ORADATA\XE\DATA00003'
CHARACTER SET AL32UTF8
This is the result
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
DATAFILE
'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',
'C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00005',
'C:\ORACLEXE\ORADATA\XE\DATA00002',
'C:\ORACLEXE\ORADATA\XE\DATA00003'
CHARACTER SET AL32UTF8
-- Take files offline to match current control file.
ALTER DATABASE DATAFILE 'C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00005' OFFLINE;
and so on..
Edited by: Fendhy Ongko on Sep 11, 2009 12:16 PM -
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 advancesaugat 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... -
hi
In undo tablespace 3 datafiles are there one datafile damaged now wt is the statud of database.
how can i recover that corrupted file.Hi.You say that your database running in archivelog mode then you can try *"alter database create datafile as"* if this statement does not any effect then you need drop this datafile and you can create new undo tablespace then switch this tablespace.Following example will help you.
1.Backup your database.
2.Delete from OS level this/corrupted datafile then
C:\Documents and Settings\chinar>sqlplus "sys/sm as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jun 22 11:50:02 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 1
Next log sequence to archive 3
Current log sequence 3
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 138412032 bytes
Fixed Size 1288172 bytes
Variable Size 67110932 bytes
Database Buffers 62914560 bytes
Redo Buffers 7098368 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS3'
SQL> alter database create datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDO
TBS3' as 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS3';
Database altered.
SQL> recover datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS3';
Media recovery complete.
SQL> alter database open;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 138412032 bytes
Fixed Size 1288172 bytes
Variable Size 67110932 bytes
Database Buffers 62914560 bytes
Redo Buffers 7098368 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS3'
SQL> alter database datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS3' o
ffline drop;
Database altered.
SQL> alter database open;
Database altered.
SQL>If you can not do these then create new undo tablespace then switch to this.In additionally see below link
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm#i1106407
Edited by: Chinar on Jun 22, 2010 12:06 AM -
RMAN via OEM: Skipping days with incremental backups
Hello,
I've searched the forums and browsed much of the documentation on OTN but have not found the answer to my question. I am using RMAN (through Oracle Enterprise Manager) to schedule backups. I want to get full database backups on Fridays and incrementals Monday through Thursday. I would like to have the backups running at 11 PM each night. I have scheduled the full database backups to occur every Friday. The problem is I cannot schedule the incrementals to skip Fridays, Saturdays and Sundays. I don't want incrementals on Friday since the full database backup will be running. No transactions are occurring on Saturday or Sunday so there is no need to backup on those days either.
Thank you for any help,
Paul LohrYou have had issues with FileID 74 earlier
[RMAN] problem with registering database
DATAFILE RECOVER STATUS
and now with FileID 75 ?
Bring in Oracle Support. Log an SR. Ask for ACS onsite. Don't use forums.oracle.com for such issues.
Hemant K Chitale
Edited by: Hemant K Chitale on Feb 11, 2011 10:49 AM -
After offline drop datafile, v$datafile.status='RECOVER'
OS version:
[oracle@base ~]$ uname -a
Linux base.no.sohu.com 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
DB version:
SQL> select version from v$instance;
VERSION
9.2.0.1.0Here is my steps,
SQL>alter database datafile '/usr/oradata/bill/soq05.dbf' offline;
Database altered.
SQL>alter database datafile '/usr/oradata/bill/soq05.dbf' offline drop;
Database altered.Cause there is nothing errors generated, I thought the commands executed sucessfully. But it's not.
SQL> SELECT NAME,STATUS FROM v$datafile WHERE NAME='/usr/oradata/bill/soq05.dbf';
NAME STATUS
/usr/oradata/bill/soq05.dbf RECOVER
SQL> SELECT FILE#, STATUS, ERROR, RECOVER, TABLESPACE_NAME, NAME
2 FROM V$DATAFILE_HEADER
3 WHERE RECOVER = 'YES' OR (RECOVER IS NULL AND ERROR IS NOT NULL);
FILE# STATUS ERROR RECOVER TABLESPACE_NAME NAME
18 OFFLINE YES SOQ /usr/oradata/bill/soq05.dbf
[oracle@base ~]$ ll /usr/oradata/bill/soq05.dbf
-rw-r----- 1 oracle oinstall 1073750016 Aug 28 17:39 /usr/oradata/bill/soq05.dbfThe datafile haven't been droped successfully and its status changed to 'RECOVER'. Also, I can't online it now.
What should I do to make this datafile droped or at least make it online/offline? What I am worry is the database will be failed to restart because of this 'RECOVER' datafile.
Thanks very much!
SatineHey Werner,
Thanks very much for your help.
The reason I tried to drop the datafile is after I add the datafile to tablespace, I found the datafile failed to be created on the standby side because the parameter "db_file_name_convert"'s value were incorrect. When I created the datafile on primary side, the value of "db_file_name_convert" was,
SQL> select name,value from v$parameter where name='db_file_name_convert';
NAME VALUE
db_file_name_convert /home/oracle/bill/oradata/bill, /U02/bill/oradata/billIt should be VALUE='/usr/oradata/bill','/U02/bill/oradata/bill'. For now the datafile's status on standby side is,
SQL> SELECT name,status FROM V$DATAFILE where file#=18;
NAME STATUS
/U02/bill/product/9.2.0.1/dbs/UNNAMED00018 RECOVERIf the datafile on primary side could been recovered successfully, is there a way to make the datafile on standby side also correct?
Thanks
Satine -
How to recover datafile in Oralcle 10g...? No backups and No archive log
All,
I need to recover the datafile 2 which is for undo tablespace and it is in recover state and i need to recover the data files now .
But the bad thing is We dont have backup at all and we dont have archive logs (Archive log disabled in the database)...
In this situation how can i recover the datafile ...?
SQL> select a.file#,a.name,a.status from v$datafile a,v$tablespace b where a.ts#=b.ts#;
FILE# NAME STATUS
1 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/system01.dbf SYSTEM
*2 /export/home/oracle/logs/bw/undotbs01.dbf RECOVER*
3 /export/home/oracle/flexcube/product/10.2.0/db_1/oradata/bwfcc73/sysaux01.dbf ONLINE
4 /export/home/oracle/datafiles/bw/bwfcc73.dbf ONLINE
5 /export/home/oracle/datafiles/bw/bwfcc73_01.dbf ONLINE
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 4940
Current log sequence 4942Hi,
First of all you must Open a ticket with oracle Support and explore the options
You can use this note to fix it:
RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
You can Upload the following trace file while opening the ticket
SQL>Alter session set tracefile_identifier='corrupt';
SQL>Alter system dump undo header "<new of undo segment in recover status>";
Go to udump
ls -lrt *corrupt*
Upload this trace file
Also upload the alert log fileRegards,
Levi Pereira
Edited by: Levi Pereira on Nov 29, 2011 1:58 PM -
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 AMHi 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 -
RAC instance, trying to recover UNDO datafile, RMAN gives RMAN-06054
Hello all,
This has been a troublesome instance..a quick bit of background. This was created awhile back by someone else, I inherited this 3 mode RAC clusterof instance1.
I'm exporting out of one database (10G) into this instance1 (11G). When I was about to start the import..I found this instance wouldn't start. Turned out no backup had been going on of this empty instance. I backed up the archive logs to tape to free up the FRA..and things fired up.
I began the import, and found a bunch of errors...basically tellling me that I couldn't access one of the undo tablespaces...datafile problems.
I went to look and saw:
SQL> select a.file_name, a.file_id, b.status, a.tablespace_name
2 from dba_data_files a, v$datafile b
3 where a.file_id = b.file#
4 order by a.file_name;
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+DATADG/instance1/datafile/sysaux.270.696702269 2 ONLINE SYSAUX
+DATADG/instance1/datafile/system.263.696702253 1 SYSTEM SYSTEM
+DATADG/instance1/datafile/undotbs1.257.696702279 3 ONLINE UNDOTBS1
+DATADG/instance1/datafile/undotbs2.266.696702305 4 ONLINE UNDOTBS2
+DATADG/instance1/datafile/undotbs3.269.696702313 5 RECOVER UNDOTBS3
+DATADG/instance1/datafile/users.268.696702321 6 ONLINE USERS
+DATADG/instance1/l_data_01_01 11 ONLINE L_DATA_01
+DATADG/instance1/s_data_01_01 7 ONLINE S_DATA_01
+DATADG/instance1/s_data_01_02 8 ONLINE S_DATA_01
+INDEXDG/instance1/l_index_01_01 12 ONLINE L_INDEX_01
+INDEXDG/instance1/s_index_01_01 9 ONLINE S_INDEX_01
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+INDEXDG/instance1/s_index_01_02 10 ONLINE S_INDEX_01
There is is, file #5.
So, I went into RMAN to try to restore/recover:
RMAN> restore datafile 5;
Starting restore at 06-APR-10
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=222 instance=instance1 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: NMO v4.5.0.0
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=222 instance=instance1 device type=DISK
creating datafile file number=5 name=+DATADG/instance1/datafile/undotbs3.269.696702313
restore not done; all files read only, offline, or already restored
Finished restore at 06-APR-10
RMAN> recover datafile 5;
Starting recover at 06-APR-10
using channel ORA_SBT_TAPE_1
using channel ORA_DISK_1
starting media recovery
RMAN-06560: WARNING: backup set with key 343546 will be read 2 times
available space of 8315779 kb needed to avoid reading the backup set multiple times
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/06/2010 14:33:07
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 16016
This is all on ASM, and am a bit of a newb with that. I bascially have no data I'm worried about losing, I just need to get everything 'on the air' so I can import successfully, and let users on this instance. I've set up the backups in GRID now....so, it will be backed up on the future, but what is the quickest, most efficient way to get this UNDO tablespace datafile recovered?
Thank you,
cayenneHemant K Chitale wrote:
SET UNTIL SEQUENCE 27wouldn't work if the Recovery requires Sequence 1 and it is missing.
Hemant K ChitaleOops...meant to have start and set until both to "1"
However, I see what you mean. It seems I cannot find the file on tape.
Since the RAC instance hasn't yet had any data put into it, I'm thinking it might be best to just blow it away, and recreate everything.
Trouble is, I'm a bit new at RAC and ASM. I was thinking the best route might be to use DBCA to remove the database...? Would this not take care of removing all the datafiles from all the ASM instances on the RAC..as well as all the other directories, etc on all 3x nodes?
I've already used the dbca to create templates of this instance, so recreation shouldn't be too difficult (although it will be my first RAC creation)...
Thank you in advance for the advice so far,
cayenne -
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]
nullHi 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 -
Hi All,
OS:windows
DB:XE
I have a situation, due to some unknown reasons one of my datafile has gone into recover status, following is the output:
select name, status from v$datafile;
NAME STATUS
D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM.DBF SYSTEM
D:\ORAHOME_XPRESS10G\ORADATA\XE\UNDO.DBF ONLINE
D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSAUX.DBF ONLINE
D:\ORAHOME_XPRESS10G\ORADATA\XE\USERS.DBF ONLINE
D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST01.DBF ONLINE
D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006 RECOVERwhen i am trying to recover the same file by issuing:
recover datafile 6;
ORA-00283: recovery session canceled due to errors
ORA-01111: name for data file 6 is unknown - rename to correct file
ORA-01110: data file 6: 'D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006'
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01111: name for data file 6 is unknown - rename to correct file
ORA-01110: data file 6: 'D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006'Kindly help.
BR
Sphinx$phinx19 wrote:
Hi ,
I am not sure how did this happen files do not spontaneously go missing.
but the file is present the OS level.error message would indicate that Oracle disagrees with your assessment.
do you have a recent RMAN backup of this DB? -
My database 10.1 is running in noarchivelog mode and
and there was no rman backup
My datafile was lost and I want to restore a copy of the lost file but i have the following error when restarting the database
ORA-01203:, wrong incarnation of this file - wrong creation SCN
Any help?
RegardsIn this case jus copy the datafile back to its original directory
startup mount
make the corrup[ted datafile offline
alter datafile '/.dbf' offline;
open the database
alter database open;
make the tablespace of the datafile offline
alter tablespace <tablespacename of the datafile> offline;
recover the resored datafile
recover datafile 'filename'
make the tablespace onlien
alter tablespace <tablespacename of the datafile> online;
This will work but
Let us wait from our experts
Message was edited by:
Maran.E
Message was edited by:
Maran.E -
How to Recover RPD in 10g Urgent
Hi Gurus,
I was using my OBIEE 10g RPD and i created some columns and i click on Check Global consistence it work does not have any errors. Then when i click on Save button the RPD is not responding. I dont have any backup of the Code and today is the release. I am not sure how to recover it. Please help me its urgent.
Thanks a Lot
Regards
@liHi,
First of all you must Open a ticket with oracle Support and explore the options
You can use this note to fix it:
RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
You can Upload the following trace file while opening the ticket
SQL>Alter session set tracefile_identifier='corrupt';
SQL>Alter system dump undo header "<new of undo segment in recover status>";
Go to udump
ls -lrt *corrupt*
Upload this trace file
Also upload the alert log fileRegards,
Levi Pereira
Edited by: Levi Pereira on Nov 29, 2011 1:58 PM
Maybe you are looking for
-
HP LaserJet Pro 200 color M251nw Printing Out of Alignment
Images and color text print out of alignment. The issue started the first day we had the print. It has taken me a while to get into diagnosing it but I have tried the following: I have tried replacing the toner cartridges with new ones (expensive).
-
My IPhone 4 will not charge sine the update.
First it started to just die really quickly not it will not charge past 2%.
-
Cursor lagging when detecting networks
My mouse cursor is very very laggy when I turn on my airport and while Leopard is detecting networks. Sometimes, if the wifi network signal is weak, when I mouse over the network with the weak signal, it lags more (during 5 sec or something). It is q
-
DRM Import, Action Script
Hi All, I am new to Hyperion DRM 11.1.2, I am confused about concepts such as metadata and data still not able to understand difference between them. What I understand is all Versions hold is set of independent hierarchies which have nodes and their
-
KLH1 - Which table holds the data?
Hi, I'm looking for the table that holds the "Activity Type Groups" that are created under transaction KLH1. Any ideas where I can find this info? Thanks,