Rules and feeders

Post Reply
jonathan.d
Posts: 43
Joined: Mon May 18, 2009 8:41 am
Version: TM1 9.4 MR1
Excel Version: 2003

Rules and feeders

Post by jonathan.d »

My question mainly revolves around the way TM1 engine treats rules and feeders when the server loads.

Is it on server startup only, feeder flags are put in place where applicable and are only really looked into on request of a value by a user after which the requested value then sits in memory?

Also, what would be the safest way to make changes to rules and feeders for a large model after it sits in memory?

Would saving changed rule files which are fed from serveral cubes lock the entire server, leaving it to get stuck in an infinite loop?
User avatar
Steve Rowe
Site Admin
Posts: 2416
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: Rules and feeders

Post by Steve Rowe »

Feeders are updated when
The server is brought up,
Data is entered,
Rules are saved
A cube is reloaded into memory.
are only really looked into on request of a value by a user after which the requested value then sits in memory
Broadly correct.
Also, what would be the safest way to make changes to rules and feeders for a large model after it sits in memory?
You need to use the rules editor really I don't think there is another option, this will force the system to recompile all the feeders that originate in that rule sheet and can take a very long time to save if this is the "central" cube, this will lock your whole server. It's important to note that rule saveing doesn't clear feeders from a cube, so if you change a feeder the flags from the old version of the feeder will be present in the cube. This can lead to odd results... The only way to clear feders is to restart the server (100% good result) or unloading and reloading a cube which can be very awkward in a muli-cube system.

Would saving changed rule files which are fed from serveral cubes lock the entire server, leaving it to get stuck in an infinite loop?
No


HTH
Technical Director
www.infocat.co.uk
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Rules and feeders

Post by Steve Vincent »

RE: the last point - not unless the feeders were screwed up and made the server try to feed too much, in which case it'll lock for quite a while then eventually the server crashes when it runs out of memory. Been there, done that, learnt the lesson ;)
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Gregor Koch
MVP
Posts: 263
Joined: Fri Jun 27, 2008 12:15 am
OLAP Product: Cognos TM1, CX
Version: 9.0 and up
Excel Version: 2007 and up

Re: Rules and feeders

Post by Gregor Koch »

just a slight adjustment....
Feeders are also reprocessed when executing the TI function CubeProcessFeeders.
Could be helpfull.
jonathan.d
Posts: 43
Joined: Mon May 18, 2009 8:41 am
Version: TM1 9.4 MR1
Excel Version: 2003

Re: Rules and feeders

Post by jonathan.d »

Appreciate everyones input.
Post Reply