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:
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 [..]
Clarity 16.3.3, 16.4.0, 16.4.1
DE183943
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