dbTalk Databases Forums  

Query Performance - Pleaes help!

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


Discuss Query Performance - Pleaes help! in the microsoft.public.sqlserver.olap forum.



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

Default Query Performance - Pleaes help! - 05-21-2004 , 02:29 PM






Hello all,

I have following the query and the performance is VERY poor.
Can anybody help me optimize this query? Perhaps, the database design
may be revamped...

sum({Descendants([Projects].CurrentMember, [Projects].[Project Id])},
(iif([Time].currentmember.level.name <>
"Month",sum({tail({Filter({Descendants([Time].currentmember,[Time].[Mont
h] )
}, sum({[Project Status].[All Project Status]},[Measures].[Project Count
Help])>0)
})},[Measures].[Project Count Help]),[Measures].[Project Count Help])))

Please help,

Audrey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Query Performance - Pleaes help! - 05-25-2004 , 04:41 PM






are you using MOLAP?

have you read everything at www.sqlserverperformance.com

good luck


"Audrey Ng" <odd26uk (AT) yahoo (DOT) co.uk> wrote

Quote:
Hello all,

I have following the query and the performance is VERY poor.
Can anybody help me optimize this query? Perhaps, the database design
may be revamped...

sum({Descendants([Projects].CurrentMember, [Projects].[Project Id])},
(iif([Time].currentmember.level.name
"Month",sum({tail({Filter({Descendants([Time].currentmember,[Time].[Mont
h] )
}, sum({[Project Status].[All Project Status]},[Measures].[Project Count
Help])>0)
})},[Measures].[Project Count Help]),[Measures].[Project Count Help])))

Please help,

Audrey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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.