Sei sulla pagina 1di 7

Bug 21794879 - RFA – performance

SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

Issue Summary:
Customer reported performance issue described as below

Following Sessions are running for 600 mins

SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_TRANSLATE

Resolution:

This document explains how to add the below hint for full load of
SDE_ORA_PROJECTTASKDIMENSION_TRANSLATE.

Full=/*+ USE_HASH(PA PT PA_TASKS PA_TASK_TYPES PA_PROJ_ELEMENT_VERSIONS


PA_PROJ_ELEMENTS PA_PROJECT_STATUSES PA_PROJ_ELEM_VER_STRUCTURE
PA_PROJECTS_ALL PA_PROJECT_TYPES_ALL PA_PROJ_ELEM_VER_SCHEDULE) */

INCR=(/*+ leading(PA_PROJ_ELEMENTS) INDEX(PA_PROJ_ELEMENTS


PA_PROJ_ELEMENTS(LAST_UPDATE_DATE)) USE_NL(PA_TASKS PA_TASK_TYPES
PA_PROJ_ELEMENT_VERSIONS PA_PROJ_ELEMENTS PA_PROJECT_STATUSES
PA_PROJ_ELEM_VER_STRUCTURE PA_PROJECTS_ALL PA_PROJECT_TYPES_ALL
PA_PROJ_ELEM_VER_SCHEDULE) */,/*+ leading(PT) USE_NL(PT PA PA_PROJECT_TYPES_ALL) */)

Instruction:

1. Open the ODI Studio client and login to the appropriate repository

2. Click on Designer tab and navigate to the Load Plans and Scenarios section.

3. Navigate to BIAPPS Load -> Load Plan Dev Components -> SDE -> EBS_11_5_10

Page 1
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

4. Double click the folder 3 SDE Dims TASK_DIM EBS_11_5_10 to open it in the editor

5. Click on steps

6. Expand Parallel

Page 2
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

7. Click on the step SDE_ORA_PROJECTTASKDIMENSION_TRANSLATE to view the properties

8. In the scenario variable ETL_HINT_EXTRACT, apply below hint like below screenshot

FULL=/*+ USE_HASH(PA PT PA_TASKS PA_TASK_TYPES PA_PROJ_ELEMENT_VERSIONS


PA_PROJ_ELEMENTS PA_PROJECT_STATUSES PA_PROJ_ELEM_VER_STRUCTURE
PA_PROJECTS_ALL PA_PROJECT_TYPES_ALL PA_PROJ_ELEM_VER_SCHEDULE) */

Page 3
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

9. INCR=(/*+ leading(PA_PROJ_ELEMENTS) INDEX(PA_PROJ_ELEMENTS


PA_PROJ_ELEMENTS(LAST_UPDATE_DATE)) USE_NL(PA_TASKS PA_TASK_TYPES
PA_PROJ_ELEMENT_VERSIONS PA_PROJ_ELEMENTS PA_PROJECT_STATUSES
PA_PROJ_ELEM_VER_STRUCTURE PA_PROJECTS_ALL PA_PROJECT_TYPES_ALL
PA_PROJ_ELEM_VER_SCHEDULE) */,/*+ leading(PT) USE_NL(PT PA PA_PROJECT_TYPES_ALL) */)

Page 4
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

10. Save and close.

11. Open the folder SDE_ORA_ProjectTaskDimensionTranslate then open the interface


SDE_ORA_ProjectTaskDimensionTranslate.W_TASK_DS_TL_SQ_PA_TASKS

12. Click the Quik-Edit, choose the dataset DS2 and expand the filter conditions

13. Click the filter expression of DS2 and change the logic from “Not in” to “Not Exists”

Page 5
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

Before:

After:

Copy and paste the below filter condition

Filter Condition.sql

14. Save the interface

Page 6
Bug 21794879 - RFA – performance
SDE_ORA11510_ADAPTOR_SDE_ORA_PROJECTTASKDIMENSION_PS

15. Regenerate the scenario.

16. Regenerate the Load Plan and run the load plan as usual.

Page 7

Potrebbero piacerti anche