单选题Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile fo

题目
单选题
Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile for the TEMP tablespace and drop the TEMP1 tablespace from the database. The database is not using Oracle-Managed Files (OMF). Which statement must you use to ensure that when you drop the TEMP1 tablespace from the database, its corresponding operating system file is also deleted?()
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;

参考答案和解析
正确答案: D
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

第2题:

In your database, you discovered that a tempfile in a locally managed temporary tablespace has been deleted at the operating system level. How would you recover the tablespace?()

  • A、flash back the database
  • B、perform point-in-time recovery
  • C、perform a full database recovery
  • D、drop and re-create the tablespace
  • E、use Recovery Manager (RMAN) to recover the database

正确答案: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 database contains a temporary tablespace, index tablespace, undo tablespace, and a read-only tablespace apart from the SYSTEM and SYSAUX tablespaces. If a media failure occurs resulting in the loss of any of these tablespaces, which tablespace is NOT required for the database to start?()

  • A、 undo tablespace
  • B、 index tablespace
  • C、 read-only tablespace
  • D、 temporary tablespace

正确答案:D

第5题:

You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE '/u1/data/temp1.dbf' SIZE 10M TABLESPACE GROUP ''; Which statement regarding the above command is correct?()

  • A、It will create the tablespace TEMP1 in group G1.
  • B、It will create the tablespace TEMP1 in group G3.
  • C、It will not add the tablespace TEMP1 to any group.
  • D、It will create the tablespace TEMP1 in the default group.

正确答案:C

第6题:

The database is currently open and the temp03.dbf tempfile belonging to the default temporarytablespace TEMP has been corrupted.  What steps should you take to recover from this tempfile loss in an efficient manner?()  

  • A、 Allow the database to continue running,drop the TEMP tablespace,and then re-create it with new tempfiles
  • B、 Shut down the database, restore and recover the tempfile from backup,and then open the database with RESETLOGS
  • C、 Allow the database to continue running,take the TEMP tablespace offline,drop the missing tempfile,and then create a new tempfile
  • D、 Allow the database to continue running,add a new tempfile to TEMP tablespace with a new name,and drop the tempfile that has been corrupted

正确答案:D

第7题:

Your database instance is running with full workload after database creation. You have decided to use a fixed-size undo tablespace. You want to use the Undo Advisor to estimate the capacity of the undo tablespace. Which two factors must you consider before using the Undo Advisor to estimate the capacity of the undotablespace()

  • A、The retention period to support flashback
  • B、The expected length of the longest-running query
  • C、The number of undo tablespaces in the database
  • D、The size of the Flash Recovery Area for the database instance

正确答案:A,B

第8题:

Twenty database users are connected to your database. Five of the users are running long queries involving sort operations. The TEMP tablespace is the default temporary tablespace for your database. You are performing offline tablespace backups of individual tablespaces and erroneously execute the following statement:   SQL>ALTER TABLSPACE temp OFFLINE NORMAL;   What is the result of this statement?()

  • A、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected after their queries complete.
  • B、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected and must re-execute their queries.
  • C、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are not disconnected, but these users must re-execute their queries.
  • D、 The TEMP tablespace is not taken offline. The users using the TEMP tablespace for sorting are not disconnected, and their queries execute successfully.

正确答案:D

第9题:

You issued the following command on the temporary tablespace LMTEMP in your database:   SQL>ALTER TABLESPACE lmtemp SHRINK SPACE KEEP 20M;   Which requirement must be fulfilled for this command to succeed?()  

  • A、 The tablespace must be locally managed.
  • B、 The tablespace must have only one temp file.
  • C、 The tablespace must be made nondefault and offline.
  • D、 The tablespace can remain as the default but must have no active sort operations.

正确答案:A

第10题:

While creating a database using Database Configuration Assistant tool, you created a database default temporary tablespace. Which activity would cause the default temporary tablespace of the database to be used?()

  • A、the CREATE TABLE .. command
  • B、sorting of the SYSTEM tablespace’s data
  • C、sorting of data required by recursive SQL statements
  • D、the CREATE TABLE .. ORGANIZATION EXTERNAL .. command
  • E、sorting of data if the users have not been allocated temporary tablespace explicitly
  • F、sorting of data if the users have been allocated temporary tablespace explicitly

正确答案:E

更多相关问题