Undo tablespace to recover without backup
hi,
I offlined one of my datafile containing in undo tablespace. Now my database is in mount stage when I tried to open the database it gives me the following error:
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-00376: file 17 cannot be read at this time
ORA-01110: data file 17: '/misc/live_tbs/undotbstest.dbf'
My database is in noarchive mode plus I dont have a backup.
Thank you for your cooperation.
Regards,
Adnan Hamdus Salam.
adnan wrote:
hi,
I offlined one of my datafile containing in undo tablespace. Now my database is in mount stage when I tried to open the database it gives me the following error:
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-00376: file 17 cannot be read at this time
ORA-01110: data file 17: '/misc/live_tbs/undotbstest.dbf'
My database is in noarchive mode plus I dont have a backup.
Thank you for your cooperation.
Regards,
Adnan Hamdus Salam.If your database`s last shutdown was clean(SHUTDOWN IMMEDIATE) then you can open database as
1) Backup current database(take cold backup)
2) if you use pfile then edit it and UNDO_MANAGEMENT=MANUAL also if you use spfile then ALTER SYSTEM SET UNDO_MANAGEMENT=MANUAL SCOPE=SPFILE then
3)SHUTDOWN IMMEDIATE and STARTUP MOUNT
4) Now ALTER DATABASE DATAFILE '/misc/live_tbs/undotbstest.dbf' OFFLINE DROP
5) ALTER DATABASE OPEN
After that you can create new undo tablespace and set UNDO_MANAGEMENT=AUTO
Similar Messages
-
Undo tablespace recovery from RMAN backup
Hi,
Lets's assume we have RMAN backup and archivelog backups, and now
my undo tablespace's disk crashed ,how can i recover?
Can i recover while database is up?
Thanks,
Kumar.to recover UNDO tablespace from RMAN backup you must shutdown the database and start it in the MOUNT state to recover the missing files as follows
rman target /
RUN
STARTUP MOUNT;
ALLOCATE CHANNEL ch3 TYPE Disk;
RESTORE datafile 'c:\u01\prod3\undo01.dbf';
RECOVER datafile 'c:\u01\prod3\undo01.dbf';
ALTER DATABASE OPEN;
RELEASE CHANNEL ch3;
hope this will help you -
How to recover without backup?
My ThinkPad T43 got virus, I formated it and installed Windows XP Professional. Then try to recover it to manufactury status, but can't install the Rescue and Recovery file. It says " can not find the required file for installing Rescue and Recovery, can't continue. Make sure the correct .tvt file is in the same folder where the installing package is located."
Please help! by the way, I don't have a backup file.Hi imjscn,
I don't know what you are trying to establish here nonetheless RnR from Windows does not put thinkpad to factory settings. Only preboot RnR has this ability. If you did not delete the recovery partition wile formatting, you can subsequently recover it through following method:- http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-54483
Hope it helps.
Maliha (I don't work for lenovo)
ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
IdeaPad: U350
Apple:- Macbook Air [Snow Leopard]
Did someone help you today? Compliment them with a Kudos!
Was your question answered today? Mark it as an Accepted Solution!
Lenovo Deutsche Community Lenovo Comunidad en Español
Visit my YouTube Channel -
After minimal image restore, I didn't back up my data. Now I wanna get my photos back, there has to be another way, otherwise I lose my memories :/
Hi imjscn,
I don't know what you are trying to establish here nonetheless RnR from Windows does not put thinkpad to factory settings. Only preboot RnR has this ability. If you did not delete the recovery partition wile formatting, you can subsequently recover it through following method:- http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-54483
Hope it helps.
Maliha (I don't work for lenovo)
ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
IdeaPad: U350
Apple:- Macbook Air [Snow Leopard]
Did someone help you today? Compliment them with a Kudos!
Was your question answered today? Mark it as an Accepted Solution!
Lenovo Deutsche Community Lenovo Comunidad en Español
Visit my YouTube Channel -
Recover database after lossing system tablespace without backup
Hi
My database fail because of hardware failure and then system tablespace corrupted. other tablespaces and control files are OK. Can I recover my database without backup of system tablespace?hi,
if you have not taken the physical backup (inconsistent or consistent) then you can not recocver it. you need to have some backup up strategy with RMAN or Manual. Do you have hardware (Disk) Mirroring to cover the media failure??
Atleast if you have the logical backups?? then create the database and import it..
Thanks
--Raman. -
Undo tablespace currupt and no clean backup
Hello,
We are facing critical problem with database. We have not any clean backup and database in no archive log mode. Suddenly database is shutdown and when we are trying to open database it is giving error:-
ORA-01172: recovery of thread 1 stuck at block 350230 of file 3
ORA-01151: use media recovery to recover block, restore backup if needed
File 3 is Undo file.
Is there any way to open database?
Thanks in advance and please reply us ASAP.1) First, follow Howardjr recomendations and allways do a backup first.
2) Open a SR with Metalink to help with your problem
3) If you want to try something here are some options, but never skip the point 1 previously explained.
Well, you have two possible scenarios, one supported other unsupported.
This is an inconsistency issue..
Solution
============
*1]Supported Solution:*
Restore-Incomplete recovery the DB from backup or rebuild the DB using an export dump.
*2]Internal (Not-supported) Solution:*
Update undo$ to change the status$ = 1 (undo segment is dropped) for the corrupted undo segment.
Caution:
This is NOT a supported solution. Therefore ensure that a full database cold backup is taken bbefore doing this data-dictionary patching.
Steps to do the patching:
1) First ensure that a full database backup is taken.
2) Modify/add the following parameters in initSID.ora:
undo_management=manual
job_queue_processes =0
aq_tm_processes=0
systemtrig_enabled=false
3) Shutdown
4) Startup restrict pfile
5) set transaction use rollback segment system;
if set transaction above fails, then not to proceed further.
6) Update undo$ to change the status$ = 1 (undo segment is dropped) for
the corrupt undo segment.
update undo$ set status$ = 1
where us# = <'undo segment id'>
and ts#=<'tablespace id'>
and file#=<'file id'>
and block# = <'block id'>
and status$=2;
or
update undo$ set status$ = 1
where name = <'corrupt undo segment name'>
and status$=2;
This will update only 1 row. Rollback the update if more than 1 row is updated.
7) Commit;
8) Shutdown abort
9) Set back in init.ora parameters modified in Step 2.
Startup restrict
10) Drop the corrupt undo tablespace using command:
drop tablespace <corrupt undo tablespace name> including contents;
11) Create new undo tablespace.
In initSID.ora, set undo_management=auto, undo_tablespace=<'new undo tablespace name'>
Restart the instance.
12) Take a backup.
*Parameter offlinerollback_segments is not useful:*
Trying to drop the corrupt undo segment or the undo tablespace by setting parameters undo management=manual and offline_rollback_segments in initSID.ora will fails with error: ORA-00600 [ktssdrp1].
To see the information about the corrupt block use this query:
select us#, name, ts#, file#, block#,status$ from undo$
where (ts#, file#, block#) not in
(select ts#, file#, block# from seg$ where type# in (1,10)) and status$ > 1;I had the same problem some time ago, and the unsupported solution works great, but never try it without a full backup first.
Cheers,
Francisco Munoz Alvarez
http://oraclenz.wordpress.com
Edited by: F.Munoz Alvarez on Nov 30, 2012 11:03 AM -
Recover Database without backup
Hi Joel,
I have read most of your postings regarding database recovery, but still encounter problems.
The background is: Our NT server was crashed last weekend, due to harddisk failure. We are able to retrieve back all the datafile, control file, everything in tact. But after recovery, the OS fails to recognize the ORacle and require reinstallation. We don't know how to re-associate this new instance of Oracle with the old databases that we have created.
I did create a new DB in the new instance, copy back the datafiles, control files to replace it, and run the recreate control file command that you have suggested. At the very final step, when doing recovery, it shows this message:
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ELOS\SYSTEM01.DBF'
---tried to do a recovery as suggested:
SQL> recover automatic database;
ORA-00279: change 3329263 generated at 04/19/2004 12:00:26 needed for thread 1
ORA-00289: suggestion : D:\ORACLE\ORA90\RDBMS\ARC00061.001
ORA-00280: change 3329263 for thread 1 is in sequence #61
ORA-00278: log file 'D:\ORACLE\ORA90\RDBMS\ARC00061.001' no longer needed for
this recovery
ORA-00308: cannot open archived log 'D:\ORACLE\ORA90\RDBMS\ARC00061.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
---Tried a search on the machine, but failed to find such file.
How can I proceed from here?
Thanks and regards,
Suhandyif the datafile does not contains tables that are needed for some application , or not belong to system,sysaux tablespace , offline datafile can be some solution.
To recover a datafile without backup you need alll the archives from the date that the datafile is created.
Please make a procedure for backup
A sample backup script can be founded http://mikegeorgiou.blogspot.com/2007/04/user-manage-backup-9i.html -
Open XE without UNDO tablespace
Hy
I have an oracle xe installation on linux ubuntu that does not start, it arrives in MOUNT status.
When i try to open i get the following messages:
ORA-01172: recovery of thread 1 stuck at block 153 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
Unfortunately it is in NOARCHIVELOG mode.
Can i open it with no UNDO tablespace, and the add a new datafile to the UNDO tablespace?
Thanks
LorenzoHere is alert log content: the last shutdown was not clean
Here there is not the shutdown log...
Tue Mar 9 17:42:29 2010
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Tue Mar 9 17:42:31 2010
ALTER DATABASE MOUNT
Tue Mar 9 17:42:35 2010
Setting recovery target incarnation to 2
Tue Mar 9 17:42:35 2010
Successful mount of redo thread 1, with mount id 2594312135
Tue Mar 9 17:42:35 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Tue Mar 9 17:42:35 2010
ALTER DATABASE OPEN
Tue Mar 9 17:42:35 2010
Beginning crash recovery of 1 threads
Tue Mar 9 17:42:35 2010
Started redo scan
Tue Mar 9 17:42:36 2010
Completed redo scan
1264 redo blocks read, 136 data blocks need recovery
Tue Mar 9 17:42:36 2010
Started redo application at
Thread 1: logseq 175, block 2, scn 6715755
Tue Mar 9 17:42:36 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 175 Reading mem 0
Mem# 0 errs 0: /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_2_5dm8sg16_.log
RECOVERY OF THREAD 1 STUCK AT BLOCK 153 OF FILE 2
Tue Mar 9 17:42:37 2010
Aborting crash recovery due to error 1172
Tue Mar 9 17:42:37 2010
Errors in file /usr/lib/oracle/xe/app/oracle/admin/XE/udump/xe_ora_4250.trc:
ORA-01172: recovery of thread 1 stuck at block 153 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
ORA-1172 signalled during: ALTER DATABASE OPEN... -
Backup/restore of undo tablespace
Hi,
from backup basic doc:
"You should not have to concern yourself with undo segments or manage
them directly as part of your backup and recovery process. "
Does this mean that undo tablespaces need not be or should not be backed up? And in the same vein, there is no point in restoring them as well. Right?
Thanks,
Raghu.Agreed, but what if a user drop a table and you can not live without it, then you need to perform incomplete recovery and it requires you to restore all the datafiles including undo datafile. And if you do not include the undo tablespace in your backup stratigies, then you run out of options. Anyways, In any case , I would strictly include undo tablespace in my backup policy.
hare krishna
Alok -
Urgent help : Need to recover a database without backup and archivelogs
Hi,
We are in urgent need to recover a database without backup and archivelogs
one datafile seems corrupted
SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
thread 1
ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
longer needed for this recovery
ORA-00308: cannot open archived log
'/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'N Gasparotto wrote:
bsac14 wrote:
my database is in no archive mode
can you please tell how to restore
yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
I just need to bring the database up,no need any exact data
I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
Nicolas.Hi,
How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
Regards ..... -
How to recover undo tablespace in 9i
How can i recover undo tablespace 9i.Can any provide step by step recovery process
Doc ID 94114.1 on Metalink might be of interest to you
-
Executing transaction without active Undo Tablespace
Hi,
DB: 9.2.0.5
OS : AIX 5.2
I have opened my standby database in READ ONLY mode.I have undo tablespace.It is live setup and users are checking data with standby database.
SQL> show parameter aq_tm
NAME TYPE VALUE
aq_tm_processes integer 0
SQL>
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 10800
undo_suppress_errors boolean FALSE
undo_tablespace string UNDOTBS1
SQL>
My standby alertlog getting warning message as
Mon Dec 13 12:16:39 2010
***Warning - Executing transaction without active Undo Tablespace
Mon Dec 13 12:27:37 2010
***Warning - Executing transaction without active Undo Tablespace
Mon Dec 13 12:28:03 2010
***Warning - Executing transaction without active Undo Tablespace
Mon Dec 13 12:28:17 2010
***Warning - Executing transaction without active Undo Tablespace
Mon Dec 13 12:34:43 2010
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
Mon Dec 13 12:35:22 2010
***Warning - Executing transaction without active Undo Tablespace
***Warning - Executing transaction without active Undo Tablespace
Please help me.
Thanks,
sunandHi Forstmann,
Thanks for your quick reply.
I have temp tablespace and see the below output.
SQL> select name from v$tempfile;
no rows selected
Which means i do not have any temp file to temp tablespace.
How do i can create tempfile in standby?.In what following states i can create,
1) MOUNT ( Recovery mode canceled)
2) READ ONLY
3) opened after FAILOVER
4) At any stage i can
My client is planning to check the DR server by doing FAILOVER.After that will create standby database again from primary.
Thanks,
Sunand -
Hi Team/champions,
I am confused in RMAN full DB backup why UNDO tablespce is included even we include the archive logs also.
in Short ?
why UNDO tablespace backup is required while taking RMAN backup ?
Regards,
Shitesh Shuklaif I dont want to include the UNDO tablespce in my backup
what if I took only database files backup excluding TEMP n UNDONOT an option. You have to include UNDO. 11g has optimization for backing up an Undo tablespace.
In 10gR2 what you could do is
1. Create a New Undo Tablespace
2. Switch to the new Undo Tablespace
3. verify that the Old Undo Tablespace is no longer in use -- confirm that there are no active transactions in undo segments in it
4. drop the old Undo tablespace
5. Run your RMAN Backup
You run the risks of
a. Waiting a long time at step 3
b. ORA-1555s for users after you drop the Undo tablespace in step 4.
Hemant K Chitale
http://hemantoracledba.blogspot.com -
1. With just ONE inattentive sweep of my finger one page of my note disappered. Further more, the same page in my iPad was deleted automatically too! How could this happen? Is there any way it can be recovered without using the backup feature from iCloud? The data is vey important to me?
2. I havn't connect the power code to my iPad yet, the backup copy in the iClout was before the accident as I checked in iPad. Is there any way that I could open my notes in iCloud backup so that I can copy the missing page and move back to my iPad and iPhone?
Thanks a lot for any help!
XueyuSorry, no. The only way to restore this note is to restore from a backup that contains it.
-
how to recover lost data in i phone 4 without backup and how to activate i phone 4 without sim after update to ios 5.1.1
Not possible in both cases.
Maybe you are looking for
-
Hai experts, I have created one java webservice using NWDS and it is working fine in all environments it is deployed. I want to publish this webservice. Can anyone explain the way for publish this webserice as like a third party webservice. Advance
-
Improve sound on saved project?
Thanks for great help from skalicki and David Harbsmeier. I saved my project before correcting the sound variation. Can this be fixed?
-
LWAP PoE settings when using power injector
We have 3500 series access points connected to a 5508 WLC. What power over ethernet option should I select for an AP thats using a power injector? Prestandard State or Power Injector State?
-
EFIstub, kernel command line parameters
Hello, I read this post and this post, so I'd like to know about the kernel option to load the command line from a file, rather than write it direclty to the NVRAM, the so-called linux.conf, that should reside in the same kernel path. Is there with t
-
Using JHS 'Duplicate Row' Feature In Form
I am having a minor set back in implementing the JHeadstart duplicateRow() method in a Form (opposed to the default Table-view). In table-view the duplicateRow() method of the JhsCollectionModel works flawlessly with items that are set to Update Allo