多项选择题
The ORDERS table in the database of a company contains one million records. The table is stored in the DATA tablespace and the index created on the ORDERS table is stored in the index tablespace named INDEXES. On Monday, you failed to start the database because the datafiles of the INDEXES tablespace were missing. You dropped and recreated the INDEXES tablespace by issuing the following command:
SQL>DROP TABLESPACE INDEXES INCLUDING CONTENTS;
SQL> CREATE TABLESPACE INDEXES DATAFILE
’C:\ORACLE\ORADATA\ORA101t\INDEX01.DBF’ SIZE 50m;
After that, you issued the following command to recreate the index:
CREATE UNIQUE INDEX sales_index_pk ON sales
(order_id)
PCTFREE 10
INITRANS 2
MAXTRANS 255
TABLESPACE indexes
STORAGE (
INITIAL 1m NEXT 1m
PCTINCREASE 0
MINEXTENTS 1
MAXEXTENTS 8192 )
NOLOGGING
PARALLEL( degree 4)
Which two clauses are responsible for reducing the time for the recreation of the index?()
A. PCTFREE
B. MAXTRANS
C. PCTINCREASE
D. INITIAL
E. NOLOGGING
F. PARALLEL
相关考题
-
单项选择题
YouareaDatabaseAdministratorwithTXGlobal.YouuseapasswordfiletoestablishremoteconnectionstotheHRdatabaseontheserverlocatedatthehomeoffice.Currently,twoactiveremotesessionsexisttothisdatabase.ThesesessionswereestablishedusingtheSYSDBAprivilegefromtheremotemachines.Youaccidentallydeletedthepasswordfile.Whatwillbetheconsequenceofthisaction?()
A. Both the sessions will be killed, and no new sessions will be created using the SYSDBA or SYSOPER privilege.
B. Both the sessions will remain active, but no new sessions will be created using the SYSDBA or SYSOPER privilege.
C.Both the sessions will be killed, but new sessions will be created using the SYSDBA or SYSOPER privilege when the database restarts.
D. The database will crash, and no new sessions will be created using the SYSDBA or SYSOPER privilege when the database restarts. -
单项选择题
You are a Database Administrator with WonderWeb. You use a password file to establish connections to the Sales database located on the server. You created the password file using the following command: ORAPWD file=d:\oracle\ora9i\orapwU01 password=admin entries=4 You erroneously deleted the password file while the database was running. You re-create the password file using the following command: ORAPWD file=d:\oracle\ora9i\orapwU01 password=change_on_install entries=4 However, when you try to connect as the SYS user, you receive the following error: ORA-01031: insufficient privileges What should you do to resolve this error?()
A. Delete the newly created password file and re-create another password file with the password admin, without shutting down the database.
B. Enable the operating system authentication, shut down the database, disable the operating system authentication, and restart the database using the password file.
C. Enable the operating system authentication, shut down the database, re-create the password file using the same ORAPWD command, and restart the database using the password file.
D. Delete the newly created password file, enable operating system authentication and shut down the database. Then, re-create another password file using the same ORAPWD command and restart the database using this password file. -
单项选择题
Yourdatabasecontainsatemporarytablespace,indextablespace,undotablespace,andaread-onlytablespaceapartfromtheSYSTEMandSYSAUXtablespaces.Ifamediafailureoccursresultinginthelossofanyofthesetablespaces,whichtablespaceisNOTrequiredforthedatabasetostart?()
A. undo tablespace
B. index tablespace
C. read-only tablespace
D. temporary tablespace
