单项选择题
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’;
相关考题
-
单项选择题
You are working as a Database Administrator. Despite having a password in the data dictionary as change_on_install, you always log on to the database MYNEWDB using operating system authentication. Your organization is planning to recruit two junior-level DBAs. You decide to enable remote authentication in your database so that the new DBAs can log on to the database from their workstations to carry out administrative tasks. To allow the new DBAs to perform the administrative tasks, you create a password file on the database server using the following command: ORAPWD file=d:\oracle\ora9i\orapwU01 password=admin entries=4 After creating the password file, you remove the operating system authentication and change the value of the REMOTE_LOGIN_PASSWORDFILE parameter to EXCLUSIVE. You also create a net service name as MYNEWDB that allows the new DBAs to connect to the database server from their workstations using this net service name. Which command must you use to connect to the database to start it?()
A. CONNECT / AS SYSDBA
B. CONNECT sys/admin AS SYSDBA
C. CONNECT sys/admin@mynewdb AS SYSDBA
D. CONNECT sys/change_on_install AS SYSDBA -
单项选择题
Your database is running in NOARCHIVELOG mode with two online redo log files. The SALES table contains sales information for the organization. The SALES table belongs to the SALESTB tablespace. On Monday, you insert 10 rows into the SALES table. The current log sequence number is 14. You change the tablespace status from READ WRITE to READ ONLY for the SALESTB tablespace. You shut down the database and take a backup of the SALESTB tablespace. On Tuesday, you start the database. You change the status for the SALESTB tablespace from READ ONLY to READ WRITE. You insert 10 more rows into the SALES table and shut down the database. The current log sequence number is 15. When you try to open the database on Wednesday morning, you discover that the SALESTB tablespace was lost because of a media failure. Which of the following options is true about recovering the SALES table?()
A. The SALES table cannot be recovered because the database is running in NOARCHIVELOG mode.
B. The SALES table can be recovered by restoring the SALESTB tablespace from the backup and performing a media recovery.
C. The SALES table can be recovered by restoring the SALESTB tablespace from the backup without performing any media recovery.
D. The SALES table can be recovered by restoring the SALESTB tablespace from the backup, but the rows inserted on Tuesday need to be inserted again. -
单项选择题
Inwhichofthefollowingscenariosisatablespacerecoveryrequired?()
A. when recovering a lost read-only tablespace from a read-only tablespace backup
B. when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in ARCHIVELOG mode
C. when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in NOARCHIVELOG mode and the changes in the online redo log files have been overwritten
D. when recovering a lost read-only tablespace from a read-only tablespace backup using the backup of the control file, the control file was created using the ALTER DATABASE BACKUP CONTROLFILE TO TRACE statement, and this statement was issued when the tablespace was read-only
