单项选择题
Your database is in ARCHIVELOG mode. On Friday evening, you perform an online database backup by using the BACKUP DATABASE command at the Recovery Manager (RMAN) prompt and close the
database. On Monday, the System Administrator informs you about the failure of two hard disks. One of the lost disks contains two datafiles, HR1.DBF and HR2.DBF, both of which belong to a read/write tablespace named HR. The disk also contains a datafile, USERS.DBF, which belongs to a read/write tablespace named USERS. You need to restore and recover the database backup that was performed on Friday evening. After mounting the database, you issue the following RMAN commands:
RMAN>RESTORE DATABASE;
RMAN>RECOVER DATABASE;
After successfully executing these RMAN commands, you issue the following statement using SQL*Plus:
SQL>ALTER DATABASE OPEN;
You receive the following errors when attempting to open the database:
ORA-01157: cannot identify/lock data file 10 see DBWR trace file
ORA-01110: data file 10: ’D:\USERS.DBF’
What is the cause of these errors?()
A. The USERS.DBF datafile is corrupted and cannot be restored by RMAN.
B. The USERS.DBF datafile was not backed up using the RMAN BACKUP DATABASE command.
C. The USERS.DBF datafile was not restored using the RMAN RESTORE DATABASE command.
D. The USERS.DBF datafile was not recovered using the RMAN RECOVER DATABASE command.
相关考题
-
单项选择题
You are part of the DBA team working for a multinational bank. The team is responsible for performing administrative tasks on the database server located at the home office. The database server at the home office has a production database and a test database named TESTDB. The test database is primarily used for testing database commands and configuration settings befor implementing these settings on the production database. The test database is also used for the development of database applications. You have been asked by the senior DBA to grant the SYSDBA privilege to a new team member, John, so that he can perform some administrative tasks, such as shutdown and startup operations, on TESTDB. You use the password file to configure remote authentication on the TESTDB database. You execute the following statement to grant the SYSDBA privilege to John: SQL>GRANT SYSDBA TO john; However, you receive the following error: ORA-01996: GRANT failed: password file ’c:\oracle\ora9i\dbs\testdb.pwd’ is full Which action should you take to add the user john to the password file without removing any of the existing users?()
A. Create another password file and then re-execute the GRANT statement.
B. Re-create the password file, specifying a larger number of allowed entries, and then re-execute the GRANT statement.
C. Change the value of the REMOTE_LOGIN_PASSWORDFILE initialization parameter in theinitialization parameter file to NONE and then re-execute the GRANT statement.
D. Change the value of the REMOTE_LOGIN_PASSWORDFILE initialization parameter in the initialization parameter file to SHARED and then re-execute the GRANT statement. -
单项选择题
YouhavecreatedanOracle10gdatabasenamedSALES,whichwillbeusedbyanapplicationnamedSalesOrders.UsersoftheSalesOrdersapplicationcomplainthatapplicationresponsetimeisslowwhentheygeneratereports.TheSalesOrdersapplicationaccessesatablethatcontains10millionrows.YoudecidetocreateanindexonthistableusingtheNOLOGGINGoptionsothattheindexcreationprocessiscompletedintheleastamountoftime.WhichofthefollowingisNOTtrueaboutanindexcreatedwiththeNOLOGGINGoption?()
A. The index can be changed from NOLOGGING to LOGGING
B. The index cannot be recovered even in the ARCHIVELOG mode.
C. The index can only be created if the base table is created with the NOLOGGING option.
D. The index can be recovered if you perform a backup after the CREATE INDEX statement. -
单项选择题
YourdatabasecontainstwotemporarytablespacesnamedTEMPandTEMP1.TheTEMPtablespaceisthedefaulttemporarytablespaceforthedatabase,andtheTEMP1tablespacewascreatedatdatabasecreation.YouwanttoincreasethesizeofthetempfilefortheTEMPtablespaceanddroptheTEMP1tablespacefromthedatabase.ThedatabaseisnotusingOracle-ManagedFiles(OMF).WhichstatementmustyouusetoensurethatwhenyoudroptheTEMP1tablespacefromthedatabase,itscorrespondingoperatingsystemfileisalsodeleted?()
A. DROP TABLESPACE temp1;
B. DROP TABLESPACE temp1 INCLUDING CONTENTS;
C. DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;
D. DROP TABLESPACE temp1 INCLUDING CONTENTS CASCADE CONSTRAINTS;
