Advanced Tuning   «Prev  Next»
Lesson 1

Advanced techniques with Oracle indexes

Although we have covered indexes extensively in the series, there are still some obscure index features that you can use to greatly promote the performance of your Oracle queries. While all indexes serve to avoid the costly full-table scan, Oracle has developed a wealth of new indexing options that can speed certain types of queries.
This module discusses the benefits of
  1. bitmapped indexes,
  2. STAR query operations,
  3. STAR transformation queries,
  4. a concatenated index, and
  5. a function-based index.

Tuning with Indexes in Oracle
By the time you complete this module you should be able to:
  1. Explain the benefits of bitmapped indexes
  2. Describe a STAR query operation
  3. Describe a STAR transformation query
  4. Create a concatenated index
  5. Describe a function-based index
The next lesson reviews the limitations of standard Oracle indexes to understand why the new indexing methods were created.

Bitmap Indexes

Bitmap indexes are widely used in data warehousing applications, which have large amounts of data and ad hoc queries but a low level of concurrent transactions. For such applications, bitmap indexing provides:
  1. Reduced response time for large classes of ad hoc queries
  2. A substantial reduction of space usage compared to other indexing techniques
  3. Dramatic performance gains even on hardware with a relatively small number of CPUs or small amount of memory
  4. Very efficient maintenance during parallel DML and loads
Fully indexing a large table with a traditional B-tree index can be prohibitively expensive in terms of space because the indexes can be several times larger than the data in the table. Bitmap indexes are typically only a fraction of the size of the indexed data in the table.