Inactive redologs lost
If I lost the inactive redolog file. Then i can use the below mentioned commands to clear and recreate the log files,.
alter database clear logfile group 2; ( inactive and archived)
alter database clear unarchived logfile group 2; ( inactive and not archived )
Inactive logs files are not required for crash recovery and hence there is no need for incomplete recovery as we do when we lost current re-do log files.
What is that inactive and archvied means... is that mean redo log file does not contain any redo log entries.. if so why it is archived.
Can you please someone clear.
Amazingly, Oracle actually publishes documentation, where you can look this stuff up... :-)
Archived means your database is running in archivelog mode, and this particular log has been copied to the archive log area by ARC0.
Inactive means that is no longer needed for instance recovery.
See:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_2031.htm#REFRN30127
-Mark
Similar Messages
-
RMAN recovery from lost online redo log files
Hi,
Can any one tell me, How can we recover database when all online redolog files (current, Active and Inactive) are lost.
Note : RMAN with catalog.Hi,
Database is running or down?
If the database is is down and your database files and controlfile are synchronised then then
perform a fake incomplete recovery like "Recover database until cancel and open the database using resetlogs.
This will create new log files. And then take a full database backup.
Regards,
Navneet -
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. -
Hi,
Am using linux os with oracle 11g installed.
Pls gimme the step by step process for following scenarios .
1)failure of one redolog member in a multipluxed group.
2)failure of all redolog member in inactive redolog group.
3)failure of all my members of online and current redolog group.
4)failure of all members of active redolog group.
Thanks in advance...1)Failure of one redolog member in multiplexed group:
No affect, errors would be reported in alert log. Drop the affected member and create new member
2)failure of all redolog member in inactive redolog group
a)Identify whether redolog file was ARCHIVED or not (check archived column in v$log).
If archived --->alter database clear logfile group <no>
If unarchived --->alter database clear unarchived logfile group <no>
If step a results in failure:
Drop and recreate the redo log group
3)failure of all my members of online and current redolog group.
No option if we loose CURRENT redo log group. We will end up in Incomplete recovery and we can recover upto last SCN(using backup and recovery)
4)failure of all members of active redolog group.
Try to issue : alter system checkpoint;
check for redolog group status----If it changes to INACTIVE from ACTIVE then you can follow steps for INACTIVE Redolog group
If check point is not success----It is like step 3. You have to recover database till last SCN(using backup and recovery)
Edited by: vreddy on Aug 6, 2012 9:18 AM
Edited by: vreddy on Aug 6, 2012 9:18 AM -
Database crash simulator (for training)?
Hi All
I would like to prepare for OCP (from 10g) exam. I there any software (free or commercial) to simulate some typical database crashes (lost redologs, lost datafile, lost controlfile and many other.). So that user should detect what has happened and correct the issue. Of course I can do it myself, but when you know what is exactly wrong, it is easy to correct as well.
Regards
GroxyYou can do it by yourself
I advice you to install VMware on your PC, install Oracle on it. SHutdown and copy whole Vmware folder to another directory.
THen open vmware and start your testing. If you'll do something that you can't recover, (of course, you have to do your best to recover crashed database) just close the vmware and delete it. And open another vmware and do your testings there
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
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 -
How to recover physically lost redolog files -11g
Hi All
One of my Development databases lost all the redologs physically( 3 members were in same location) and i have 6th June full RMAN Backup. I could find errors since yesterday about 2 PM in alert log as follows
Thu Jun 09 14:36:15 2011
Errors in file /data01/app/oracle/diag/rdbms/ndsd/ndsd/trace/ndsd_arc3_15667.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/data03/oradata/ndsd/redo/redo02.log'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
But there were changes done to the database up to yesterday 4 PM and need to recover completely.
Appriciate if some one can advice me on this issue
Regards
Karunikauser9016606 wrote:
I could recover the database and thank youGood. Now that you've put out the fire, you need to be finding out how it was you lost all of your redo and make a plan to prevent it from happening again. To that end ..
Let me guess .. since your redo logs were named something dot log, someone was doing some housekeeping and thought there'd be no harm in deleting a log file. Up until 10g, the default names for redo logs was *.rdo. Shortly after my first upgrade to 10g, with the default of *.log, I twice had to recover due to some SA reclaiming space by deleting "log" files. Since then I've continued to name by redo logs *.rdo.
And whether that was the cause or not, I hope you now see why it is strongly recommended that your multiplexed redo logs - the different members of each group - are as physically separate as possible. Ideally, they are on separate physical discs going through separate disk controllers. But at the very minimum they should be in separate directories to at the very least protect you from "rm *.log" -
Hi,
I want to know how can recover my database after lost (corrupted) redolog, what steps need to do.
The database is NOARCHIVELOG.
And dont have backup.
Thanks for you help.
Edited by: 883137 on 25-may-2012 12:50Your recovery options depend on whether the database crashed and needs recovery and whether the lost redo log was current or active. It's a complex scenario. If the database does not open and you lost a current or active redo log and you do not have a redo log mirror or media backup, then your database is lost. You will need to read the documentation:
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/recoscen.htm#CACFFJFB -
I seem to have lost carrier settings on my iPad1,I've tried a restore and update but get a message about the original sim card,which I still have but is inactive,really inconvenient as I can only use in wifi spots and off line mode,please help,sibear.
You might want to download something called an undelete utility. These can find files and recover them even after they appear to have been lost. There are some undelete utility programs that are free. Look at tucows.com
Also, it appears that you have POSSIBLY overwritten the actual files, which you moved manually, with I don't know what, which you moved in PSE's folder location view.
Next, in the future ... NEVER (that's: don't even think about it) move your photos in Windows. NEVER. NEVER. Not ever. Not once. This always (that's ALWAYS, as in 100% of the time) causes problems and usually makes things difficult to fix.
Lastly ... make regular backups! I must say this in the forums about seventy bazillion times a month. Make regular backups! Regular depends on how often you take photographs and edit them. Since my photographic activity usually happens on the weekends, I make backups every Sunday night. You may need a different schedule, depending on your activity level. MAKE REGULAR BACKUPS! -
Can't open database because lost a redolog file group
platform : sun solaris 8 oracle 8.0.5
I lost a redolog group because a disk fail,it's a current redo group.
when the database startup ,mount is success but it can't open .
Error style:
can't found log file.
I try command "Alert system switch logfile" ,but messages is "need open database"!
I want to drop this logfile group ,who can help me?
Thank you very much!Thank you Emil Besenstiel:
I can't already open my database,use that way.
"alter database open resetlogs" Error message : ora-01139
I can't open database ,how to recovery database?
"alter database clear logfile '<filespec>';" Error message : ora-01624 ora-00312
I think that redofile group info are saved in my controlfile ,so when i open database ,it must search redofile.this is reason for can't open database.
I can't drop redofile group ,because it was current thread's redofile group.
How to switch that redofile group to incurrent,help me .
thank you! -
I lost the sound. Sound inactive.
I wanted to play a video on my TV, so I connected all the necessary cables from my PowerBook G4 to it. I do this all the time and I've never encountered a problem. But this time, I lost the sound output from the computer. Whenever I press any of the sound keys, the icon shows up but there's a "no entry" symbol below it meaning I'm unable to adjust anything. Likewise, the sound icon in the menu bar disappeared leaving a strange gap in it.
Anyone know how to fix the problem? It seems rather random.Choose a device for sound output > Nothing
There's nothing listed. No output devices found. Everything in that window -- including the submenus -- are greyed out. I can't make any changes.
One funny thing happened, though. I went to the Apple Store today and as soon as I got into OS X, the volume started working again, as if nothing had happened. I got home and the volume disappeared again! This makes no sense. -
Hi,
in 10g R2 on Win 2003, I have created new log groups and want to DROP the ancient , then I wait that it beocmes INACTIVE.
According to documentation :
•You can drop a redo log group only if it is inactive. If you need to drop the current group, first force a log switch to occur.
SELECT GROUP#, ARCHIVED, STATUS FROM V$LOG;
GROUP# ARC STATUS
1 YES ACTIVE
2 NO CURRENT
3 YES INACTIVE
4 YES INACTIVEI try ALTER SYSTEM SWITCH LOGFILE; every now and then , but it is always INACTIVE.
Thank you.Thanks to all. What I had copied/past was from Documentation. From my DB you can see :
SQL> SELECT GROUP#, ARCHIVED, STATUS FROM V$LOG;
GROUP# ARC STATUS
3 YES ACTIVE
4 YES ACTIVE
5 NO CURRENT
6 YES ACTIVE
SQL> ALTER SYSTEM SWITCH LOGFILE;
SystÞme modified.
SQL> SELECT GROUP#, ARCHIVED, STATUS FROM V$LOG;
GROUP# ARC STATUS
3 YES ACTIVE
4 YES ACTIVE
5 NO ACTIVE
6 NO CURRENT
SQL> ALTER SYSTEM SWITCH LOGFILE;
SystÞme modified.
SQL> SELECT GROUP#, ARCHIVED, STATUS FROM V$LOG;
GROUP# ARC STATUS
3 NO CURRENT
4 YES ACTIVE
5 YES ACTIVE
6 YES ACTIVEAnd I want to drop group 3.
Thanks. -
Hello
running 10g in archive mode, database was shutdown normal. Lost disk with redo logs. Is there a way to get this database backup. I have the control file and datafiles. I also lost the undo tblspace.
Thank you.You can even recreate the undo tablespace with the database in open mode, provided that you use the SYSTEM rollback segment. See http://asktom.oracle.com/pls/ask/f?p=4950:8:9775143015888161191::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5669213349582
-
Can anyone help with CC photography plan activation, when tBridge and photoshop are active and Lightroom requires a key . I have even applied the key to no avail.
Have you downloaded the perpetually licensed version of Lightroom or via the Cloud?
-
I downloaded and installed the update to Firefox 3.6.16. When the new version opened, my browsing history from previous use had disappeared, only one tab was present. The [History/Recently Closed Windows] was grayed, so not accessible. Is there any way to restore my previous browsing history from a file?
Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
There are a couple of places to check for the Ask toolbar:
* Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
* Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons
Maybe you are looking for
-
How can I ask for things to add in the next ios update
There are a few things I would like on my ipod touch as ios accesories. So how do ask for these things?
-
How to clear apps off the update
Since updating I can't clear off the apps after they are updated help,
-
Problem with undesired rounding of entity attributes of type Number
Hello, We have an entity object based on an oracle database table. Some of the columns of the table are of type NUMBER ( without specified precision and scale) and are mapped to attributes of type oracle.jbo.domain.Number as is the oracle recommendat
-
Is spec type customization possible?
Between PLM4P's customization and extensibility capabilities, I know it can do a lot but this is probably a stretch. Is it possible to take a specification type, such as Material, and base a new "type" off of it? Where the Material spec type would re
-
Is there a way I can click on a displayed column (A) and have the actual sort be performed on the value in another hidden column B? Thanks