1. 程式人生 > >OCP-1Z0-053-V12.02-3題

OCP-1Z0-053-V12.02-3題

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:

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?

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';

Answer: C

答案解析:

Table 30-4 Recovering After the Loss of an Online Redo Log Group

If the Group Is... Then... And You Should...

Inactive

It is not needed for crash recovery

Clear the archived or unarchived group.

Active

It is needed for crash recovery

Attempt to issue a checkpoint and clear the log; if impossible, then you must either use Flashback Database or restore a backup and perform incomplete recovery up to the most recent available redo log.

Current

It is the redo log that the database is currently writing to

Attempt to clear the log; if impossible, then you must either use Flashback Database or restore a backup and perform incomplete recovery up to the most recent available redo log.


[[email protected] ~]$ oerr ora 313

00313, 00000, "open failed for members of log group %s of thread %s"

// *Cause:  The online log cannot be opened. May not be able to find file.

// *Action: See accompanying errors and make log available.

[[email protected] ~]$ oerr ora 312

00312, 00000, "online log %s thread %s: '%s'"

// *Cause:  This message reports the filename for details of another message.

// *Action: Other messages will accompany this message. See the

//          associated messages for the appropriate action to take.

你的資料庫在歸檔記錄模式。你有兩個線上重做日誌組,其中每個都包含一個重做成員。當您嘗試啟動資料

庫時,您會收到以下錯誤:

ORA-00313:執行緒1日誌組1成員開啟失敗 

ORA-00312:聯機日誌1執行緒1:'D:\ REDO01.LOG

你發現當前的重做組聯機重做日誌檔案被損壞。你應該使用哪種說法來解決這個問題?

Clearing Inactive, Unarchived Redo

Clearing a not-yet-archived redo log allows it to be reused without archiving it. This action makes backups unusable if they were started before the last change in the log, unless the file was taken offline before the first change in the log. Hence, if you need the cleared log file for recovery of a backup, then you cannot recover that backup. Clearing a not-yet-archived-redo-log, prevents complete recovery from backups due to the missing log.

To clear an inactive, online redo log group that has not been archived:

  1. If the database is shut down, then start a new instance and mount the database:

    SQL> STARTUP MOUNT
  2. Clear the log using the UNARCHIVED keyword.

    For example, to clear log group 2, issue the following SQL statement:

    SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;

相關推薦

OCP-1Z0-053-V12.02-3

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 s

OCP 1Z0 053 V12 02 5

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP 1Z0 053 V12 02 160

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP 1Z0 053 V12 02 134

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP-1Z0-053-V12 02-530

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP-1Z0-053-V12 02-46

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP-1Z0-053-V12 02-32

32.In your production database, you: -Are using Recovery Manager (RMAN) with a recovery catalog to perform the backup operation at regular intervals

OCP-1Z0-053-V12 02-86

                86.Your production database is running in archivelog mode and you are using recovery manager (RMAN)with recovery catalog to perform the dat

OCP-1Z0-053-V12 02-160

160.Which two statements are true about the duplexing of the backups taken by RMAN? (Choose two.) A. It's only supported for the backups performed on

OCP-1Z0-053-V12 02-20

                20.View the Exhibit and examine the resource consumption details for the current plan in use by thedatabase instance.Which two statements a

OCP-1Z0-053-V12.02-514

514.A user performs an update on a table. Shortly after committing the transaction, they realize that they had an error in their WHERE c

OCP-1Z0-053-V12.02-55

Mounting NFS Storage Devices with Direct NFS Client Direct NFS Client determines mount point settings to NFS storage devices based on the configurations i

OCP-1Z0-053-V13 02-216

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP-1Z0-053-V13 02-703

                703. Given below are RMAN commands to enable ba ckup optimization and set  the retention policy: The USERS tablespace has never been backed

OCP-1Z0-053-V13.02-703

703. Given below are RMAN commands to enable ba ckup optimization and set  the retention policy:   The USERS tablespace has never been ba

OCP-1Z0-053-V13.02-103

103.Observe the following PL/SQL block: BEGIN dbms_spm.configure('SPACE_BUDGET_PERCENT', 30); END; Which statement is correct regarding t

OCP-1Z0-052-V8.02-1

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP 1Z0 052 V8 02 107

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP 1Z0 052 V8 02 24

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

OCP 1Z0 052 V8 02 177

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!