dbTalk Databases Forums  

Simple MDX query performance and memory issues

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


Discuss Simple MDX query performance and memory issues in the microsoft.public.sqlserver.olap forum.



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

Default Simple MDX query performance and memory issues - 08-18-2005 , 07:18 AM






I am having severe memory and performance issues when trying the
following type of query over long date ranges:


with
member [Measures].[31 Jul 2005] as 'Sum([Calendar Time].[01 Aug
2004]:[Calendar Time].[31 Jul 2005],[Measures].[Daily Profit Fund])'

select {[Measures].[31 Jul 2005]} on columns,
non empty {[Instruments].[Instrument Short Name].members} on rows

from [Positions by Instrument]

where ([Fund].[A],[Trader].[1])


A query like this uses up about 300MB of client system memory and takes
a few minutes to execute.. is this to be expected?


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

Default Re: Simple MDX query performance and memory issues - 08-19-2005 , 10:45 PM






have you check your aggregation by using the aggregation wizard?
if there is a lack of aggreagtion then the performance decrease.

try adding these info in the connectionstring:
cache policy=7;cache ratio=0.001;cache ratio2=0.001;non empty threshold= 1

normally you'll see an improvment.

"Nav" <nav.daheley (AT) gmail (DOT) com> wrote

Quote:
I am having severe memory and performance issues when trying the
following type of query over long date ranges:


with
member [Measures].[31 Jul 2005] as 'Sum([Calendar Time].[01 Aug
2004]:[Calendar Time].[31 Jul 2005],[Measures].[Daily Profit Fund])'

select {[Measures].[31 Jul 2005]} on columns,
non empty {[Instruments].[Instrument Short Name].members} on rows

from [Positions by Instrument]

where ([Fund].[A],[Trader].[1])


A query like this uses up about 300MB of client system memory and takes
a few minutes to execute.. is this to be expected?



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.