单项选择题
Adam is working as a Database Administrator (DBA) for TeleSoft Corporation. His database is running in the ARCHIVELOG mode. During database startup, he discovers that one of the disks crashed, resulting in the permanent loss of a read-write USERS tablespace. The USERS01.dbf datafile belongs to the USERS tablespace and is 500 MB in size. He needs to recover the USERS tablespace from the backup. While reviewing the backup details, he discovers that the most recent available backup is five days old. This backup was taken when the USERS tablespace was read-only. After correcting the hardware problem that caused the failure, what should Adam do to recover the USERS tablespace?()
A. Restore the USERS01.dbf file from the backup, and open the database using the STARTUP command.
B. Restore the USERS01.dbf file using the RECOVER TABLESPACE command, and open the database using the ALTER DATABASE OPEN statement.
C. Restore the USERS01.dbf file from the backup, recover the USERS tablespace using the RECOVER TABLESPACE command, and open the database using the ALTER DATABASE OPEN statement.
D. Restore the USERS01.dbf file from the backup and change the status of the USERS tablespace from read-only to read-write using the ALTER TABLESPACE USERS READ WRITE statement. Then, recover the USERS tablespace using the RECOVER TABLESPACE command, and open the database using the ALTER DATABASE OPEN statement.
相关考题
-
单项选择题
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.
