1Z0-007 · Question #163
In which scenario would index be most useful?
The correct answer is D. The indexed column contains a wide range of values. Index will be useful if the indexed column contains a wide range of values. Especially B- tree indexes will work better for tables with a wide range of values. But for tables just with some distinct values bitmap indexes will be more helpful. Incorrect Answers A: Oracle…
Question
In which scenario would index be most useful?
Options
- AThe indexed column is declared as NOT NULL.
- BThe indexed columns are used in the FROM clause.
- CThe indexed columns are part of an expression.
- DThe indexed column contains a wide range of values.
How the community answered
(41 responses)- A15% (6)
- B7% (3)
- C5% (2)
- D73% (30)
Explanation
Index will be useful if the indexed column contains a wide range of values. Especially B- tree indexes will work better for tables with a wide range of values. But for tables just with some distinct values bitmap indexes will be more helpful. Incorrect Answers A: Oracle automatically creates index for NOT NULL columns, so you don't need create an index B: There are only table names in the FROM clause, not columns. C: Index may be will not work if the indexed columns are part of an expression. You need to avoid expressions if you want to use index.
Topics
Community Discussion
No community discussion yet for this question.