单项选择题
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;
相关考题
-
单项选择题
YourdatabaseisinNOARCHIVELOGmode.Thedatabasehasthreeonlineredologgroups,andeachgroupcontainsthreeonlineredologmembers.Theonlineredologmembersarestoredacrossthreeharddisks,E,F,andG,respectively.HarddiskGcrashedwhiletheLGWRbackgroundprocesswaswritingredoinformationtotheonlineredologfiles.Whateffectwillthiscrashhaveonthedatabase?()
A. The database will operate normally without generating any redo.
B. The database will hang, and you must shut down and restart the instance.
C. The database will crash, and you must recover the database from the point of failure.
D. The database will operate normally and will generate minimal redo for the tables created with the NOLOGGING clause. -
单项选择题
Atdatabasestartup,youdiscoverthatoneofthediskscontaininganindextablespacehasbeenlostduetoamediafailure.Abackupofthelostindextablespaceisnotavailable.Youhaveallthenecessaryscriptstorecreatetheindexes.Youneedtore-createtheindexesinanewindextablespace.Whichactionmustyouperformbeforere-creatingtheindexes?()
A. Start the database in OPEN mode, and create a new index tablespace.
B. Start the database in OPEN mode, and drop the lost index tablespace from the database.
C.Start the database in MOUNT mode, create a new index tablespace, and drop the lost index tablespace from the database.
D. Start the database in MOUNT mode, drop the lost index tablespace from the database, open the database, and create a new index tablespace. -
单项选择题
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.
