Upgrade to Oracle Database 12c — Question 4

On your Oracle 12c database, you issue the following commands to create indexes:
SQL> CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customer_id, sales_rep_id);
SQL> CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customer_id, sales_rep_id);
Which statement is correct?

Answer options

Correct answer: D

Explanation

In Oracle 12c, when a bitmap index is created, it is not visible to queries unless explicitly specified. Therefore, even though both indexes are created, only the bitmap index (ORD_CUSTOMER_IX2) is visible in this scenario. The other options are incorrect as they misrepresent the visibility of the indexes.