dbTalk Databases Forums  

Slow performance on Custom Rollup Formula

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


Discuss Slow performance on Custom Rollup Formula in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tjibbe Chris Kuipers
 
Posts: n/a

Default Slow performance on Custom Rollup Formula - 10-08-2003 , 03:31 PM






I have a cube with a measure that indicates a maximum capacity. It can be
summarized along all the dimensions, except for the time dimension, on which
it should be aggregated by taking the maximum value. To get this done, I've
used a custom rollup formula, something like
MAX( time.currentlevel.children ).
The performance of the cube after processing is very poor, in fact, I havent
even been able to check if this produces the right results for me. I've
tested performance with the 'browse data' function in the MAS Enterprise
manager.
The cube has 3 other dimensions that are rolled up by sum (plain rollup).

Is there something wrong with my custom rollup formula, or is the bad
performance what I should expect.?



Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Slow performance on Custom Rollup Formula - 10-08-2003 , 03:51 PM






Care to post the formula?

tom @ the domain below
www.tomchester.net

"Tjibbe Chris Kuipers" <asdf@a.c> wrote

Quote:
I have a cube with a measure that indicates a maximum capacity. It can be
summarized along all the dimensions, except for the time dimension, on
which
it should be aggregated by taking the maximum value. To get this done,
I've
used a custom rollup formula, something like
MAX( time.currentlevel.children ).
The performance of the cube after processing is very poor, in fact, I
havent
even been able to check if this produces the right results for me. I've
tested performance with the 'browse data' function in the MAS Enterprise
manager.
The cube has 3 other dimensions that are rolled up by sum (plain rollup).

Is there something wrong with my custom rollup formula, or is the bad
performance what I should expect.?





Reply With Quote
  #3  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Slow performance on Custom Rollup Formula - 10-08-2003 , 05:24 PM



"Tjibbe Chris Kuipers" <asdf@a.c> wrote

Quote:
I have a cube with a measure that indicates a maximum capacity. It can be
summarized along all the dimensions, except for the time dimension, on
which
it should be aggregated by taking the maximum value. To get this done,
I've
used a custom rollup formula, something like
MAX( time.currentlevel.children ).
The performance of the cube after processing is very poor, in fact, I
havent
even been able to check if this produces the right results for me. I've
tested performance with the 'browse data' function in the MAS Enterprise
manager.
The cube has 3 other dimensions that are rolled up by sum (plain rollup).

Is there something wrong with my custom rollup formula, or is the bad
performance what I should expect.?
How many levels Time dimension has ? You might be better of by defining cell
calculation with scope on all levels of Time dimension except the last one
with the expression of

MDX(Descendands(Time.CurrentMember, Time.LastLevelOfTimeLikeDays))

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================




Reply With Quote
  #4  
Old   
Tjibbe Chris Kuipers
 
Posts: n/a

Default Re: Slow performance on Custom Rollup Formula - 10-09-2003 , 02:07 AM



"Mosha Pasumansky [MS]" <moshap (AT) microsoft (DOT) com> wrote

Quote:
"Tjibbe Chris Kuipers" <asdf@a.c> wrote in message
news:3f847393$0$58698$e4fe514c (AT) news (DOT) xs4all.nl...
I have a cube with a measure that indicates a maximum capacity. It can be
summarized along all the dimensions, except for the time dimension, on
which
it should be aggregated by taking the maximum value. To get this done,
I've
used a custom rollup formula, something like
MAX( time.currentlevel.children ).
The performance of the cube after processing is very poor, in fact, I
havent
even been able to check if this produces the right results for me. I've
tested performance with the 'browse data' function in the MAS Enterprise
manager.
The cube has 3 other dimensions that are rolled up by sum (plain rollup).

Is there something wrong with my custom rollup formula, or is the bad
performance what I should expect.?

How many levels Time dimension has ? You might be better of by defining cell
calculation with scope on all levels of Time dimension except the last one
with the expression of

MDX(Descendands(Time.CurrentMember, Time.LastLevelOfTimeLikeDays))


In reaction on the previous posts:

- The Custom rollup formula I used was: Max(
datum.currentmember.children )

- The Dimension has 5 levels (Century, Year, Month, Day, Hour) with
569808 members on the hour-level

- How/Where would I define cell calculation?


Reply With Quote
  #5  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Slow performance on Custom Rollup Formula - 10-09-2003 , 12:14 PM



Quote:
- How/Where would I define cell calculation?
Cell calculations can be defined in the Cube Editor. This feature is enabled
only in Enterprise Edition.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================




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.