Lookup captions will cause Load DWH Performance timeout or exhaust PGA_AGGREGATE_LIMIT
search cancel

Lookup captions will cause Load DWH Performance timeout or exhaust PGA_AGGREGATE_LIMIT

book

Article ID: 433170

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Load DWH started failing with ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT or hangs for a long time

STEPS TO REPRODUCE:

  1. Connect to Clarity and enable a large amount of custom Lookup attributes on Investment for DWH 
  2. Now run Load DWH - Full Load

Expected Results: Load DWH - Full Load to run in acceptable amount of time

Actual Results: Load DWH - Full Load hangs indefinitely on the attached queries. It will either timeout with ETL timeout or will fail with  ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

Query from SELECT /*+ DRIVING_SITE(A) */ DW_INVESTMENT_TYPE_CAPTION, PROGRESS_CAPTION, STAGE_CODE_CAPTION, STATUS_CAPTION, STATUS_INDICATOR_CAPTION, GOAL_CODE_CAPTION, COST_TYPE_CAPTION, TRACKMODE_CAPTION, LANGUAGE_ID, LANGUAGE_CODE, INVESTMENT_KEY, NPIO_STATUS_CAPTION, Z_FINANCE_CAPTION, Z_EDUCATION_CAPTION [..]

Environment

Clarity 16.3.3, 16.4.0, 16.4.1

Cause

DE183943

Resolution

Not a Defect - Caused by several dynamic lookups with CONNECT BY function that was creating a cartesian join

Workaround: Uncheck the affected lookups from DWH until the query is fixed