If a log file becomes corrupted, it may cause the database to stall. 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 lo

题目

If a log file becomes corrupted, it may cause the database to stall. 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 stall. 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 lo”相关问题
  • 第1题:

    Redo log files are multiplexed in your database. The disk in which you have one of the redo log members is highly fragmented. In the process of defragmentation you lose the redo log member, which is not a member of the current group. How would you recover from the loss of the redo log member?()

    • A、SMON would automatically restore the lost file.
    • B、You would need to restore the whole database from the last backup.
    • C、You would need to restore the file from the last full database backup.
    • D、You would need to use flashback technology to restore the lost redo log member.
    • E、You would need to use Recovery Manager (RMAN) to restore the lost redo log member.
    • F、You would need to restore the missing log file by copying one of the remaining files from the same group.

    正确答案:F

  • 第2题:

    The database is running in the ARCHIVELOG mode. It has three redo log groups with one member each. One of the redo log groups has become corrupted. You have issued the following command during the recovery of a damaged redo log file:   ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;   Which action should you perform immediately after using this command?()  

    • A、 You should perform a log switch
    • B、 You should make a backup of the database
    • C、 You should switch the database to the NONARCHIVELOG mode
    • D、 You should shut down the database instance and perform a complete database recovery

    正确答案:B

  • 第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:()

    • 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’

    正确答案:C

  • 第4题:

    Which statement about recovering from the loss of a redo log group is true?()

    • A、If the lost redo log group is ACTIVE, you should first attempt to clear the log file.
    • B、If the lost redo log group is CURRENT, you must clear the log file.
    • C、If the lost redo log group is ACTIVE, you must restore, perform cancel-based incomplete recovery, and open the database using the RESETLOGS option.
    • D、If the lost redo log group is CURRENT, you must restore, perform cancel-based incomplete recovery, and open the database using the RESETLOGS option.

    正确答案:D

  • 第5题:

    You have the following online redo log configuration:    Group       Member   1     ’/disk1/oradata/redo01a.log’   2     ’/disk2/oradata/redo02a.log’   3     ’/disk3/oradata/redo03a.log’   You decide to multiplex the online redo log groups for recovery of redo log files in case of any disaster. Which two statements will you NOT issue to multiplex the online redo log files?()

    • A、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk1/oradata/redo01b.log’ TO GROUP 1;
    • B、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk2/oradata/redo01b.log’ TO GROUP 1;
    • C、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk1/oradata/redo02b.log’ TO GROUP 2;
    • D、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk2/oradata/redo02b.log’ TO GROUP 2;
    • E、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk1/oradata/redo3b.log’ TO GROUP 3;
    • F、 ALTER DATABASE ADD LOGFILE MEMBER ’/disk2/oradata/redo3b.log’ TO GROUP3;

    正确答案:A,C

  • 第6题:

    When performing a database duplication, which duplicate database parameter would you set to ensure that the online redo logs are created in the correct location?()  

    • A、 log_file_name_convert
    • B、 convert_log_file_name
    • C、 file_name_convert_log
    • D、 redo_log_file_name_convert
    • E、 logfile_convert_directory

    正确答案:A

  • 第7题:

    单选题
    Which statement about recovering from the loss of a redo log group is true?()
    A

     If the lost redo log group is ACTIVE, you should first attempt to clear the log file.

    B

     If the lost redo log group is CURRENT, you must clear the log file.

    C

     If the lost redo log group is ACTIVE, you must restore,perform cancel-based incomplete recovery,and open the database using the RESETLOGS option.

    D

     If the lost redo log group is CURRENT, you must restore,perform cancel-based incomplete recovery,and open the database using the RESETLOGS option.


    正确答案: D
    解析: 暂无解析

  • 第8题:

    单选题
    The database is running in the ARCHIVELOG mode. It has three redo log groups with one member each. Oneof the redo log groups has become corrupted. You have issued the following command during the recovery of a damaged redo log file:ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3; Which action should you perform immediately after using this command?()
    A

    You should perform a log switch

    B

    You should make a backup of the database

    C

    You should switch the database to the NONARCHIVELOG mode

    D

    You should shut down the database instance and perform a complete database recovery


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    When performing a database duplication, which duplicate database parameter would you set to ensure that the online redo logs are created in the correct location?()
    A

     log_file_name_convert

    B

     convert_log_file_name

    C

     file_name_convert_log

    D

     redo_log_file_name_convert

    E

     logfile_convert_directory


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    A redo log file is corrupted while the database is open; as a consequence, database operations are stopped because archiving cannot continue. What would you do to solve the problem?()
    A

     clear the redo log group

    B

     perform redo log file import

    C

     perform an incomplete recovery

    D

     perform a redo log recovery using Recovery Manager (RMAN)

    E

     shut down the database and open the database in the NOARCHIVELOG mode


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    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

     SQL>ALTER DATABASE DROP LOGFILE GROUP 1;

    B

     SQL>ALTER DATABASE CLEAR LOGFILE GROUP 1;

    C

     SQL>ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;

    D

     SQL>ALTER DATABASE DROP LOGFILE MEMBER ’D:///REDO01.LOG’;


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    You work as a database administrator for Certkiller .com. Redo log files are not multiplexed in your database. Redo log blocks are corrupted in group 2, and archiving has stopped. All the redo logs are filled and database activity is halted. Database writer has written everything to disk.  Which command would you execute to proceed further?()
    A

    RECOVER LOFIEL BLOCK GROUP 2;

    B

    ALTER DATABASE DROP LOGFILE GROUP 2;

    C

    ALTER DATABASE CLEAR LOGFILE GROUP 2;

    D

    ALTER DATABASE RECOVER LOGFILE GROUP 2;

    E

    ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;


    正确答案: D
    解析: 暂无解析

  • 第13题:

    Upon starting your database, you receive the following error:   SQL> startup ORACLE instance started.  Total System Global Area 171581440 bytes Fixed Size 1298640 bytes Variable Size 146804528 bytes Database Buffers 20971520 bytes Redo Buffers 2506752 bytes Database mounted.  ORA-00313: open failed for members of log group 1 of thread 1  ORA-00312: online log 1 thread 1: ’/oracle01/oradata/orcl/redo01.log’ ORA-00312: online log 1 thread 1: ’/oracle01/oradata/orcl/redo01a.log’   You can choose from the following steps:   a. Restore the database datafiles.  b. Issue the alter database clear unarchived logfile group 1 command. c. Issue the alter database open command.  d. Issue the alter database open resetlogs command.  e. Recover the database using point-in-time recovery. f. Issue the Startup Mount command to mount the database.  g. Back up the database.  Which is the correct order of these steps in this case?()

    • A、a, f, e, d, g
    • B、f, e, d
    • C、f, b, c, g
    • D、a, f, c
    • E、The database cannot be recovered.

    正确答案:C

  • 第14题:

    You are attempting to clear an unarchived redo log file. In order to manually enact a log switch, which of the following statements is appropriate?()

    • A、ALTER DATABASE 
    • B、ALTER SYSTEM 
    • C、ALTER USER 
    • D、ALTER REDO LOG

    正确答案:B

  • 第15题:

    Which are the correct steps, in order, to deal with the loss of an online redo log if the database has not yet crashed?()   a. Issue a checkpoint.  b. Shut down the database.  c. Issue an alter database open command to open the database.  d. Startup mount the database.  e. Issue an alter database clear logfile command.  f. Recover all database datafiles.

    • A、a, b, c, d
    • B、b, d, e, c
    • C、a, b, d, e, c
    • D、b, f, d, f, c
    • E、b, d, a, c

    正确答案:C

  • 第16题:

    A redo log file is corrupted while the database is open; as a consequence, database operations are stopped because archiving cannot continue. What would you do to solve the problem?()

    • A、 clear the redo log group
    • B、 perform redo log file import
    • C、 perform an incomplete recovery
    • D、 perform a redo log recovery using Recovery Manager (RMAN)
    • E、 shut down the database and open the database in the NOARCHIVELOG mode

    正确答案:A

  • 第17题:

    You have lost all your online redo logs. As a result, your database has crashed. You have tried to restart the database and clear the online redo log files, but when you try to open the database you get the following error.   SQL> startup ORACLE instance started.  Total System Global Area 167395328 bytes Fixed Size 1298612 bytes Variable Size 142610252 bytes Database Buffers 20971520 bytes Redo Buffers 2514944 bytes Database mounted.  ORA-00313: open failed for members of log group 2 of thread 1 ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02a.log ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3  ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02.log ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3  SQL> alter database clear logfile group 2; alter database clear logfile group 2 * ERROR at line 1:  ORA-01624: log 2 needed for crash recovery of instance orcl (thread 1) ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02.log ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02a.log   What steps must you take to resolve the error?() a. Issue the recover database redo logs command.  b. Issue the Startup Mount command to mount the database.  c. Restore the last full database backup.  d. Perform a point-in-time recovery, applying all archived redo logs that are available.  e. Restore all archived redo logs generated during and after the last full database backup.  f. Open the database using the alter database open resetlogs command.  g. Issue the alter database open command.

    • A、b, a, f
    • B、e, b, a, f
    • C、e, b, a, g
    • D、b, a, g
    • E、c, e, b, d, f

    正确答案:E

  • 第18题:

    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、 SQL>ALTER DATABASE DROP LOGFILE GROUP 1;
    • B、 SQL>ALTER DATABASE CLEAR LOGFILE GROUP 1;
    • C、 SQL>ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;
    • D、 SQL>ALTER DATABASE DROP LOGFILE MEMBER ’D:///REDO01.LOG’;

    正确答案:C

  • 第19题:

    单选题
    Redo log files are multiplexed in your database. The disk in which you have one of the redo log members is highly fragmented. In the process of defragmentation you lose the redo log member, which is not a member of the current group. How would you recover from the loss of the redo log member?()
    A

    SMON would automatically restore the lost file.

    B

    You would need to restore the whole database from the last backup.

    C

    You would need to restore the file from the last full database backup.

    D

    You would need to use flashback technology to restore the lost redo log member.

    E

    You would need to use Recovery Manager (RMAN) to restore the lost redo log member.

    F

    You would need to restore the missing log file by copying one of the remaining files from the same group.


    正确答案: B
    解析: 暂无解析

  • 第20题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    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:()
    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’


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    If a log file becomes corrupted, it may cause the database to stall. 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.


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    Redo log files are not multiplexed in your database. Redo log blocks are corrupted in group 2, and archiving has stopped. All the redo logs are filled and database activity is halted. Database writer has written everything to disk. Which command would you execute to proceed further?()
    A

    RECOVER LOGFILE BLOCK GROUP 2;

    B

    ALTER DATABASE DROP LOGFILE GROUP 2;

    C

    ALTER DATABASE CLEAR LOGFILE GROUP 2;

    D

    ALTER DATABASE RECOVER LOGFILE GROUP 2;

    E

    ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;


    正确答案: B
    解析: 暂无解析