QuestionQ46

VerifiedProactive Performance Management

On your Oracle 12c database, you issue the following commands to create indexes:

SQL > CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customers_id, sales_rep_id) INVISIBLE;  
SQL> CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customers_id, sales_rep_id);  

Which two statements are correct?

Choose two
Explanation

Oracle Database 12c allows a B-tree index and a bitmap index on the same set of columns when only one is visible. The explicitly invisible B-tree index and the default-visible bitmap index are both created; invisible indexes are excluded from normal optimizer consideration but are still maintained during DML operations. Thus the visible index is ORD_CUSTOMER_IX2, and inserts, updates, and deletes maintain both indexes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!