Page 1 of 1

If a log file becomes corrupted, it may cause the database to stale. How would you correct such a situation?

Posted: Sun Jun 11, 2023 3:49 pm
by answerhappygod
If a log file becomes corrupted, it may cause the database to stale. How would you correct such a situation?

A. Recover the online redo log from backup.
B. Delete and re-create the log file.
C. Use the ALTER DATABASE CLEAR LOGFILE command to clear the log file.
D. Shut down the database and restart it. E. Shut down the database and then mount it. Clear the log file with the ALTER DATABASE CLEAR LOGFILE command and then restart the database with ALTER DATABASE OPEN RESETLOGS.