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.
If a log file becomes corrupted, it may cause the database to stale. How would you correct such a situation?
-
- Site Admin
- Posts: 899566
- Joined: Mon Aug 02, 2021 8:13 am