单项选择题
Your database is in manual archive mode. Your online redo log groups are configured as follows:
You discover that DISK 3 has encountered a media failure that has resulted in a loss of all the multiplexed copies of online redo log files.
You decide to delete the REDO01C.LOG, REDO02C.LOG, and REDO3C.LOG files to prevent the LGWR background process from attempting to access these files. When you query the V$LOG dynamic view, you receive the following output:
Which sequence of statements should you use to drop the missing online redo log files from the database?()
1. ALTER DATABASE DROP LOGFILE MEMBER ’E:\REDO01C.LOG’;
2. ALTER SYSTEM SWITCH LOGFILE;
3. ALTER DATABASE DROP LOGFILE MEMBER ’E:\REDO03C.LOG’;
4. ALTER SYSTEM ARCHIVE LOG GROUP 3;
5. ALTER DATABASE DROP LOGFILE MEMBER ’E:\REDO02C.LOG’;
6. ALTER SYSTEM ARCHIVE LOG GROUP 1;
A. 5, 3, 2, and 1
B. 1, 5, 3, and 2
C. 4, 3, 2, 5, 1, and 6
D. 5, 4, 3, 2, 6, and 1
相关考题
-
单项选择题
You are operating your database in the manual archiving mode. Currently, your database is configured with the following online redo log groups and members: You tried to drop Group 1 from the database but received the following errors: ORA-01623: log 1 is current log for thread 1 cannot drop ORA-00312: online log 1 thread 1: ’D:\ORACLE\ORADATA\TESTDB\REDO01a.LOG’ What might be the reason for these errors?()
A. Group 1 is an active or current online redo log group.
B. Group 1 is an inactive online redo group that has not been archived yet.
C. The members of the Group 1 are temporarily asymmetric with the members of other groups.
D. The size of the online redo log members of Group 1 is different from the size of the members in other groups. -
单项选择题
YouareworkingonthePRODdatabase,whichisinNOARCHIVELOGmode.Youlosttheactiveonlineredologgroupduetoamediafailure.Howshouldyourecoveryourdatabase?()
A. Restore the database from a whole consistent backup and start the database in MOUNT mode. Then, open the database with the RESETLOGS option after performing a cancel-based recovery.
B. Restore the database from a whole consistent backup and start the database in MOUNT mode. Then, drop the lost redo log group and open the database with the RESETLOGS option after performing a cancel-based recovery.
C. Restore the database from a whole consistent backup and start the database in MOUNT mode. Then, clear the lost redo log group and open the database with the RESETLOGS option after performing a cancel-based recovery.
D. Do nothing. You do not need to recover the database in this case; an instance recovery will be performed by the SMON process on startup. -
多项选择题
The ORDERS table in the database of a company contains one million records. The table is stored in the DATA tablespace and the index created on the ORDERS table is stored in the index tablespace named INDEXES. On Monday, you failed to start the database because the datafiles of the INDEXES tablespace were missing. You dropped and recreated the INDEXES tablespace by issuing the following command: SQL>DROP TABLESPACE INDEXES INCLUDING CONTENTS; SQL> CREATE TABLESPACE INDEXES DATAFILE ’C:\ORACLE\ORADATA\ORA101t\INDEX01.DBF’ SIZE 50m; After that, you issued the following command to recreate the index: CREATE UNIQUE INDEX sales_index_pk ON sales (order_id) PCTFREE 10 INITRANS 2 MAXTRANS 255 TABLESPACE indexes STORAGE ( INITIAL 1m NEXT 1m PCTINCREASE 0 MINEXTENTS 1 MAXEXTENTS 8192 ) NOLOGGING PARALLEL( degree 4) Which two clauses are responsible for reducing the time for the recreation of the index?()
A. PCTFREE
B. MAXTRANS
C. PCTINCREASE
D. INITIAL
E. NOLOGGING
F. PARALLEL
