You lost a temporary file that belongs to the default tempor

题目
单选题
You lost a temporary file that belongs to the default temporary tablespace in your database. From the options provided, which approach would you take to solve the problem?()
A

 flash back the database

B

 import the temporary tablespace from the last export

C

 restore all the data files and temporary files from the last full database backup and perform a recovery

D

 not perform a recovery, but create a new temporary tablespace, make it the default temporary tablespace and then drop the old tablespace

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第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题:

You lost a temporary file that belongs to the default temporary tablespace in your database. From the options provided, which approach would you take to solve the problem? ()

  • A、flash back the database
  • B、import the temporary tablespace from the last export
  • C、restore all the data files and temporary files from the last full database backup and perform a recovery
  • D、not perform a recovery, but create a new temporary tablespace, make it the default temporary tablespace and then drop the old tablespace

正确答案:D

第3题:

You issued the following command:An index is then created on the ADMIN_WORK_AREA temporary table. Which two statements are true regarding the TBS_T1 tablespace in the above command? ()

A. It stores only the temporary table but not its indexes.

B. It stores both the temporary table as well as its indexes.

C. It must be a nondefault temporary tablespace for the database.

D. It can be a default or nondefault temporary tablespace for the database.

E. It must be the default temporary tablespace of the user who issues the command.


参考答案:B, D

第4题:

Your Supportcenter.cn database is in ARCHIVELOG mode. The data file that belongs to the SYSTEM tablespace has become corrupted. Up to what point can you recover the database?()

  • A、Until last commit
  • B、Until the time you perform recovery
  • C、Until the time the date file got corrupted
  • D、Until the point where the last transaction begun
  • E、You cannot recover the SYSTEMtablespaceand must re-create the database.

正确答案:A

第5题:

You are maintaining your database in Oracle10g. You are not using the recovery catalog to maintain the backup metadata information. You want to enable the reusable section of the control file to expand itself if the oldest record cannot be reused, and whenever a new record is added to the reusable section of the control file. Which value will you set for the CONTROL_FILE_RECORD_KEEP_TIME parameter?()

  • A、 Zero
  • B、 One or more
  • C、 NONE
  • D、 DEFAULT

正确答案:B

第6题:

When you are performing media recover, and an archived log is lost or corrupt, which type of recover must you perform?()

  • A、Until SCN
  • B、Until time
  • C、Until cancel
  • D、Recover using backup control file.

正确答案:C

第7题:

Your Certkiller .com database is in ARCHIVELOG mode. The data file that belongs to the SYSTEMtablespacehas become corrupted. Up to what point can you recover the database?()

  • A、Until last commit
  • B、Until the time you perform recovery
  • C、Until the time the date file got corrupted
  • D、Until the point where the last transaction begun
  • E、You cannot recover the SYSTEMtablespaceand must re-create the database.

正确答案:A

第8题:

You are the administrator of a SQL Server 2000 computer in your company's personnel department. Employee data is stored in a SQL Server 2000 database. A portion of the database schema is shown in the exhibit.

You want to create a text file that lists these data columns in the following format title, FirstName, LastName, WorkPhone, PositionName, DepartmentName.

You want to create the text file as quickly as possible. You do not expect to re-create this file, and you want to avoid creating new database objects if possible.

What should you do?

A.Use the bcp utility to export data from each table to a separate text file. Use format files to select the appropriate columns. Merge the data from each text file into a single text file.

B.Create a view that joins data from all three tables include only the columns you want to appear in the text file. Use the bcp utility to export data from the view.

C.Create a SELECT query that joins the data from the appropriate columns in the three tables. Add an INTO clause to the query to create a local temporary table. Use the bcp utility to export data from the local temporary table to a text file.

D.Create a SELECT query that joins the data from the appropriate columns in the three tables. Add an INTO clause to the query to create a global temporary table. Use the bcp utility to export data from the global temporary table to a text file.


正确答案:D
解析:Explanation:Asthecolumnsthatwewantinthetextfileareondifferenttablesinthedatabase,wewouldhavetocombinethecolumnintoatableorview.Becausewewillnotneedtoreproducethefile,wecanwecancombinethecolumnfromthevarioustablesintoaglobaltemporarytablebyusingtheSELECTINTOstatement.Thenweusethebcputilitytoexportthedatafromtheglobaltemporaryfiletoatextfile.Note:Temporarytablesarenotstoredinthecurrentdatabase;theyarestoredinthetempdbsystem.Therearetwotypesoftemporarytables:localtemporarytables,whicharevisibleonlytotheconnectionthatcreatedthem,andglobaltemporarytables,thatarevisibletoallconnections.Ifglobaltemporarytablesarenotdroppedexplicitlybeforetheconnectionthatcreatedthemdisconnects,theyaredroppedassoonasallothertasksstopreferencingthem.Nonewtaskscanreferenceaglobaltemporarytableaftertheconnectionthatcreateditdisconnects.ThebcputilitycopiesdatabetweenaninstanceofSQLServer2000andadatafileinauser-specifiedformat.ItcanbeusedtotransferdatafromaSQLServertabletoadatafileforuseinotherprograms.Furthermore,datacanalsobetransferredoutbyspecifyingaSELECTstatement.Thebcputilitycanuseglobaltemporarytables,butnotlocaltemporarytables.IncorrectAnswers:A:CreatingaglobaltemporarytablebyusingtheSELECTstatementandusingthebcputilitytoexportdatafromthattablewouldrequirelessadministrativeeffortthanusingbcptoexporttherequiredcolumnsfromeachtableintoaseparatetextfileandthenmergingthosetextfilesintoasingletextfile.B:Becausewewouldnotneedtore-createthedatafileagain,itwouldbeeasiertousetheSELECTstatementtocreateaglobaltemporarytableasthesetablesaredroppedautomaticallywhennothingreferencethem.C:Thebcputilitycannotuselocaltemporarytables.Note:Temporarytablesarenotstoredinthecurrentdatabase;theyarestoredinthetempdbsystem.Therearetwotypesoftemporarytables:localtemporarytables,whicharevisibleonlytotheconnectionthatcreatedthem,andglobaltemporarytables,thatarevisibletoallconnections.

第9题:

You are maintaining your production database in Oracle10g. You want the circular reuse records in the control file of the target database to be reused as required.   Which value will you set for the CONTROL_FILE_RECORD_KEEP_TIME initialization parameter?()

  • A、 0
  • B、 1
  • C、 NONE
  • D、 DEFAULT

正确答案:A

第10题:

Last night, a media failure caused the loss of a temporary file that belongs to your database. Which two things may happen this morning when you try to open your database?()

  • A、 The database writer writes to a trace file, indicating that the temporary file is not found.
  • B、 The database prompts for a database recovery.
  • C、 The database opens normally.
  • D、 The database gets mounted and throws an error indicating that the temporary file requires recovery.

正确答案:A,C

更多相关问题