Sunteți pe pagina 1din 4

How to add HINT to BIO1 mapping in

PSFT
Bug
Bug 24582275

Issue
It is found bad performance of the mapping Bio1 mapping in PSFT. PSR team suggested adding HINT in
the select statement when loading the data.

Resolution
Based on the HINT usage described in the wiki

http://aseng-wiki.us.oracle.com/asengwiki/display/ASAnalyticApps/KM+-+PSR+related+features, we will
modify ETL_HINT_EXTRACT option in the LKM to add the HINT.

Another consideration is the re-usage of ETL_HINT_EXTRACT. This option is used by both LKM and IKM
when inserting the records to W_% table from C$ table. In addition, this option is by default
#ETL_HINT_EXTRACT in KM. So if we change the value of #ETL_HINT_EXTRACT, it will be used by both
LKM and IKM, which is not desirable. The requirement is to add the HINT only in select statement when
'load data'.

To resolve this, a new variable #ETL_HINT_EXTRACT1 will be added for LKM option, and it will be hard
code as the required HINT syntax.

Fix instruction
1. Mapping: SDE_PSFT_EmployeeDimension_Biography1.W_PSFT_EMPLOYEE_D_BIO_1_TMP

 Go to ‘Flow’ tab->Choose LKM->Go to ‘OBI_HINT_EXTRACT’ option

 Change the default value to #ETL_HINT_EXTRACT1

 Save the interface


2. Regenerate the scenario

3. Add the new variable when generating the scenario

4. Open the load plan component including this task

 Go to ‘Designer’->’Load Plans and Scenarios’-> ‘BIAPPS Load Plan’->’ Load Plan Dev
Components’->’SDE’->’ PSFT_9_0’

 Open ‘3 SDE Dims EMPLOYEE_DIM PSFT_9_0’

 Go to ‘Variables’
 Add #ETL_HINT_EXTRACT1

5. Hard code the value of #ETL_HINT_EXTRACT1

 Go to ‘Steps’

 Go to the task ‘SDE_PSFT_EMPLOYEEDIMENSION_BIOGRAPHY1’

 Hard code the value of #ETL_HINT_EXTRACT1 as below. Remember to check the


‘Overwrite’ checkbox

Value: /*+ NO_PUSH_PRED(LKP_LANGHR_NATIVE) NO_PUSH_PRED(LKP_LANGHR_SEC)


NO_PUSH_PRED(LKP_LANGHR_THR)*/

6. Regenerate the scenarios in the shortcut folders, eg, SDE_PSFT_91_Adaptor and


SDE_PSFT_92_Adaptor for the mapping SDE_PSFT_EmployeeDimension_Biography1 to add the
new variable #ETL_HINT_EXTRACT1

7. Add the new variable to the load plan component in the shortcut folders, eg, PSFT_9_1 and
PSFT_9_2. Same steps as step 4 and step 5 above.

S-ar putea să vă placă și