Time taken for Exact same view to refresh

Post Reply
MSidat
Community Contributor
Posts: 110
Joined: Thu Aug 26, 2010 7:41 am
OLAP Product: TM1, PA
Version: PAL 2.0.8
Excel Version: 2016
Location: North West England

Time taken for Exact same view to refresh

Post by MSidat »

Hi, Wondered if anyone could assist with an issue we are having on one of our Financial Models.

I have opened a view for the first time in a cube at a highly consolidated level and it takes around 20 seconds for it to display. This is as expected for the first time.
Then without anyone changing any of the source data at all I click on recalc in Cube Viewer or open it again after closing the first instance down and it still takes the same amount of time for it to come back, I would have assumed the values would have been cached and as no 'dirty marker' has been set against the view it should come back instantly.

Looking in TM1Top whilst it is doing this i can see that the function is shown as GetViewByHandle and for the 20 seconds or so it cycles through displaying the names of some of the source cubes followed by " - rules".

It is a relatively complex setup with around 7 source cubes feeding into this cube and 2 virtual cubes.

We are using 64bit 9.5.2 FP1.
Always Open to Opportunities
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Time taken for Exact same view to refresh

Post by jim wood »

Was any data in any of the 7 source cubes updated?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Time taken for Exact same view to refresh

Post by declanr »

Does this happen with all cube views or just this specific one?

Its quite a rare one to be using but I have seen a certain parameter in action before... Do you have this parameter set in the tm1s.cfg.... UseStargateForRules=F?

It would be worth investigating the VMT and VMM parameters... just play about with them in dev and see what results you get would be my suggestion.
Declan Rodger
MSidat
Community Contributor
Posts: 110
Joined: Thu Aug 26, 2010 7:41 am
OLAP Product: TM1, PA
Version: PAL 2.0.8
Excel Version: 2016
Location: North West England

Re: Time taken for Exact same view to refresh

Post by MSidat »

Was any data in any of the 7 source cubes updated?
Nope, nothings changed at all.
Does this happen with all cube views or just this specific one?

Its quite a rare one to be using but I have seen a certain parameter in action before... Do you have this parameter set in the tm1s.cfg.... UseStargateForRules=F?

It would be worth investigating the VMT and VMM parameters... just play about with them in dev and see what results you get would be my suggestion.
UseStargateForRules is set to True.

VMT/VMM - Never really had to use these before, will have a place with these parameters. Are changes to these dynamic or will a restart of the service be required.
Always Open to Opportunities
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Time taken for Exact same view to refresh

Post by tomok »

Do you have rules in this cube that are calculating based on attributes and, if so, do you have rules on the attribute cubes?
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
User avatar
mattgoff
MVP
Posts: 518
Joined: Fri May 16, 2008 1:37 pm
OLAP Product: TM1
Version: 10.2.2.6
Excel Version: O365
Location: Florida, USA

Re: Time taken for Exact same view to refresh

Post by mattgoff »

tomok wrote:Do you have rules in this cube that are calculating based on attributes and, if so, do you have rules on the attribute cubes?
Is there a rule of thumb related to caching (or lack thereof) of attributes?

Matt
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Time taken for Exact same view to refresh

Post by tomok »

mattgoff wrote:Is there a rule of thumb related to caching (or lack thereof) of attributes?
The rule of thumb is that rule-based text attributes do not cache. Whether that means a view built off rules that reference those same attributes don't cache as well, I don't know. It's worth mentioning in case the OP wants to test that condition.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
User avatar
mattgoff
MVP
Posts: 518
Joined: Fri May 16, 2008 1:37 pm
OLAP Product: TM1
Version: 10.2.2.6
Excel Version: O365
Location: Florida, USA

Re: Time taken for Exact same view to refresh

Post by mattgoff »

tomok wrote:The rule of thumb is that rule-based text attributes do not cache. Whether that means a view built off rules that reference those same attributes don't cache as well, I don't know. It's worth mentioning in case the OP wants to test that condition.
Is that limited to attributes only or all string cells?
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Time taken for Exact same view to refresh

Post by tomok »

mattgoff wrote:Is that limited to attributes only or all string cells?
Haven't done any testing on that so I'm not sure. Would stand to reason that it would be the same for all string cells since there really is no difference.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
MSidat
Community Contributor
Posts: 110
Joined: Thu Aug 26, 2010 7:41 am
OLAP Product: TM1, PA
Version: PAL 2.0.8
Excel Version: 2016
Location: North West England

Re: Time taken for Exact same view to refresh

Post by MSidat »

Tomok,

Yes I have rules that look for attributes against a time dimension which does have rules in it and also against my Contract dimension which has a rule in it to determine its first parent.

I have managed to remove all the rules in the attributes against the time dimension as these should only be updated once as year.

I am presuming doing an Elpar in my Rule files for my affected Cube will have the same impact as doing an attrs against an attribute which has an elpar rule against it?

PS. I am only using the Elpar attribute in my feeders in this cube and 2 virtual source cubes which undertakes calculations at a higher level.
Always Open to Opportunities
Catherine
Posts: 110
Joined: Wed May 20, 2009 7:30 am
OLAP Product: TM1
Version: 10.2.2 - PA
Excel Version: 2010
Location: Rennes, France

Re: Time taken for Exact same view to refresh

Post by Catherine »

declanr wrote: It would be worth investigating the VMT and VMM parameters... just play about with them in dev and see what results you get would be my suggestion.
I agree with declanr. I once met the problem, and increasing the VMM parameter solved it.
Have you tried it?
I guess it does not require a restart of the service; as it is a data in a cube, it should be directly in RAM, and taken into account.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Time taken for Exact same view to refresh

Post by tomok »

MSidat wrote:I am presuming doing an Elpar in my Rule files for my affected Cube will have the same impact as doing an attrs against an attribute which has an elpar rule against it?

PS. I am only using the Elpar attribute in my feeders in this cube and 2 virtual source cubes which undertakes calculations at a higher level.
As long as the ELPAR rule is not used to populate a string value then you should be OK. While it can be very convenient to use rules to populate attributes, especially for the time dimension, don't do it if you are using those attributes to write other rules against. I always populate them with TI, or via a spreasheet (like the time dimension which only needs updating once a year).
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Post Reply