Process running on PAoC takes significantly longer than local
Posted: Tue Dec 01, 2020 2:09 pm
Hi everyone,
I am running what should be a very simple process:
- create a view based on a single month and on one measure, Sales Revenue. Other dimensions are All N/Leaf elements. View only have leaf elements.
- for each cell in the view, look up the corresponding Units via a CellGetN in the same cube, purely a different measure all other elements are the same.
- derive the Price through some division
- write Price back to the cube.
So far pretty basic stuff.
If I run this process on my mega dataset of 3 records, it takes less than a second to run locally.
Running the same on PAoC takes a fair bit longer 812 seconds.
Dataset is identical, processes are identical etc. etc. as I took a backup from the PAoC cloud to run locally.
Local TM1 is 11.8.100.13 (PA 2.0.9.2 I believe), Cloud version I believe is earlier, 2.0.9.1
Local machine is a laptop - cannot comment on the PAoC server.
TM1s.CFG is the same apart from ports and paths.
The sales cube being queried and updated has some rules but no C: level rules above the data being queried or written to.
Remove rules completely with no impact on timing.
Where I do start getting some dramatic changes is when I tweak the ViewExtractSkip functions.
My Standard settings are:
ViewExtractSkipZeroesSet(sCube.Sales,sView,1);
ViewExtractSkipCalcsSet(sCube.Sales,sView,0);
ViewExtractSkipRuleValuesSet(sCube.Sales,sView,0);
If I change ViewExtractSkipCalcsSet to 1 or ViewExtractSkipRuleValuesSet to or have both set to 1, the process finishes almost instantly on PAoC.
Keep in mind that there are no C: levels in the view or when rules were removed no change.
As soon as I set both ViewExtractSkipCalcsSet and ViewExtractSkipRuleValuesSet to 0, the process just seems to get stuck at Completing Prolog...
I don't mind setting all three options to 1 but cannot figure out why it should differ between PAoC and Local.
A bug perhaps? Anyone seen this or noticed that their cloud processes at some point got very slow?
Thanks in advance.
Other notes:
Does not matter if I run via PAW or execute via Perspectives in the rich environment.
Sales cube has 10 dimensions but number of elements is trivial compared to most models I have worked with. Customer and Products are the biggest with about 5000 N levels in each.
Both Customer and Product have Hierarchies but these are not being used - Subsets using ALL N based on a filter by level - dynamic vs static did not seems to have any impact either.
I am running what should be a very simple process:
- create a view based on a single month and on one measure, Sales Revenue. Other dimensions are All N/Leaf elements. View only have leaf elements.
- for each cell in the view, look up the corresponding Units via a CellGetN in the same cube, purely a different measure all other elements are the same.
- derive the Price through some division
- write Price back to the cube.
So far pretty basic stuff.
If I run this process on my mega dataset of 3 records, it takes less than a second to run locally.
Running the same on PAoC takes a fair bit longer 812 seconds.
Dataset is identical, processes are identical etc. etc. as I took a backup from the PAoC cloud to run locally.
Local TM1 is 11.8.100.13 (PA 2.0.9.2 I believe), Cloud version I believe is earlier, 2.0.9.1
Local machine is a laptop - cannot comment on the PAoC server.
TM1s.CFG is the same apart from ports and paths.
The sales cube being queried and updated has some rules but no C: level rules above the data being queried or written to.
Remove rules completely with no impact on timing.
Where I do start getting some dramatic changes is when I tweak the ViewExtractSkip functions.
My Standard settings are:
ViewExtractSkipZeroesSet(sCube.Sales,sView,1);
ViewExtractSkipCalcsSet(sCube.Sales,sView,0);
ViewExtractSkipRuleValuesSet(sCube.Sales,sView,0);
If I change ViewExtractSkipCalcsSet to 1 or ViewExtractSkipRuleValuesSet to or have both set to 1, the process finishes almost instantly on PAoC.
Keep in mind that there are no C: levels in the view or when rules were removed no change.
As soon as I set both ViewExtractSkipCalcsSet and ViewExtractSkipRuleValuesSet to 0, the process just seems to get stuck at Completing Prolog...
I don't mind setting all three options to 1 but cannot figure out why it should differ between PAoC and Local.
A bug perhaps? Anyone seen this or noticed that their cloud processes at some point got very slow?
Thanks in advance.
Other notes:
Does not matter if I run via PAW or execute via Perspectives in the rich environment.
Sales cube has 10 dimensions but number of elements is trivial compared to most models I have worked with. Customer and Products are the biggest with about 5000 N levels in each.
Both Customer and Product have Hierarchies but these are not being used - Subsets using ALL N based on a filter by level - dynamic vs static did not seems to have any impact either.