单项选择题
The ST_INFO master table has millions of rows that are updated very rarely. It has a STATE_CODE column that contains the value for 25 states. The table is frequently queried on the STATE_CODE column. Which type of index would you suggest to improve the query performance?()
A.B-tree
B.bitmap
C.reverse key
D.function based
相关考题
-
单项选择题
Your alert log file has the following information: Tue May 25 17:43: 38 2004 ORA-00060: Deadlock detected. More info in file /u01/app/oracle/admin/ORCL/udump/orcl_ora_3173.trc. What would you do to ensure that database is still running correctly?()
A.examine the trace file and kill the session that caused the deadlock
B.examine the trace file and kill both the sessions responsible for the deadlock
C.examine the trace file for details and ask the user who caused the deadlock to rollback the transaction
D.examine the trace file for details and remember that deadlocks are resolved automatically by Oracle database
E.examine the trace file for details and use the Undo Advisor to rollback the transaction that caused the deadlock -
单项选择题
Youspecifiedsegmentspacemanagementasautomaticforatablespace.Whateffectwouldthishaveonspacemanagement?()
A.Extents would be managed by the freelists.
B.The segment would be managed by bitmaps.
C.The segment would be managed by the freelists.
D.Free space would be managed by the data dictionary. -
单项选择题
The user SCOTT executes the following command successfully to increase the salary values in one of his sessions: SQL> UPDATE emp SET sal=sal*1.15 WHERE deptno=20; Before SCOTT ends the transaction, user HR who has the privileges on EMP table executes a query to fetch the salary details but finds the old salary values instead of the increased values. Why does HR still see the old data?()
A.because of redo data from redo log file
B.because of data from database buffer cache
C.because of data from a temporary tablespace
D.because of undo data from the undo tablespace
