Improve MDX query in 2005

This is a discussion on Improve MDX query in 2005 within the sqlserver-olap forums in Data Warehousing category; Hello, is there way how to improve this MDX query member [Avg] as [Measures].[Count]/count([Atr1]*[Atr2]), non_empty_behavior=[Measures].[Count] select [Atr1].children * [Avg] on 0, [Atr3].children on 1 from MYCUBE This query compute the average [Count]/[Atr2] of [Atr1] but it is very slow (for example Atr1 is year and Atr2 is Month and I want the month average of every year; but in my case Atr1 and Atr2 are not in hiearchy) I think it can be used FE cache but I don't know how. Thank you Ondrej Srubar...

Go Back   Database Forum > Data Warehousing > sqlserver-olap

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-21-2008, 09:17 AM
Default Improve MDX query in 2005

Hello,
is there way how to improve this MDX query

member [Avg] as [Measures].[Count]/count([Atr1]*[Atr2]),
non_empty_behavior=[Measures].[Count]
select [Atr1].children * [Avg] on 0, [Atr3].children on 1 from MYCUBE

This query compute the average [Count]/[Atr2] of [Atr1] but it is very slow
(for example Atr1 is year and Atr2 is Month and I want the month average of
every year; but in my case Atr1 and Atr2 are not in hiearchy)

I think it can be used FE cache but I don't know how.

Thank you
Ondrej Srubar

Reply With Quote
  #2  
Old 08-22-2008, 09:31 AM
Default RE: Improve MDX query in 2005

This question is wrong. The situation is more complicated. ;(

Ondra Srubar



"Ondra" wrote:

> Hello,
> is there way how to improve this MDX query
>
> member [Avg] as [Measures].[Count]/count([Atr1]*[Atr2]),
> non_empty_behavior=[Measures].[Count]
> select [Atr1].children * [Avg] on 0, [Atr3].children on 1 from MYCUBE
>
> This query compute the average [Count]/[Atr2] of [Atr1] but it is very slow
> (for example Atr1 is year and Atr2 is Month and I want the month average of
> every year; but in my case Atr1 and Atr2 are not in hiearchy)
>
> I think it can be used FE cache but I don't know how.
>
> Thank you
> Ondrej Srubar
>

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 03:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.