dbTalk Databases Forums  

Drill-Through On a Large ROLAP Dimension

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


Discuss Drill-Through On a Large ROLAP Dimension in the microsoft.public.sqlserver.olap forum.



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

Default Drill-Through On a Large ROLAP Dimension - 11-21-2006 , 12:31 PM






Hi,

I have a large ROLAP Fact Dimension with about 100 Million Rows. I have a
fact dimension defined on it. I have defined a simple drill through on the
cube. When I try to drill through in SS Mgmt. Studio, it just hangs. Looking
at the generated SQL query, it seems insanely large. Are there any ways to
optimize drill through actions?

Thanks,

Mukesh

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Drill-Through On a Large ROLAP Dimension - 11-21-2006 , 07:21 PM






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 ***

Reply With Quote
  #3  
Old   
Mukesh Kumar
 
Posts: n/a

Default Re: Drill-Through On a Large ROLAP Dimension - 11-22-2006 , 11:36 AM



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 ***


Reply With Quote
  #4  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Drill-Through On a Large ROLAP Dimension - 11-22-2006 , 04:34 PM



Mukesh, is MOLAP storage of your fact dimension an option - this should
be much faster to query, but may incur long processing times?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #5  
Old   
Mukesh Kumar
 
Posts: n/a

Default Re: Drill-Through On a Large ROLAP Dimension - 11-22-2006 , 05:21 PM



Agree. But considering my fact table will have 300 million rows, I am worried
about processing time.. May be I should Try it out.

"Deepak Puri" wrote:

Quote:
Mukesh, is MOLAP storage of your fact dimension an option - this should
be much faster to query, but may incur long processing times?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


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.