dbTalk Databases Forums  

SSAS2005: optimizing queries for fact tables?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss SSAS2005: optimizing queries for fact tables? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default SSAS2005: optimizing queries for fact tables? - 12-01-2006 , 09:17 AM






Hi,

there is a way to optimize the query executed by SSAS when we use referenced
dimensions and the materialized option?

I have 1 main dimension and 5 small dimensions connected to my fact table
through this main dimension
But SSAS execute a bad query and join multiple times the intermediate
dimension table in the query instead of doing only 1 join

select ....
i1.key1,
i2.key2,
i3.key3,
i4.key4
from fatctable
inner join intermediatetable i1 on k1 = k1
inner join intermediatetable i2 on k1 = k1
inner join intermediatetable i3 on k1 = k1
inner join intermediatetable i4 on k1 = k1

instead of:
select ....
i1.key1,
i1.key2,
i1.key3,
i1.key4
from fatctable
inner join intermediatetable i1 on k1 = k1

I don't want to change my source table by a view which do the job, I really
want to know how I can tell SSAS to do this job by himself.
In a dimension there is an option to process by attribute or by table, but I
have not found an equivalent option for the fact tables.

Thanks for your guides.

Jerome.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.