Q
Problem solve Get help with specific problems with your technologies, process and projects.

Redo log file problems

Expert Brian Peasland explains why it is important to make sure online redo logs are multiplexed.

My database was abruptly shut down (I don't know why). While we were opening the database it was showing the error in log files, so we tried to add a new redo log file for the existing group. It was added, and we are not able to switch the database because we are at mount stage, and even when we use the command to clear the logfile with "alter database clear unarchived logfile group 4," it is not clearing the group and the database is not switching. At mount stage, the database is in hang position. The database will open if we drop that redolog file offline, but we will lose some data. To overcome from these types of errors, what precautions should we take at this moment?
The first thing to do in the future is to make sure that the online redo logs are multiplexed. If one redo log file becomes corrupt, Oracle can use the other one. The multiplexed online redo log files should be on separate disk devices.

If you are still unable to open your database, you can try to open the database with the RESETLOGS option. This will clear out all online redo log files. You may experience loss of some transactions, so this should be a last option. But this may also be your only option, too.

This was last published in March 2008

Dig Deeper on Oracle database administration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

SearchContentManagement

SearchHRSoftware

Close