dbTalk Databases Forums  

Performance Problems - Aggregation and MOLAP

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


Discuss Performance Problems - Aggregation and MOLAP in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karthik Rao
 
Posts: n/a

Default Performance Problems - Aggregation and MOLAP - 12-24-2005 , 05:27 AM






I would like to improve performance on queries by persisting calculated
values. I could run an overnight job to calculate all cells, or I could
persist parts of a sub-cube that a client creates.

Is this what aggregation does? Or are calculated values re-calculated
at each query?

I have tried aggregation etc and I had the counts refreshed and all
that. But my query erformance has not improved at all. Moreover BIDS
hangs quite often, as it tries to synchronize or something (I see a
process OLPSynch that gets quite active when this happens.

Where can I find help on aggregations? (Has to be a lot better than BOL
:-))


Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-24-2005 , 12:07 PM






with AS2000 you can creatre new cubes which contains preaggregated values,
then use this cube in your formula, or calculated cells.

AS2005 cache the formula results, so when a user ask for a formula, the
result is cached on the server, next users will hit the cache.

"Karthik Rao" <rao.karthik.s (AT) gmail (DOT) com> wrote

Quote:
I would like to improve performance on queries by persisting calculated
values. I could run an overnight job to calculate all cells, or I could
persist parts of a sub-cube that a client creates.

Is this what aggregation does? Or are calculated values re-calculated
at each query?

I have tried aggregation etc and I had the counts refreshed and all
that. But my query erformance has not improved at all. Moreover BIDS
hangs quite often, as it tries to synchronize or something (I see a
process OLPSynch that gets quite active when this happens.

Where can I find help on aggregations? (Has to be a lot better than BOL
:-))




Reply With Quote
  #3  
Old   
Karthik Rao
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-26-2005 , 12:27 AM



Thanks, Jeje,
I have read as much, but am looking to understand this a little more in
detail.
Help, anybody?


Reply With Quote
  #4  
Old   
Jéjé
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-26-2005 , 08:05 AM



you want to learn more for which solution?
preaggregated values in a cube (AS2000)?
or how the results are cached in AS2005?

Microsoft has published a sample project called "T3 Project" based on
AS2000.
This project demonstrate how to create a terrabyte cube.
there is some preaggregated values.

http://www.microsoft.com/presspass/p...e-ScalePR.mspx
(the link to the detailed information is wrong in the presspass :-( )


"Karthik Rao" <rao.karthik.s (AT) gmail (DOT) com> wrote

Quote:
Thanks, Jeje,
I have read as much, but am looking to understand this a little more in
detail.
Help, anybody?




Reply With Quote
  #5  
Old   
Karthik Rao
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-26-2005 , 09:28 AM



Thanks, I am looking for 2005 behavior. And whatever I have read so far
has been pretty sketchy. And I am a newbie too. :-)

Jéjé wrote:

Quote:
you want to learn more for which solution?
preaggregated values in a cube (AS2000)?
or how the results are cached in AS2005?

Microsoft has published a sample project called "T3 Project" based on
AS2000.
This project demonstrate how to create a terrabyte cube.
there is some preaggregated values.

http://www.microsoft.com/presspass/p...e-ScalePR.mspx
(the link to the detailed information is wrong in the presspass :-( )


"Karthik Rao" <rao.karthik.s (AT) gmail (DOT) com> wrote in message
news:1135578433.607780.54700 (AT) g44g2000cwa (DOT) googlegroups.com...
Thanks, Jeje,
I have read as much, but am looking to understand this a little more in
detail.
Help, anybody?



Reply With Quote
  #6  
Old   
Jéjé
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-26-2005 , 09:44 AM



ok...

if you really suffer "big" performance issues with AS2005...
you can do the same thing as with AS2000, you can create a preaggregated
measure group and use it in particular cases.
for example, you have a table which contains the quantity sold at the
category level of your product dimension, something like this could help
you:

Scope(products.[Product Category].members, measures.Qty);
measures.Qty = measures.PreAggrCategQty
End Scope;

But with AS2005, the performance is excellent.
but there is a big difference between cold cache and warm cache. when a user
access the first time a cube, the cube is not in memory, so there is a delay
to load it into memory. next queries are far better due to the cache access.

you can schedule some MDX queries easely with SQL 2005 to "fill the cache".
create an XML/A command which contain the MDX query you want, go to the SQL
2005 agent, create a new sceduled task to execute this XML/A command.

If you don't know how to write the MDX query and the overall XML/A command,
just start the SQL Profiler and intercept the requests made against your
OLAP server.
Then start your client application (for example the integrated visual studio
OLAP browser) and setup the pivot table to display what you want. the
profiler will display the MDX query and also the XML/A command generated.

maybe this helps you for the moment.

"Karthik Rao" <rao.karthik.s (AT) gmail (DOT) com> wrote

Thanks, I am looking for 2005 behavior. And whatever I have read so far
has been pretty sketchy. And I am a newbie too. :-)

Jéjé wrote:

Quote:
you want to learn more for which solution?
preaggregated values in a cube (AS2000)?
or how the results are cached in AS2005?

Microsoft has published a sample project called "T3 Project" based on
AS2000.
This project demonstrate how to create a terrabyte cube.
there is some preaggregated values.

http://www.microsoft.com/presspass/p...e-ScalePR.mspx
(the link to the detailed information is wrong in the presspass :-( )


"Karthik Rao" <rao.karthik.s (AT) gmail (DOT) com> wrote in message
news:1135578433.607780.54700 (AT) g44g2000cwa (DOT) googlegroups.com...
Thanks, Jeje,
I have read as much, but am looking to understand this a little more in
detail.
Help, anybody?




Reply With Quote
  #7  
Old   
Karthik Rao
 
Posts: n/a

Default Re: Performance Problems - Aggregation and MOLAP - 12-28-2005 , 01:20 AM



Thanks, Jeje
Am using Query Biuilder in reports instead, is a much easier way.

When I add a product to subcube area, the code uses a Filter function.
Is that any different from Subcube?

I would also like to pass an argument to my mdx. Like the product
category. So an external job can run for some product categories and
warm up the cache.

Can I build code to pass arguments in BIDS? Or do I need to move the
whole thing into a COM+ component or something?

Best regards


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.