Saving the rule file and recalculation of feeders

Post Reply
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Saving the rule file and recalculation of feeders

Post by mvaspal »

Hi

I am wondering this is a new feature in 10.2.x, I saw it in 10.2.2 now, or did I miss it in earlier versions?

I changed a rule and saved it but did not change the feeder section. The rule was saved in 1 sec, no feeder recalc was kicked off. Then I amended the feeder section, saved the rule, it took much longer because it recalculated the feeders.


If it is a new feature it is really useful because if you need to amend a rule in a cube with heavy feeders but you do not need to change the feeders then it takes a second to save the rule, enabling such changes even during peak usage periods.

Thanks
Matyas
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Saving the rule file and recalculation of feeders

Post by lotsaram »

Yes. This is new in 10.2 and (generally) very useful. If feeder definition is not changed then rule save is limited to rule recompilation and feeder generation only if feeder section is changed.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Re: Saving the rule file and recalculation of feeders

Post by mvaspal »

Hi
Thanks for quick response, I find it also great
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Saving the rule file and recalculation of feeders

Post by Steve Rowe »

Nice, they kept that quiet, a genuine step forwards!
Technical Director
www.infocat.co.uk
TrevorGoss
Community Contributor
Posts: 217
Joined: Thu Aug 15, 2013 9:05 am
OLAP Product: TM1
Version: 10.2.1.1
Excel Version: 14.0.6129.5000

Re: Saving the rule file and recalculation of feeders

Post by TrevorGoss »

This does indeed sound useful, is there documentation on this new feature?

Thanks
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Saving the rule file and recalculation of feeders

Post by David Usherwood »

We've dug into this a bit further - see here. Key takeaway is that the old 'Spacebar save' no longer fires feeders - you need to use CubeProcessFeeders instead. On balance, an improvement I'd say.
TrevorGoss
Community Contributor
Posts: 217
Joined: Thu Aug 15, 2013 9:05 am
OLAP Product: TM1
Version: 10.2.1.1
Excel Version: 14.0.6129.5000

Re: Saving the rule file and recalculation of feeders

Post by TrevorGoss »

We've dug into this a bit further - see here
Thanks for that Dave.
Key takeaway is that the old 'Spacebar save' no longer fires feeders - you need to use CubeProcessFeeders instead.
In performance Modeler, inside the properties tab of a TM1 service, there is an option called "Generate feeders automatically", this gives you a drop down list of 3 options: "No","Only automatically generated rules" and "All rules".

Are you aware of this and do you know if it makes a difference to the kicking of feeders. If I select "All rules", can choosing this option act as a replacement for using the CubeProcessFeeders function?

Thanks.

Trevor.
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Re: Saving the rule file and recalculation of feeders

Post by mvaspal »

Hi
I never used it but I would think the All Rules option generates feeder statements for your rule lines (including those manual rules that you wrote), and it is not for re-firing the existing feeders.
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: Saving the rule file and recalculation of feeders

Post by tomok »

TrevorGoss wrote:
In performance Modeler, inside the properties tab of a TM1 service, there is an option called "Generate feeders automatically", this gives you a drop down list of 3 options: "No","Only automatically generated rules" and "All rules".

Are you aware of this and do you know if it makes a difference to the kicking of feeders. If I select "All rules", can choosing this option act as a replacement for using the CubeProcessFeeders function?
That's likely only going to be applicable to PM. How do I know? I don't for sure but common sense would tell me that for the TM1 service to know what to do during a rule save either the service would have a setting to tell it what to do or the client interface would. In this situation I know there is no setting in the TM1S.cfg file for this so the service isn't going to know automatically what to do so PM is going to be the one to tell it what to do. If you are doing all your development in PM then your OK. If you are doing a mixture then this isn't go to be a complete replacement for CubeProcessFeeders.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
TrevorGoss
Community Contributor
Posts: 217
Joined: Thu Aug 15, 2013 9:05 am
OLAP Product: TM1
Version: 10.2.1.1
Excel Version: 14.0.6129.5000

Re: Saving the rule file and recalculation of feeders

Post by TrevorGoss »

Mvaspal and Tom,

thanks for both of your resposnes.

We do not develop in Performance Modeler, partly because of legacy, partly because it gets on our nerves.
If you are doing a mixture then this isn't go to be a complete replacement for CubeProcessFeeders.
You are most likely correct Tom, its not as if the CubeProcessFeeders function call is a real difficulty, especially if you run it as a start up chore, or a chore during the middle of the night.

Thanks.
Post Reply