GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 22 of 113    Print  
What type of Indexing mechanism do we need to use for a typical datawarehouse

Answered by on 2005-03-23 01:45:54: bitmap index



  
Total Answers and Comments: 8 Last Update: March 09, 2009   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 23, 2005 01:45:54   #1  
       

RE: What type of Indexing mechanism do we need to use for a typical datawarehouse
bitmap index
 
Is this answer useful? Yes | No
July 15, 2005 17:15:48   #2  
JaiTHM        

RE: What type of Indexing mechanism do we need to use for a typical datawarehouse
Function Index B-tree Index Partition Index Hash index etc..
 
Is this answer useful? Yes | No
August 25, 2005 15:02:36   #3  
J Lehew        

RE: What type of Indexing mechanism do we need to use for a typical datawarehouse
On the fact table it is best to use bitmap indexes. Dimension tables can use bitmap and/or the other types of clustered/non-clustered unique/non-unique indexes.

To my knowledge SQLServer does not support bitmap indexes. Only Oracle supports bitmaps.

 
Is this answer useful? Yes | No
August 26, 2005 08:26:43   #4  
shivi        

RE: What type of Indexing mechanism do we need to use for a typical datawarehouse
It generally depends upon the data which u hav ein table if u have less distinct values in particular column its always that u built up bit map index... rather that other one on dimension tables generally we have indexes...


 
Is this answer useful? Yes | No
January 19, 2006 00:46:24   #5  
sithusithu Member Since: December 2005   Contribution: 161    

RE: What type of Indexing mechanism do we need to use ...

That is based on requirement and size of your data mart/data warehouse; Most of the data warehouse is in Bitmap index

Cheers

Sithu


 
Is this answer useful? Yes | No
May 25, 2007 04:20:50   #6  
sri        

RE: What type of Indexing mechanism do we need to use ...

Typically for dimension tables we use bitmap index and for fact tables we use B-Tree index.


 
Is this answer useful? Yes | No
June 19, 2007 16:50:44   #7  
cetzhbo        

RE: What type of Indexing mechanism do we need to use ...
Space requirements for indexes in a warehouse are often significantly larger than the space needed to store the data especially for the fact table and particularly if the indexes are B*trees.Hence you may want to keep indexing on the fact table to a minimum. Typically you may have one or two concatenated B*tree indexes on the fact table; however most of your indexes should be bitmap indexes. Bitmap indexes on the foreign key columns on the fact table are often useful for star query transformation.
The maintenance window will also dictate whether you use partitioned indexes which can be faster and easier to maintain.
Bitmap indexes also take up much less space than B*tree indexes and so should be preferred. On the other hand dimension tables are much smaller compared with the fact table and could be indexed much more extensively. Any column of the dimension table that is frequently used in selections or is a level in a dimension object is a good candidate for indexing.

 
Is this answer useful? Yes | No
March 07, 2009 13:02:31   #8  
ibrarx Member Since: March 2009   Contribution: 7    

RE: What type of Indexing mechanism do we need to use for a typical datawarehouse
  1. Hash Index - If we know that the hashing will result in uniform distribution and doesn't create hotspots (spikes-chaining).
  2. Bitmap Index -
    If the degree of cardinality is high for the attribute means that there are more unique number of values for a particular attribute. Low cardinality attribute is not suitable for bitmap index because more number of records are locked which result in the locking of a whole table leading to the lock on a whole database.
  3. Join Index -
    If we have queries that target most of the time to a specific subset of data. This is similar to the creation of views but with the exception that it is materialized view.
  4. Cluster Index -
    This index is suitable for range queries.
  • OLTP's conventional indexes are not used for data warehouse these indexes are :
  • DENSE INDEX
  • SPARSE INDEX
  • MULTI LEVEL INDEX (B-TREE INDEX)

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape