1Z0-052 · Question #137
View the Exhibit and examine the command used to create the ZONEDATA table. The table contains a million rows for zonewise analysis in the DSS system. DML operations are performed very rarely on the…
The correct answer is A. Bitmap index. A bitmap index is optimal for low-cardinality columns in DSS environments with infrequent DML. The ZONE column in a decision support system typically holds a small number of distinct values, making bitmap indexing the right choice.
Question
View the Exhibit and examine the command used to create the ZONEDATA table. The table contains a million rows for zonewise analysis in the DSS system. DML operations are performed very rarely on the table. You decide to prepare an index on the ZONE column to enhance the performance of the queries on the ZONE column. Which type of index would you select in this scenario?
Exhibit
Options
- ABitmap index
- BReverse key index
- CNormal BTree index
- DFunctionbased index
How the community answered
(18 responses)- A72% (13)
- B6% (1)
- C6% (1)
- D17% (3)
Why each option
A bitmap index is optimal for low-cardinality columns in DSS environments with infrequent DML. The ZONE column in a decision support system typically holds a small number of distinct values, making bitmap indexing the right choice.
Bitmap indexes are designed for columns with low cardinality (few distinct values like zone names), large tables, and rare DML operations. In a DSS environment where queries scan large portions of the table and updates are infrequent, bitmap indexes provide superior query performance because Oracle can perform fast bitwise AND/OR operations across zone bitmaps instead of traversing a BTree structure.
A reverse key index is used to redistribute sequential inserts across index blocks to reduce contention in high-concurrency OLTP or RAC environments, not to optimize read queries on low-cardinality columns.
A normal BTree index performs best on high-cardinality columns where queries return a small percentage of rows; it is inefficient for low-cardinality columns like ZONE because it does not compress repetitive values.
A function-based index is used when queries apply a SQL function or expression to the indexed column in the WHERE clause; no such function is described in this scenario.
Concept tested: Bitmap index use case for low-cardinality DSS columns
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-indexes.html
Topics
Community Discussion
No community discussion yet for this question.
