cancel
Showing results for 
Search instead for 
Did you mean: 

Indexes

Former Member
0 Kudos

Hi ,

Can anyone tell how Indexes in Cube work internally to improve performance ?

What is Primary and secondary Index ?

How many index we can create for Cube ?

Can we create index for ODS ?

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kumar,

A primary index is defined in terms of the primary key fields of a table. It is set up by the system (example: ODS index).

A secondary index is any additional index defined on any combination of other fields. This can be set by the user (example: ODS as from BW3.x).

In cubes, one speaks about bitmap indexes (more appropriate to the star schema).

Indexes are useful in combination with DB statistics.

It is interesting to create a secondary index on an ODS if one knows that a certain field or combination of fields will be used as a selection parameter of a query and if this can improve query execution performance (high volumes of data).

Dimension tables have an index built on the Dim ID and another built on the SID values of the characteristics in that dimension by the system automatically.

It can make sense in some cases to add an additional index(s) on the Dimension table to allow an indexed read in stead of a full table scan the could occur depending on the filterin done in the query. This decision is just like what you go thru when to decide to add a secondary index to an ODS.

It can also make sense to build an additional index on Master Data tables fo rthe same reasons.

Secondary indexes can be added to an ODS thru the BW Admin Workbench, but indices on Dim and Master Data tables can usually only be cuilt by your DBA.

Hope it helps.

Regards,