Page 1 of 1

Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Thu Jul 30, 2020 7:27 am
by HighKeys
Hello Community,

i try to transfer many data in a process, one of the cubes feeds many others, so the transfer runs endless cause the feeder evaluation starts after adding one value into it (thats was i think), The process runs fine before i changed my feeder model (reduces heavy overfeeding -8 GB RAMĀ“from feeders cleared)

Now the process runs over 18h in BulkLoadMode, is there an way to deactivate the Feeder Evaluation so i can process the feeders after the datattransfer in the Epilog?

I can post the code but its a really general transfer process.

Thanks for your help!

Re: Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Thu Jul 30, 2020 7:36 am
by Elessar
Hi,

It's a proven practice to turn off the rule while process runs:
Prolog: RuleLoadFromFile (cCube, cDummyEmptyRuleFile);
Epilog: RuleLoadFromFile (cCube, '');

Re: Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Thu Jul 30, 2020 8:54 am
by HighKeys
Hi Elessar!

Thanks for your fast answer!, So i have to create a empty Rule file in the datadirectory, then i load this empty file, start the transfer, after complete the transfer i add " RuleLoadFromFile (cCube, '');" to load the original Rule?


The IBM Docs says:
RuleLoadFromFile('Sales', ' ');
This example creates a rule for the Sales cube using the file named Sales.rux in the server's data directory.
So but if the Cubename.Rux file exist already then i would load this?


Thanks for your help!

Re: Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Thu Jul 30, 2020 12:00 pm
by lotsaram
I suggest you have a look at the bedrock library bedrock.cube.rule.manage

Re: Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Thu Jul 30, 2020 1:10 pm
by Edward Stuart
If you simply want to remove the rule then you can use CubeRuleDestroy(CubeName) instead of loading an empty rule file

Re: Turbo Integrator - Decativate Feeder evaluation while process runs

Posted: Sun Aug 02, 2020 7:33 pm
by Bakkone
Would you go with unloading rules before trying batchupdate?