Question on recovery of redolog file
hii,
how to open database,
when block corruption error in redolog file.
there are two archive redo log groups.
and database in non archive mode.
thank's in advance
I think this is a very difficult situation. You cannot proceed in opening your database as your redo log is corrupt (current I guess :( ). Your database is no noarchivelog mode, which makes it more diffidcult.
When you say you have two archive log groups, do you mean redo log groups?
Are those groups multiplexed?
In this case you can still recover from this error by dropping the corrupt redo log file and using the valid surviving redo log member.
If you have only two redo log groups, not multiplexed members an no archivelog mode, then I suggest you to dump the contents of your redo log file and detect up to which point you still can find a valid SCN, so can execute an incomplete recover until that scn.
Procedure to dump the contents of your redo log file is:
alter system dump logfile '/xxxx';
This will create a text file with the contents from your redo log file, once you have it you can check up to whic valid SCN you can get. Next perform an incompete recover until that found SCN.
~ Madrid.
Similar Messages
-
Instance fast recovery and redolog file size
Hi,
Could you please explain me how size of redolog file helps to recover instance faster?
Thanks
KSGVery quickly I shall try to tell.
The answer lies in the relation of the number of dirty buffers needed for the recovery. The number of dirty buffers needed for recovery are limited by the checkpoint process when DBWR is pinged to write few of them to the datafile. So with a log switch you are going to hit a checkpoint. So if the size of the log files is going to be smaller, the checkpoint frequency would be large thus making the buffers being written to the data fikles more aggressively and limiting the time for the instance reocvery. The biger you make them, the more longer it would take for teh checkpoint to happen and thus in the case of instance recovery, it would bemore time required. That said, using a small sized log file would also lead to "cehckpoint inicomplete" error as well since it may happen that DBWR won't be able to match with the speed of the checkpoint event being generated and its own writing speed,.
HTH
Aman.... -
All redolog files lost in oracle 8i
Hi,
i had a disk corruption where i lost all redolog files and my db was down how i can make db up.
workaround:
in os level i manually created the lost redo log files (same path what was earlier):
sql>startup mount;
sql>recover database untill cancel;
sql>alter database open resetlogs;
is it works ?Hi,
i foolowed what you said .removing the files you manually created,
SQL> startup mount;
ORACLE instance started.
Total System Global Area 488082184 bytes
Fixed Size 731912 bytes
Variable Size 268435456 bytes
Database Buffers 218103808 bytes
Redo Buffers 811008 bytes
Database mounted.
SQL> recover database until cancel;
ORA-00279: change 1578125068 generated at 03/06/2009 06:22:35 needed for thread
1
ORA-00289: suggestion : /oratranslog/archive/1_34930.dbf
ORA-00280: change 1578125068 for thread 1 is in sequence #34930
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/oratranslog/archive/1_34930.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle1/oradata/voipdb/system01.dbf'
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle1/oradata/voipdb/system01.dbf'
what shall i do next -
Increase redolog file size - Merits and Demerits
Hi
Currently, we are in 9.2.0.7.0 oralce version and having redolog file sizes (Mirrlog and origlog) of 100MB.
Now we are planning to increase the size to 200 MB so that we could reduce the number of archive log files.
Can you please let me know what would be the demerits of bigger size in redolog files?
And also let me know the step by step process how to increase the size of redolog files?
Thank you> I understand what you are saying but in our situation our backup policy is one time online backup and one time offline backup in a week.....Online backup is on Thu and Offline backup is on Sunday.......
>
> In case of system crash if needed we would need to apply archive log files; If we have lesser number of archive logs; recover database would be faster.......correct me if am wrong.
You are wrong.
Ok, let's see an example:
You took your backup on sunday midnight and your DB needs recovery on wednesday.
Meanwhile you created say, 800 M worth of redolog data per day.
That sums up to (monday, tuesday, wednesday) 3x800 M = 2400 M that need to be recovered.
Going with your current setup (100 M redolog size) the largest archivelog file can be 100 M, makes 24 files to restore and recover.
After changing the redologsize to, say 200 M, you only have 12 files to restore and recover.
But know what? It's still 2400 M of data.
Since you will likely not put every archivelog file to its own tape, but rather change the tape each day (just an assumption) or maybe don't use manually operated tapes at all, the little latency overhead in handling tapes doesn't count in to your overall recovery time.
All in all you still need to feed the same amount of data to the recovery process.
Apart from this:
if you're discussing short recovery times, than you'd never perform just two data backups a week.
You'd make online backups every day - maybe incremental ones.
You' d use the flashback recovery area.
An additional thing often overlooked: in many cases the ultimate performance killer for a restore/recovery scenario is not the technology in use.
It's that when the case is there, the DBA is not sure anymore, what do to.
He wonders:
Where the good backups are.
How to get them back from the 3rd party backup tool.
How to check them.
Where to get a different storage system because the original one is broken.
How to figure out what needs recovery
How the tools work
By ensuring that you always master the theory and the how to of restore and recovery - that's how you make it quick and painless (and dataloss-less).
regards,
Lars -
When are Redolog files reset to zero size? Manual reset possible?
As far as I know redolog files contain all stuff which is changed during operation of an Oracle database.
However I wonder if there are events when these files are AUTOMATICALLY reset to zero.
I guess it is when I do a full offline backup.
Is this correct?
Are there any other events when this happens automatically ?
How can I manually reset/initialize Redolog files to an empty state?
PeterWhat did you mean empty redo logfile?
if you mean zero size on redolog files....
We can not reset redo log files to empty (zero).
I guess it is when I do a full offline backup.That mean your database offline... no operation, so no redo log generate. but not mean you can make redo log empty anyway...
If you mean redo log file no need for instance recovery.
redo log groups have "INACTIVE" status -> is no longer needed for instance recovery. It may be in use for media recovery. It might or might not be archived.
check from v$log
UNUSED - Online redo log has never been written to. This is the state of a redo log that was just added, or just after a RESETLOGS, when it is not the current redo log.
CURRENT - Current redo log. This implies that the redo log is active. The redo log could be open or closed.
ACTIVE - Log is active but is not the current log. It is needed for crash recovery. It may be in use for block recovery. It may or may not be archived.
CLEARING - Log is being re-created as an empty log after an ALTER DATABASE CLEAR LOGFILE statement. After the log is cleared, the status changes to UNUSED.
CLEARING_CURRENT - Current log is being cleared of a closed thread. The log can stay in this status if there is some failure in the switch such as an I/O error writing the new log header.
INACTIVE - Log is no longer needed for instance recovery. It may be in use for media recovery. It might or might not be archived.;) -
Restore with brtools - need more archive redolog files
Good day
I will make online backup my oracle database with brtools
(Oracle 10g, BRBACKUP 7.00 (39))
brbackup -c -d util_file_online -t online -m all -u /
bdztoexw anf 2009-01-23 15.27.40 ; 2009-01-23 16.47.21 ; 1 ............... 57 56 0 17671 226215105 17676 226268039 ALL
online util_file_online -
7.00 (39)
BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38
BR0232I 57 of 57 files saved by backup utility
BR0230I Backup utility called successfully
BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40
BR0340I Switching to next online redo log file for database instance VPP ...
BR0321I Switch to next online redo log file for database instance VPP successful
BR0117I ARCHIVE LOG LIST after backup for database instance VPP
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/VPP/oraarch/VPParch
Archive format %t_%s_%r.dbf
Oldest online log sequence 17673
Next log sequence to archive 17676
Current log sequence 17676 SCN: 226268039
Database block size 8192 Thread: 1
Current system change number 226268041 ResetId: 603135330
After brbackup I'll do "brarchive" in the same script:
brarchive -c -d util_file -sd -u / > $br_out_file
#ARCHIVE.. 17670 /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf ; 2009-01-23 15.10.36 ; 43450368 226202112 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17671 /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf ; 2009-01-23 15.36.12 ; 43430912 226215105 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17672 /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf ; 2009-01-23 15.40.27 ; 43515904 226227928 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17673 /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf ; 2009-01-23 15.41.06 ; 43729408 226238784 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17674 /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf ; 2009-01-23 16.06.06 ; 43450368 226250315 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17675 /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf ; 2009-01-23 16.43.40 ; 13243904 226263012 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
VPP util_file adztolzu svd 2009-01-23 16.47.22 ; 2009-01-23 16.54.47 ; 1 ........... 17670 17675 0 0 ------- 7.00 (39) @0603135330
BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11
BR0232I 6 of 6 files saved by backup utility
BR0230I Backup utility called successfully
BR0016I 6 offline redo log files processed, total size 220.128 MB
Then I take tape with this data and try restore only from this tape
all datafiles and relevant archive redologs files (17670-17675) restored without errors
but in the end ERROR occurred
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'
ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread
1
ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf
ORA-00280: change 226268039 for thread 1 is in sequence #17676
My online backup ended, before switch to redolog 17676
Why I need this file? I think files (17670-17675) should be enough?
Besides, the change 226268039 generated exactly at moment Switching to next online redo.
Can I try open database regardless of this error?
Thank you for your prompt response
Andrey Timofeev
Edited by: Andrey Timofeev on Jul 21, 2009 3:52 PM<P>Good day, sorry for TAG. Once more time. <BR>
I will make online backup my oracle database with brtools<BR>
(Oracle 10g, BRBACKUP 7.00 (39))</P>
<P>brbackup -c -d util_file_online -t online -m all -u /</P>
<HR>
<P>bdztoexw anf 2009-01-23 15.27.40 2009-01-23 16.47.21 1 ............... 57 56 0 17671 226215105 17676 226268039 ALL<BR>
online util_file_online </P>
<HR>
<P> BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38</P>
<HR>
<BR>
<P>BR0232I 57 of 57 files saved by backup utility<BR>
BR0230I Backup utility called successfully</P>
<P>BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40<BR>
BR0340I Switching to next online redo log file for database instance VPP ...<BR>
BR0321I Switch to next online redo log file for database instance VPP successful</P>
<P>BR0117I ARCHIVE LOG LIST after backup for database instance VPP</P>
<P>Parameter Value</P>
<P>Database log mode Archive Mode<BR>
Automatic archival Enabled<BR>
Archive destination /oracle/VPP/oraarch/VPParch<BR>
Archive format %t_%s_%r.dbf<BR>
Oldest online log sequence 17673<BR>
Next log sequence to archive 17676<BR>
Current log sequence 17676 SCN: 226268039<BR>
Database block size 8192 Thread: 1<BR>
Current system change number 226268041 ResetId: 603135330</P>
<HR>
<BR>
<P>After brbackup I'll do "brarchive" in the same script:</P>
<P>brarchive -c -d util_file -sd -u / > $br_out_file</P>
<HR>
<P>#ARCHIVE.. 17670 /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf 2009-01-23 15.10.36 43450368 226202112 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17671 /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf 2009-01-23 15.36.12 43430912 226215105 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17672 /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf 2009-01-23 15.40.27 43515904 226227928 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17673 /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf 2009-01-23 15.41.06 43729408 226238784 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17674 /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf 2009-01-23 16.06.06 43450368 226250315 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17675 /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf 2009-01-23 16.43.40 13243904 226263012 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
VPP util_file adztolzu svd 2009-01-23 16.47.22 2009-01-23 16.54.47 1 ........... 17670 17675 0 0 </P>
<HR>
<P>#</P>
<HR>
<P>BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11<BR>
BR0232I 6 of 6 files saved by backup utility<BR>
BR0230I Backup utility called successfully<BR>
BR0016I 6 offline redo log files processed, total size 220.128 MB</P>
<HR>
<P>Then I take tape with this data and try restore only from this tape<BR>
all datafiles and relevant archive redologs files (17670-17675) restored without errors <BR>
but in the end ERROR occurred</P>
<HR>
<BR>
<P>ERROR at line 1:<BR>
ORA-01195: online backup of file 1 needs more recovery to be consistent<BR>
ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'</P>
<P>ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread<BR>
1<BR>
ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf<BR>
ORA-00280: change 226268039 for thread 1 is in sequence #17676</P>
<HR>
<BR>
<P>My online backup ended, before swith to redolog 17676<BR>
Why I need this file? I think files (17670-17675) should be enough?</P>
<P>Besides, the cange 226268039 generated exactly at moment Switching to next online redo.<BR>
Can I try open database regardless of this error?</P>
<BR>
<P>Thank you for your prompt response<BR>
Andrey Timofeev</P>
Edited by: Andrey Timofeev on Jul 21, 2009 4:53 PM
Edited by: Andrey Timofeev on Jul 21, 2009 4:54 PM -
Resize online redolog files, make RMAN obsolute backups as usable
Dear Guru's,
I have following doubts, please clarify me on the same. thanks in advance
1. why can not we resize online redolog files instead of re-creating the same with large size and remove the older onces.
2. How can we make RMAN obsolute backups as usable ?
Thanks.vasuoracledba wrote:
Hi Aman,
Thanks for replay...
Regarding RMAN, plz look into below issue.
I configured RMAN backup recovery window of 15 days. after 15 days the backupsets which were older then 15 days are obsolute. now i have to restore the backup of 15 days older(obsolute backupsets) backupsets to the database. but when i do restore it defaulty takes latest backupsets other then obsolute onces.
how do i restore older(obsolute backupsets) backupsets to the database?
If i used the CHANGE cmd, how to do that.
RMAN> change backupset tag weekly_backup_20052013_02:45 _______________
do i make latest backupsets unavaliable to restore the older once....
RMAN> change backupset tag weekly_backup_20062013_02:00;
Thanks in advance...........
Obsolete backups are always usable, until you delete them with DELETE OBSOLETE.
If you want to restore from a backup other than the latest, use an until clause:
run {set until time = 'sysdate - 15';
restore database;} -
Offline redolog file are delete in Oracle 11
Hi
We recently upgrade our Oracle release from Oracle 10.2.0.2 to Oracle Database 11g Release 2.
I was running the process to table compression with BRSPACE 7.20 using the command:
brspace -u / -p /oracle/LUK/112_64/dbs/reorgEXCL.tab -f tbreorg -a reorg -o SAPR3 -s PSAPLUK -t allsel -n PSAPLUKCOMP -c ctab u2013SCT
The process finish ok but I have a problem with Offline redolog, it are generated succesfully but it are delete after a short time, it disappear from the filesystem, I donot understand this behavior, the delete of archive log is not a deliberate configuration.
If I execute the archive log backup I allways obtain a lot of warnings with redolog file not found:
Offline redolog file '/oracle/XXX/saparch/XXXarch1_11155_666372933.dbf' not found
After compression process the Offline redologs files are being delete too.
I need to know the reason for this behavior, may be a wrong parameter in our database?
It is a normal situation with Oracle 11?
What happen with the Database and backup/restore strategy without offline redologs?
Next week I need to upgrade the oracle release in our productive system, in this system the archive and database backup are very important and I need to solve this issue or fix it.
Please help me to solve this problem.
Thanks in advanced,
OMMHi,
Offline redolog file '/oracle/XXX/saparch/XXXarch1_11155_666372933.dbf' not found
Such messages are only seen if some one has deleted/moved the complained offline redo log files form the Archive Log destination.
Please ensure that if someone has moved/deleted the offline redo log files or not ? It may be done to accommodate space in Archive log destination, as the reorganization/compression activities will generate more archive logs.
Also try to perform the same activity again and monitor the archive log destination directory. As i think, such "Offline redo log file deletion after Table Compressions activity done by BRSAPCE " behavior is not possible at all.
What happen with the Database and backup/restore strategy without offline redologs?
Offline Redo log files must require in Database media Recovery process. Without it only Point-in-time recovery is possible.
Regards,
Bhavik G. Shroff -
Hi
I think standby redolog files are not required if I open the physical standby database in read/write mode by using flashback database techonology. Kindly let me know if I am wrong.sat1980 wrote:
Hi,
Thanks for coming back on this, sorry for confusing with my question, I will re-frame my question as
"I think standby redolog files are not required on PRODUCTION, if I open the physical standby database in read/write mode by using flashback database techonology", basically I wanted to know that standby redologs on production and standby are required only when switch over are switch back are done.If you would open(using any technology wether flashback or without it) your physical standby database (keeping production also in open mode) that means both these database are now independent and redo logs(archive logs) of any of the database cannot be applied to each other. Hence there would not be any use of standby redo log files.
Standby redo logs are used to get the redo files(data) on the standby database from the primary even if the redo log is not archived on primary. Hence if you want that feature in your standby database it is necessary to have standby redo log files.
Yes standby redo log files are not required for production but oracle recommends it to make smooth switch over.
Regards
Anurag -
Can change the size of the redolog files while the database is running.
How the size of the redolog files will hurt your database performance ?
Can change the size of the redolog files while the database is running in oracle 9i. ?
What will be its impact on the standby database ?
Thanks in advance.redo logs that are too small can cause waits on the switches for heavily utilized systems. logs that are too large are a pain the a$$ during recovery. check v$loghist to see how often switches occur - an average of 20 minutes is good; if you have many switches happening back-to-back, that's a bad sign.
you can change the sizes while the db is up. choose a redo group that is INACTIVE, drop it, delete the files, and recreate it with larger files. then force a switch ("alter system switch logfile;"), and do another inactive group. I actually prefer to do as many switches as necessary to make the new group active so I can verify that I didn't screw up before dropping the next group.
not sure of impact on standby database. -
Restore hot online backup without redolog file
Dear
I had taken a online backup (begin / end tablespace) of all datafiles. Before end backup I had taken backup of current controlfile with O/S command.
Now, I want to restore this backup.
I have only :
datafiles (taken with begin / end backup)
controlfile (taken during begin / end backup)
Archive Log (from backup to up till now)
What steps I have to take for recovery with missing redolog files.
regards;Thanks dears its worked
SQL> startup mount
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 96469696 bytes
Database Buffers 184549376 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> recover database until cancel using backup controlfile
ORA-00279: change 643381 generated at 03/26/2009 15:59:06 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00008_0682335852.001
ORA-00280: change 643381 for thread 1 is in sequence #8
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 644479 generated at 03/26/2009 16:01:31 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00009_0682335852.001
ORA-00280: change 644479 for thread 1 is in sequence #9
ORA-00278: log file 'E:\ORACLE\ARCHIVE\ARC00008_0682335852.001' no longer
needed for this recovery
ORA-00308: cannot open archived log 'E:\ORACLE\ARCHIVE\ARC00009_0682335852.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.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
*Database altered.
*----------------------------- -
Recovery of deleted file in KM
Hi everybody!
I´ve got a question about the recovery of single files which were deleted in a KM repository or a collaboration room. How can one recover such a file? There must be some way.
ChristianHi Christian,
I don´t believe this
Informatics isn't a matter of faith
Believe it or not, it's a fact.
Is there any?
In general: No. But keep in mind how different KM repositories can be. As far as CM (DB) repositories are concerned, the DB backup is the only way. For other repositories / repository kinds other rules may hold (for filesystem repositories, filesystem backups may do the work, even if metadata would be lost which is stored in some DB).
Hope it helps
Detlev -
dear friends,
i have one confusion please help me to clear it out,When the database is in NOARCHIVE MODE,does redolog files get archived? bcoz when i run the query select * from v$log and when i tried to delete active redolog group,i got error and redolog group needed for instance recovery.so,pls help.your help appreciated,thanks.
os:5.7rhel
db:10.2.0.3when any redolog file got deleted at os level irrespective of redolog file status whether it is active or inactive or current,users continue to work on database until log switch occurs.when log switch occurs and oracle comes to the dropped log file to write (dropped at os leve),oracle didnt find the dropped logfile at os level,oracle throws an error and users get disconnected from the database.
suppose we dropped a current logfile from os level,when logswitch occurs this dropped logfile
(status= current,at the time we dropped) becomes inactive redolog file till oracle comes to overwrite it.
we recover the inactive redolog file as shown below
sql>startup mount;
sql>alter database clear logfile group 1; (if logfile belongs to group 1)
sql>alter database open;
am i right? please correct me if i m wrong. -
my redolog file of group 1 is deleted ,i am not ablle to drop it
as it is current logfile
I tried This
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;
ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1
ERROR at line 1:
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: 'G:\ORACLE\ORADATA\ORCL\REDO01.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
and also dropping it
SQL> ALTER DATABASE DROP LOGFILE GROUP 1;
ALTER DATABASE DROP LOGFILE GROUP 1
ERROR at line 1:
ORA-01623: log 1 is current log for thread 1 - cannot drop
ORA-00312: online log 1 thread 1: 'G:\ORACLE\ORADATA\ORCL\REDO01.LOG'
Is there any OTHER WAYHere's the remedy for you :-
sql > shutdown immediate ;
sql > startup mount ;
sql > select * from v$log (to check the sequence of the current log)
sql > recover database until cancel ; ( provide the log to cancel recovery)
sql > alter database open resetlogs ;
Please update the thrad, If you able to solve the issue .
hare krishna
Alok -
How to read the contents of redolog files?
Hi,
I would want to read the contents of the redolog files on my database.
Actually, I can't because these files are binary files*. I would want to know if there is a way to read these redolog files , if for example Oracle has tools to learn these redolog files.
Thanks.In order to read the content of the Redo Log files, you should use Logminer Utility
Please refer to the documentation for more information:
[Using LogMiner to Analyze Redo Log Files|http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#SUTIL019]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]
Maybe you are looking for
-
Need USB 3.0 driver for Windows 7 running in Fusion
Greetings - I have a MacBookpro Retina that is about 3 weeks old. So far it is running fairly well. I have installed Fusion5 and am running Windows7 Ultimate 64 bit. I have run into an issue however with my WD my passport 2tb USB3.0 drives. t
-
Opinions requested: new Mac Pro versus Mac Pro 4,1?
I've been toodling along for eight years now with a 2006 Mac Pro 1,1. It continues to serve me well because I do not require blazing speed. The hairiest program I use is Eclipse, which is quite fast enough for my needs. Otherwise, I'm just doing brow
-
SAN Device Manager port on Green X
Hi Everyone, Can anyone explain me what is the meaning of green X on the SAN Device manager port 5? Please see details below image and cli command. I am not sure if the port is faulty or just wrong information by device manager. SANCORE-1B# sh int fc
-
Telecharger mas OS X 10.4
j'ai planté mo imac G5 et naturelement j'ai oublié mes disques eb france en fait il etait en 10.4 puis j'avais achete la multilicence 10.5 naturelleme,nt j'ai tous les numerode licences j'aurais voulu telecharger 10.4 et 10.5 pour tout remeetre en o
-
I accidentally erased conversation recorded on my Iphone 5. Is there a way of recovering it?, I accidentally erased conversation recorded on my Iphone 5. Is there a way of recovering it?