My Oracle Support Banner

PROC_AFTER_LOADING_PKG_SCD Scenario, HistRollupActivity Step Taking Long Time To Complete Causing Extreme Performance Degradation With Data Warehouse ETL For P6 Source (Doc ID 2359377.1)

Last updated on AUGUST 03, 2018

Applies to:

Primavera Analytics Cloud Service - Version and later
Primavera Analytics - Version and later
Primavera Data Warehouse - Version and later
Information in this document applies to any platform.


While running an ETL for a P6 datasource, the ETL execution takes a long time to complete.

The HistRollupActivity task runs the following SQL:

Within the package procedure, the following update statement is being run:

  UPDATE w_activity_history_f wahf
  SET (wahf.bl_actual_labor_units
  , wahf.bl_actual_nonlabor_units
  , wahf.bl_actual_labor_cost
  , wahf.bl_actual_nonlabor_cost
  , wahf.bl_actual_material_cost
  , wahf.bl_actual_expense_cost
  , wahf.bl_actual_total_cost)
  , SUM(wasf.bl_actual_nonlabor_units)
  , SUM(wasf.bl_actual_labor_cost)
  , SUM(wasf.bl_actual_nonlabor_cost)
  , SUM(wasf.bl_actual_material_cost)
  , SUM(wasf.bl_actual_expense_cost)
  , SUM(wasf.bl_actual_total_cost)
  FROM w_activity_spread_hf wasf
  WHERE wasf.activity_wid = wahf.activity_wid AND wasf.datasource_id = wahf.datasource_id AND wasf.datasource_id = vsrc_id
  WHERE wahf.day_wid = dayRowWid AND wahf.datasource_id = vsrc_id AND wahf.project_object_id = proj.project_object_id;

Above Statement repeats for:

Identify tuning to the SQL which is executed within the hist_rollup_pkg.rollup_to_activity_history package procedure for improving the overall duration of a P6 datasource ETL (and specifically, the HistRollupActivity task from PROC_AFTER_LOADING_PKG_SCD Scenario)

The issue can be reproduced at will with the following steps:
1. Login to the Analytics Administration application
2. Note the amount of time it takes for a P6 ETL to complete.

This issue is occurring within production.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.