dbTalk Databases Forums  

MDX takes forever to return.

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


Discuss MDX takes forever to return. in the microsoft.public.sqlserver.olap forum.



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

Default MDX takes forever to return. - 06-16-2005 , 12:49 PM






Hi,

Why does the following MDX take such a long time to return results in Mdx
Sample Application:

SELECT {[Measures].[Unit Sales]} ON 0, CrossJoin({[Gender].DefaultMember},
{[Customers].[Name].Members}) on 1 FROM sales

while the following MDX takes nearly no time at all:

SELECT {[Measures].[Unit Sales]} ON 0, {[Customers].[Name].Members}on 1 FROM
sales


Conceptually, they are pretty much the same...

Thanks in advance,




Reply With Quote
  #2  
Old   
Chris Webb
 
Posts: n/a

Default RE: MDX takes forever to return. - 06-17-2005 , 04:55 AM






I would guess because the first query is hitting an aggregation, and the
second isn't.

Regards,

Chris
--
Blog at:
http://spaces.msn.com/members/cwebbbi/


"E" wrote:

Quote:
Hi,

Why does the following MDX take such a long time to return results in Mdx
Sample Application:

SELECT {[Measures].[Unit Sales]} ON 0, CrossJoin({[Gender].DefaultMember},
{[Customers].[Name].Members}) on 1 FROM sales

while the following MDX takes nearly no time at all:

SELECT {[Measures].[Unit Sales]} ON 0, {[Customers].[Name].Members}on 1 FROM
sales


Conceptually, they are pretty much the same...

Thanks in advance,





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.