Index-organized table
Mapping Table
Clustered Table
Journal Table
第1题:
You are a DBA of your company. You created a database named SALES on an Oracle 10g instance. You have defined an index named INDEX1 on the database table named INVENTORY. Users are complaining that queries accessing the INVENTORY table are running slow. Upon investigation you determine that the tablespace where the index is located is experiencing high I/O and you decide to relocate the index to another tablespace. Which of these will be the best way to accomplish this objective?()
第2题:
Users in your production database complain that they are getting the following error message while trying to insert rows into the ORDERS table: ERROR at line 1: ORA-01654: unable to extend index USERS.ORDERS_IND by 8 in tablespace INDEXES.While investigating, you find that the INDEXES tablespace has run out of space and there is no more free space on the disk where the data files are available. Which two actions could you perform to overcome this error without affecting the queries that are currently being executed?()
第3题:
Users in your production database complain that they are getting the following error message while trying to insert rows into the ORDERS table: ERROR at line 1: ORA-01654: unable to extend index USERS.ORDERS_IND by 8 in tablespace INDEXES While investigating, you find that the INDEXES tablespace has run out of space and there is no more free space on the disk where the data files are available. Which two actions could you perform to overcome this error without affecting the queries that are currently being executed?()
第4题:
You issued the following statement to monitor the usage of the index: SQL> ALTER INDEX SCOTT.EMP_IDX MONITORING USAGE; Which view will you query to ensure that the index is being monitored?()
第5题:
An index-organized table (IOT) called SPARSE has had many records deleted. Which command reorganizes the IOT so that the empty space is removed, while minimizing the impact for users?()
第6题:
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?()
第7题:
Oracle Data Pump.
An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD to move the indexes.
An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD ONLINE to move the indexes.
Online Table Redefinition.
Edition-Based Table Redefinition.
第8题:
The index tablespace contains bitmap indexes.
The index tablespace contains more than one data file.
The index tablespace supports only complete recovery.
The index tablespace is not a dictionary-managed tablespace.
There is a dependency relationship between a table and its indexes.
第9题:
Export and import the mapping table.
Drop and re-create the mapping table.
Truncate the mapping table and reinsert the values.
Use the ALTER TABLE .. REBUILD command to defragment the mapping table.
第10题:
Index-organized table
Mapping Table
Clustered Table
Journal Table
第11题:
EXPORT with TABLES and IMPORT with the INDEX and IGNORE options.
ALTER TABLE … COALESCE ;
ALTER INDEX …REBUILD ONLINE;
CREATE TABLE …AS SELECT_ONLINE;
第12题:
The index can be changed from NOLOGGING to LOGGING
The index cannot be recovered even in the ARCHIVELOG mode.
The index can only be created if the base table is created with the NOLOGGING option.
The index can be recovered if you perform a backup after the CREATE INDEX statement.
第13题:
You executed the following procedure to collect statistics regarding an index: SQL>ANALYZE INDEX EMP_ID VALIDATE STRUCTURE; Which view will you use to determine whether you need to rebuild the index or not?()
第14题:
In which scenarios would you rebuild an index?()
第15题:
You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on the index tablespace. What could be the reason for this?()
第16题:
当需要重建某个索引ix_customername,可以使用()方式。
第17题:
Users complain SQL statements using a particular index fail. Using DBVERIFY, you find that two separate blocks in the index have become corrupt. The database data files for user data and index are very large. What is the least disruptive recover strategy available in Oracle9i?()
第18题:
export and import the mapping table
drop and re-create the mapping table
truncate the mapping table and reinsert the values
use the ALTER TABLE···REBUILD command to defragment the mapping table
第19题:
Start the database in OPEN mode, and create a new index tablespace.
Start the database in OPEN mode, and drop the lost index tablespace from the database.
Start the database in MOUNT mode, create a new index tablespace, and drop the lost index tablespace from the database.
Start the database in MOUNT mode, drop the lost index tablespace from the database, open the database, and create a new index tablespace.
第20题:
Rebuild the index.
Coalesce the index.
Drop and re-create the index in the new tablespace.
Relocate the index using the ALTER INDEX...MOVE statement.
第21题:
Drop and re-create the inbox.
Coalesce the ORDERS_IND index.
Coalesce the INDEXES tablespace.
Drop and re-create the ORDERS table.
Rebuild the index online and move it to another tablespace.
第22题:
INDEX_STATS
DBA_INDEXES
DBA_IND_COLUMNS
V$OBJECT_USAGE
第23题:
drop and re-create the index
coalesce the ORDERS_IND index
coalesce the INDEXES tablespace
drop and re-create the ORDERS table
rebuild the index online and move it to another tablespace
第24题:
INDEX_STATS
DBA_INDEXES
DBA_IND_COLUMNS
V$OBJECT_USAGE