Cognos BI MDX Performance

Post Reply
dan.kelleher
Community Contributor
Posts: 128
Joined: Wed Oct 14, 2009 7:46 am
OLAP Product: TM1
Version: 9.4
Excel Version: 11
Location: London

Cognos BI MDX Performance

Post by dan.kelleher »

Hi,

We're seeing some poor performance of MDX queries that are being run in TM1 via Cognos BI. These queries are run as part of a prompt page generation for a Report Studio report. We have noticed that i's not the MDX that's creating the view that's taking a long time, but that there is a large gap (30s) between some of the executed MDX expressions. Does anyone know why this gap exists, and how we can run the MDX concurrently?

Code: Select all


35404 DEBUG 14/01/2013 12:22:15 TM1.MdxViewCreate SELECT DESCENDANTS([caps_rp_m].[Total Amount], 2147483645, SELF_AND_BEFORE) PROPERTIES MEMBER_NAME, MEMBER_ORDINAL, CHILDREN_CARDINALITY, DESCRIPTION, PARENT_UNIQUE_NAME ON AXIS(0), {} ON AXIS(1) FROM [fsr_rp_agg]
35404 DEBUG 14/01/2013 12:22:15 TM1.MdxViewCreate View is created.               
35404 DEBUG 14/01/2013 12:22:15 TM1.MdxViewCreate SELECT DESCENDANTS([caps_rp_m].[Total Variance], 2147483645, SELF_AND_BEFORE) PROPERTIES MEMBER_NAME, MEMBER_ORDINAL, CHILDREN_CARDINALITY, DESCRIPTION, PARENT_UNIQUE_NAME ON AXIS(0), {} ON AXIS(1) FROM [fsr_rp_agg]
35404 DEBUG 14/01/2013 12:22:15 TM1.MdxViewCreate View is created.               
35404 DEBUG 14/01/2013 12:22:46 TM1.MdxViewCreate SELECT DESCENDANTS([caps_rp_m].[Total Amount], 2147483645, SELF_AND_BEFORE) PROPERTIES MEMBER_NAME, MEMBER_ORDINAL, CHILDREN_CARDINALITY, DESCRIPTION, PARENT_UNIQUE_NAME ON AXIS(0), {} ON AXIS(1) FROM [fsr_rp_agg]
35404 DEBUG 14/01/2013 12:22:46 TM1.MdxViewCreate View is created.  

marco
Posts: 23
Joined: Mon May 31, 2010 7:32 am
OLAP Product: TM1
Version: 10.2
Excel Version: 2010
Location: Netherlands

Re: Cognos BI MDX Performance

Post by marco »

You can preload (nightly) the selection on the prompt page with promt caching:

http://www-01.ibm.com/support/docview.w ... wg21340352
User avatar
mce
Community Contributor
Posts: 352
Joined: Tue Jul 20, 2010 5:01 pm
OLAP Product: Cognos TM1
Version: Planning Analytics Local 2.0.x
Excel Version: 2013 2016
Location: Istanbul, Turkey

Re: Cognos BI MDX Performance

Post by mce »

Hi Dan,

Hope you are well. Executing the Descendants function for a consolidation element in the measure dimension might be the reason for this performance issue. In response to the query, probably TM1 is sending too much information for Cognos BI to handle and evaluate and hence it is taking a lot of time for Cognos BI to decide and send the next MDX statement. In this case, I would try avoiding this sort of a hierarchy function in a measure dimension. Hope this helps.

Regards,
User avatar
sachin
Posts: 92
Joined: Fri Jan 15, 2010 9:54 pm
OLAP Product: Transformer,SSAS, EP, TM1
Version: 7.3 2005 10.1 10.1.1
Excel Version: 2013
Contact:

Re: Cognos BI MDX Performance

Post by sachin »

dan.kelleher wrote:Hi,

We're seeing some poor performance of MDX queries that are being run in TM1 via Cognos BI. These queries are run as part of a prompt page generation for a Report Studio report. We have noticed that i's not the MDX that's creating the view that's taking a long time, but that there is a large gap (30s) between some of the executed MDX expressions. Does anyone know why this gap exists, and how we can run the MDX concurrently?
What is your version of BI and TM1? Below are couple of points that helped us. May be you will find it useful.
  1. In case you have not seen this, please look at this article by IBM - http://www-01.ibm.com/support/docview.w ... wg21505253 ... following it, has tremendously helped us
  2. Use DQM ... this is like a turbo boost for race cars. If you use DQM, reports run a LOT faster :D ... be advised, DQM has some stricter rules regarding the way reports need to be built. For some expressions that worked for CQM, they may not work with DQM. You will have to alter them a little
Check out my blog for some good information on TM1, SPSS
Post Reply