1. 程式人生 > >OCP考試第3題

OCP考試第3題

Your database is in ARCHIVELOG mode. You have two online redo log groups, each of which contains one redo member. When you attempt to start the database, you receive the following errors:

資料庫為archive模式,有2個redo group,每組一個成員,啟動資料庫報錯:

ORA-00313: open failed for members of log group 1 of thread 1 ORA-00312: online log 1 thread 1: 'D:\REDO01.LOG'

You discover that the online redo log file of the current redo group is corrupted. Which statement should you use to resolve this issue?

開啟1個redo log失敗,發現當前日誌損壞了,將用什麼方法解決這個問題?

A. ALTER DATABASE DROP LOGFILE GROUP 1;

刪除不了,提示需要恢復了。

B. ALTER DATABASE CLEAR LOGFILE GROUP 1;

同樣報錯,提示需要恢復。

C. ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;

提示需要恢復。

D. ALTER DATABASE DROP LOGFILE MEMBER 'D:\REDO01.LOG';

提示不能刪除最後一個member.

 

所以沒有正確答案。