Thanks Deepak,
It takes about two minutes in SSMS query window. If I simplify the query, it
takes a lot less time.
"Also, are there any indexes on the fact table, and do these correspond to
the dimensions specified in the drillthrough?"
That is one thing I am most appaled at. Even thought my MDX was pretty
simple and had one FactDimension column returned and a time filter applied,
the SQL emitted looks very complex. It includes all dimensions, all levels of
the dimensions and such.
"Deepak Puri" wrote:
Quote:
Hi Mukesh,
If you try to run the generated SQL query directly against the fact
table, does it still hang up or time out? Also, are there any indexes on
the fact table, and do these correspond to the dimensions specified in
the drillthrough?
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com *** |