Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Histogram VS bitmap index

RE: Histogram VS bitmap index

From: paquette stephane <stephane_paquette_at_yahoo.com>
Date: Tue, 30 May 2000 04:57:45 -0700 (PDT)
Message-Id: <10513.107083@fatcity.com>


In the case explained here ( a query on a table with only one condition on the gender column), a bitmap index will not help as the optimiser will do a full table scan.

Bitmap indexes are good when there are many of them, then the optimiser merge them (typically : the foreign keys of a fact table in a DSS system).

An histogram is a structure used when the data has not a regular distribution, it helps the optimiser in deciding for the best access path. The restriction with histograms is that it can not be used with bind variables.

HTH


Stephane Paquette
DBA Oracle
stephane_paquette_at_yahoo.com
spaquette_at_houra.fr
(33) 01 53 93 06 50 Received on Tue May 30 2000 - 06:57:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US