BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development
 
Oracle Home
Oracle Training
SQL Tuning Consulting
Oracle Tuning Consulting
Data Warehouse Consulting
Oracle Project Management
Oracle Security Assessment
Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Oracle Monitoring
Remote Support Benefits
Remote Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 
 

Oracle Bitmap Index Tuning

Oracle Tips by Burleson Consulting

Implement Bitmap Indexes


An ad-hoc query system was experiencing slow query performance. The system was read-only except for a 30-minute window at night for data loading. Inspection of the SQL showed complex combinational WHERE clauses like:

WHERE color=’BLU’ and make=’CHEVY’ and year=1997 and doors=2;

Concatenated B-tree indexes were being used and the distinct values for each of these columns numbered less than 200. By replacing the b-tree indexes with bitmap indexes, the overall performance improvement of the system was incredible.

Queries that had taken as much as three seconds to run were reduced to runtimes of under one-tenth of a second.

Be Careful with bitmap indexes!

Bitmap indexes do not update quickly, so the best approach is to only use them in database that update all rows in a nightly “batch”. In this fashion, the bitmap is dropped, changes applied to the table, and the bitmap rebuilt.
 

SEE CODE DEPOT FOR FULL SCRIPTS


This is an excerpt from my latest book "Oracle Tuning: The Definitive Reference". 

You can buy it direct from the publisher for 50%-off and get instant access to the code depot of Oracle tuning scripts:

http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

 


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call BC Remote DBA today.

 

 

 

Remote DBA Service
 

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

 

Copyright © 1996 -  2009 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter