Which two statement are correct?

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 statement are correct?

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 statement are correct?

A.
Both the indexes are created; however, only the ORD_COSTOMER index is visible.

B.
The optimizer evaluates index access from both the Indexes before deciding on which index to
use for query execution plan.

C.
Only the ORD_CUSTOMER_IX1 index is created.

D.
Only the ORD_CUSTOMER_IX2 index is created.

E.
Both the indexes are updated when a new row is inserted, updated, or deleted In the orders
table.

Explanation:
11G has a new feature called Invisible Indexes. An invisible index is invisible to the
optimizer as default. Using this feature we can test a new index without effecting the execution
plans of the existing sql statements or we can test the effect of dropping an index without dropping
it.



Leave a Reply 8

Your email address will not be published. Required fields are marked *


Sunil

Sunil

Though the option-A and E is correct, the wording of A is not correct.

The correct statement would be:

Both the indexes are created; however, only the ord_customer_ix2 index is visible.

cg

cg

Same question but different responses as #118.

Google

Google

Here are a number of the websites we advise for our visitors.

Google

Google

Here are some links to web sites that we link to since we think they may be worth visiting.

Google

Google

Very few websites that come about to be in depth below, from our point of view are undoubtedly well worth checking out.

SEO services in Lahore

SEO services in Lahore

Here is a superb Weblog You may Find Interesting that we Encourage You

create your own app

create your own app

The facts talked about within the report are some of the very best accessible