![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| ... |
|
Hi everyone, i ran an mdx query and same query in sql server. thy both gave me the same result and both took the same time (40 sec.) . thy are also on the same server computer. can it be that thy took the same time? thanks |
#3
| |||
| |||
|
|
Could you provide more details of the problem you are trying to solve, and of your cube design, because you already received generic answers in an earlier thread: http://groups-beta.google.com/group/...rver.olap/msg/ d55c70e33391eb73 ... First of all, OLAP only improves performance when complex aggregations are involved. RDBMS can hold its own quite well when no or simple aggregations are used. So it is indeed possible both queries take the same time, not necessarily with correlation to the use of leaf members. Second, in some cases, using OLAP not only does not improve performance, it also hinders it. One example that comes to mind is counting (or more specifically, distinct counting). Hi everyone, i ran an mdx query and same query in sql server. thy both gave me the same result and both took the same time (40 sec.) . thy are also on the same server computer. can it be that thy took the same time? thanks - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Based on this info, I'm still not sure what improvements can be made, but here are some further questions: - Which 2 dimensions have 5 million members, and how deep are their hierarchies? Hopefully, they don't have many Member Properties, which could consume server memory. - If there are calculated measures, are they empty when certain base measures are empty, and has their "Non Mepty Behavior" Property been set accordingly? - Will very few of the customers typically return data in the MDX query (ie. sparse data set) - in which case, maybe that can be exploited to improve performance? - Is the date range typically small or large (in the latter case, it may be possible to leverage aggregations)? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Maybe my questions weren't clear enough, but I'm not sure about your answers for the last 2: - Will very few of the customers typically return data in the MDX query (ie. sparse data set) - in which case, maybe that can be exploited to improve performance? (So, how many Customers are there, and of these how many are typically Non Empty in your MDX query?) - Is the date range typically small or large (in the latter case, it may be possible to leverage aggregations)? (Is the range a few days, or a few hundred days..?) - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#8
| |||
| |||
|
| with |
![]() |
| Thread Tools | |
| Display Modes | |
| |