/  7
 
Table of Contents
Attribute Relationships .......................................................................................... 2Attribute Relationships: ...................................................................................... 2Using Attribute Relationships: ............................................................................ 2KeyColumns and NameColumns: ........................................................................ 2Attribute Relationship Properties: ...................................................................... 2Important Tips: ................................................................................................... 3BIDS 2005 Vs BIDS 2008 ...................................................................................... 3Dimension Usage: .................................................................................................. 3Cubes and Measure Groups: ............................................................................... 3Forecasts and Actuals: ........................................................................................ 3Relationship Types: ............................................................................................. 3Unrelated Dimensions: ....................................................................................... 4Important Tips: ................................................................................................... 4Aggregations in SSAS 2005 ..................................................................................... 4Aggregations: ...................................................................................................... 4Creating Aggregations:........................................................................................ 4Aggregations and Partitions: ............................................................................... 4Aggregation Counts: ........................................................................................... 5Designing Aggregations: ..................................................................................... 5One-Third Rule: ................................................................................................... 5Important tips: .................................................................................................... 5Aggregations in SSAS 2008 ..................................................................................... 6Aggregations: ...................................................................................................... 6Creating Aggregations:........................................................................................ 6
 
Aggregations and Partitions: ............................................................................... 6Aggregation Usage: ............................................................................................. 6Aggregation Counts: ........................................................................................... 7Designing Aggregations: ..................................................................................... 7One-Third Rule: ................................................................................................... 7Important tips: .................................................................................................... 7
 A
ttribute Relationships
 A
ttribute Relationships:
Attribute Relationships are a way of telling how the analysis services engine howattributes are related to each other 
By default, all attributes are related only to the key attribute
This means all queries must go to the base level of data to be resolved
U
sing
 A
ttribute Relationships:
Attribute relationships can:- improve dimension and cube processing time- improve storage of the data on the disk- improve query performance
With all these benefits, using attribute relationships may be the single mostimportant thing one can do for the performance
eyColumns and NameColumns:
Key Columns specify which column(s) are required to make that particular attribute unique- Recall that a SELECT DISTINCT is issued for each attribute
An attribute with multiple key columns must have a column specified in theNameColumns property
 A
ttribute Relationship Properties:
Relationship type can be
Flexible:
Relationship can change over time
Rigid:
Relationships should not change over time
 
Cardinality can be
Many
:
Indicates a many-to-one relationship
O
n
e:
indicates a one-to-one relationship
I
mportant Tips:
Attribute relationships tell the engine how attributes role up to one another 
Properly defined attribute relationships make processing and querying faster 
Build attribute relationships whenever possible
Set attribute relationships to RIGID whenever possible
Make sure to set KeyColumns when necessary
BIDS
2005 Vs
BIDS
2008
In 2008 there is a separate tab for attribute relationships where as in 2005 itdidn¶t
Setting attribute relationships in 2005 is not particularly intuitive
2008 includes a graphical attribute relationship designer 
2008 blocks the processing of dimensions that 2005 allows, even though thestructure is not entirely correct
D
imension
U
sage:
Cubes and Measure Groups:
SSAS 2005/2008 can have multiple fact tables per cube
Different fact tables are needed when facts have:- Different dimensions- Same dimensions but at different levels of granularity
Each fact table gets its own measure group
F
orecasts and
 A
ctuals:
Actual sales are typically recorded at the daily grain
Forecasts/plans are often set at month or quarter level
Therefore, both forecast and actual fact records time to the time dimension butdo so at different levels of granularity
Relationship Types:
Dimensions and measure groups can be related in different ways
Regul
ar 
:
A direct relationship
F
act
:
A column in the fact table can be treated as a dimension (usually used for 

Share & Embed

More from this user

Add a Comment

Characters: ...