MFG DEM Advisor Webcast 2012 1114
MFG DEM Advisor Webcast 2012 1114
MFG DEM Advisor Webcast 2012 1114
1
FYI: New Portal with same DocID
The Upcoming Webcast Schedule and Archived
Webcasts documents have been consolidated into one
document.
Doc ID Doc
740966.1 ID740964.1
Advisor Webcasts
Current Schedule
and Archived
recordings
2
Doc ID 740966.1
Demantra Solutions Live Advisor
Webcast
Day, Date, 2004 Upcoming Community Webcasts:
November 14, 2012
time
11:00 am ETp.m. ET am
/ 9:00
MT / 8:00 am PT
Teleconference Access: December 12, 2012: Demantra Proactive Solutions
VOICE
North STREAMING
America: xxxx Live Demo and Discussion (Doc Id 800030.1)
ENABLED
International: xxxx
Password: Advisor For complete details on Demantra Solutions Webcast Events,
North America:
(866) 627-3315 please see Note 800030.1.
For complete details on Value Chain Planning Webcast Events,
International: please see Note 837233.1.
+1-706-758-7972
For complete details on All Other upcoming Oracle Advisor
Doc Id: 1148600.1 Webcast Events, please Note 740966.1.
Conf Id: Do you have any topic requests for future Advisor Webcast
Oracle DEM Events? Please email your suggestions to
[email protected], subject: Topics of Interest.
prediction_status
In mdp_matrix, the prediction_status indicator of a combination instructs the Analytical Engine
how to handle this combination.
Level_id
Identifier of the level from which the method was launched.
3. You can use PL/SQL and use bulk selects and inserts to limit context
switching. Your script could read 10,000 rows into memory, write them out in
bulk, and then commit
This query tells you how many combinations are being forecasted at the various
levels in your forecast tree. The majority of combinations should be forecasted
at the level set by the min_fore_level parameter and very few at the highest level:
Sample output:
LEVEL_ID COUNT(*)
---------------------- ----------------------
2 18
3 13
Based on the results of this SQL, we may want to adjust the branch id
multiplier and/or the number of engines, both of these settings are found
in the Engine Administrator
This will give us an understanding at which level of the Forecast Tree
the forecast is being generated.
Having a majority of combinations higher on the forecast tree might
indicate either a poorly designed forecast tree and/or engine parameters
that are too strict
Based on the results of this we would adjust the Forecast Tree to see
if choosing a different hierarchy might produce a better forecast, for
more combinations, at a lower level.
select count(*),
level_id
from mdp_matrix
where prediction_status = 1 and do_fore = 1 group by level_id;
Then run the Proport procedure with parameters set to "ma" and "1
See more on this later in this presentation
Then run the forecast engine to check the generated forecast, at
the level where the business normally looks
Also check for parameters FillParameter and FillMethod
More on these parameters later
CTO Model information is written only for those combinations that have
received forecast.
For example , if we have 3 nodes at level 2
Forecast succeeds on level 4
Only 2 of 3 combinations received output
So it may be that under same parent some item_id/location_id
will receive models update and some will not.
Select count(*),
prediction_status,
do_fore,
do_aggri,
aggri_98,
aggri_99,
level_id
from mdp_matrix
Group by prediction_status, do_fore, do_aggri, aggri_98, aggri_99, level_id;
169 99 1 1 1 1 2
150000 1 1 1 1 1 2
34 99 1 1 1 1 4
3 99 0 1 1 1 2
6 98 1 1 1 1 5
44 98 1 1 1 1
6 99 0 1 1 1 5
2086 99 1 1 1 1 5
1101 99 1 1 1 1
50000 1 1 1 1 1 3
Contains one record for each known combination of lowest-level item and lowest-level
location. This includes all combinations that have had sales, as well as any combinations
created manually in the user interfaces. Matrix series select data from this table.
do_fore
Perform forecasting on this item-location combination. Choose one of the following
values:
0Do Not Do Forecast
1Do Forecast, the default
2Do Zero Forecast. This combination is not used in aggregation
do_aggri
Perform aggregation on this item-location combination. Choose one of the following
values:
0Will Not Be Used in Aggregation
1Will Use Aggregation
aggri_98
Aggregate demand for this item-location combination, if this combination is young. See
"prediction_status"
aggri_99
aggregate demand for this item-location combination, if this combination is dead. See
"prediction_status".
level_id
The strategy of the forecast tree where the forecast for this combination was generated
Y Y
Is_Fictive=0 or 2 Do_Fore=0 Prediction_status =99 or dead
N N
N N
Y Y
Prediction_status =97 zero fcst Do_Fore=2 Mature_Age=Y Prediction_status =98 or young
N Prediction_status =1 or Active
Choice Not Available N
SQL>update mdp_matrix
set prop_changes =1;
commit; make sure the commit is performed, otherwise the changes will not
take effect
2. From SQL run the following script to execute the Proport procedure to review all
item location combinations in the mdp_matrix table to verify if the
prediction_status is accurate and effect any change as applicable on that
column
SQL>exec proport
3. Run the following sql to see if many of the item location combinations
that had a
prediction_status of 99, dead, before and now have a prediction_status
= 1, mature
Keep in mind that there could be many dead addresses based on the
data in the sales_data table that Proport reviews.
In this case where there were several thousand item location
combinations all with a dead address, we now had just under 900 rows
that have a correct prediction_status = 1 after performing the above.
This will vary customer by customer
4. Rerun the batch analytical engine and review the future forecast
results in the worksheet.
Select count(*),
prediction_status,
do_fore,
do_aggri,
aggri_98,
aggri_99,
level_id
from mdp_matrix
Group by prediction_status, do_fore, do_aggri, aggri_98, aggri_99,
level_id;
6 98 1 1 1 1 5
44 98 1 1 1 1
900 99 1 1 1 1
2503 1 1 1 1 1
50000 1 1 1 1 1 3
A small number of Tasks and/or one or two Tasks with a large count,
when compared to the other branches, would indicate that the forecast tree
is unbalanced and the engine cannot split the run into an adequate number
of tasks.
The result will be lopsided tasks which lead to memory issues. If this is
the case then re-evaluate your forecast tree to see if the data can be
grouped in alternate ways.
The unbalanced tasks are caused directly by the size of the branches the
engine allocates to the tasks.
A branch must be assigned wholly to a single task.
If a branch is particularly big then the tasks to which it is assigned is likely
to be very large as well.
Note: A branch must be associated with a single tasks
Engine Administrator --> View --> Branch Information and run TreeHierarchyTest.exe on
your Demantra schema
In this example it is likely that two branches contain 90814 and 61595 combinations
respectively. Since a branch must be associated with a single tasks it is not possible to break it
apart and generate a more balanced task allocation.
If you see results similar to the ones listed below (column names and values will be different
for all clients) indicating a few large Tasks, in relation to the other Tasks, then your Forecast
Tree needs to be re-evaluated.
t_ep_I_ATT_2_ep_id = 8 : t_ep_L_ATT_3_ep_id = 6 : 90814 <<< much larger
t_ep_I_ATT_2_ep_id = 6 : t_ep_L_ATT_3_ep_id = 6 : 61595 <<< than the rest
t_ep_I_ATT_2_ep_id = 8 : t_ep_L_ATT_3_ep_id = 3 : 201
t_ep_I_ATT_2_ep_id = 8 : t_ep_L_ATT_3_ep_id = 9 : 55
t_ep_I_ATT_2_ep_id = 7 : t_ep_L_ATT_3_ep_id = 3 : 28
t_ep_I_ATT_2_ep_id = 4 : t_ep_L_ATT_3_ep_id = 9 : 23
t_ep_I_ATT_2_ep_id = 2 : t_ep_L_ATT_3_ep_id = 3 : 22
To resolve this you must review the 2nd highest level in the forecast tree, below
highest/highest, as this is the level which determines the size of the branches.
If a few resulting tasks are too large it is recommended that the forecast tree level driving
branches be revised or at times completely removed from the forecast tree.
For example, if the highest level of the forecast tree is set to Brand/All Locations.
A customer has 10 brands but 2 of the brands account for 67% and 29% of all combinations.
There is a distinct possibility that the tasks resulting from these 2 branches will be too large
for the engine process.
Some possible solutions could be to remove the Brand level and instead use a different
product grouping which has a more even distribution, possibly Product Group.
It is also possible to add a location dimension to this forecast tree level for example
Customer, this will also reduce forecast tree branch size and will help result in more balanced
task allocation..
A correctly configured Tree is something done by the Implementation team and is not the responsibility of Oracle Support
select count(*)
FROM mdp_matrix m,
engine_branch_list e
WHERE m.prediction_status = '1'
AND m.do_fore <> 0
AND e.item = m.T_EP_E1_ITEM_CAT_1_EP_ID
AND e.location = m.T_EP_LR4_EP_ID
and e.branch_id = 1;
History should be purged for both net-change and refresh collections. If this is not
working please contact Oracle Support
Note, the complete refresh collection is not meant for regular weekly runs. Ideally it
should be run only once (boot strap) and that too
only if you want to collect all the data from Order Management (OM) into Demantra.
You should run only net-change collection for regular runs. Also for bootstrap data
load, if OM has more data than required for Demantra,
net-change collection with appropriate date range should be run.
Advisor Webcasts
Current Schedule
and Archived
recordings
61
Doc ID 740966.1
select your
product:
e.g.
Oracle Database
62
Schedule Archives
63
Avoid the unexpected
Dont leave value on the table
Lower overall organizational costs through preventative
maintenance
Are You Ready Reduce risks and maximize uptime
To Get Proactive? Achieve resolution faster
Streamline and simplify your daily operations
Get even more through connection