HOL9439 Testut HOL9439 ODI 12c New Features

44
8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features http://slidepdf.com/reader/full/hol9439-testut-hol9439-odi-12c-new-features 1/44    

Transcript of HOL9439 Testut HOL9439 ODI 12c New Features

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    1/44

     

     

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    2/44

     

    : O D I 12.1.3

    D, DBA A E

    L O D I 12.

    ,

    .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    3/44

     

    Overview .................................................................................................................................... 4 

    1.1  D M................................................................................................................................... 5 

    1.2  C ODI ......................................................................................................................... 6 

    Working with Mappings ............................................................................................................ 8  

    2.1  L GCOME M E ..................................................................................... 8 

    2.2  L GALE M E ............................................................................................. 21 

    Working with Packages ........................................................................................................... 27  

    3.1  A D I F ................................................................................................ 27 

    3.2  L A P E ................................................................................ 28 

    Executing Your Developments and Reviewing the Results ................................................. 31 

    4.1  E L A P ....................................................................... 31 

    Deploying Integrated Applications ......................................................................................... 34 

    5.1  I ........................................................................................................................................ 34 

    5.2  C ............................................................................................................................... 34 

    5.3  ................................................................................................................................. 35 

    Implementing Data Quality Control ........................................................................................ 36  

    6.1  I D I C ............................................................................................ 36 

    6.2  CCOME C E ................................................................................................ 37 

    Summary .................................................................................................................................. 44 

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    4/44

     

    Overview

    . . F 11 .

      11   

    :

      .

      A , O . 

      F . 

      , O . . 

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    5/44

     

    1.1  The Data Models

    1.1.1  Orders Application O DBM :

      CCI

      CCOME

      CODE

      CODELINE

      CPODC

      CEGION

    N , .

    1.1.2  Parameters F :

      CALE PEON

      CAGEGOP

    1.1.3  Sales Administration O DBM :

      GCI

      GCON

      GCOME

      GPODC

      GPODFAMIL

      GEGION

      GALE

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    6/44

     

    1.2  Connect to ODI Studio

    1.  D ODI 12 ODI :

      12 12

    2.  C C L N ODI G

    OK.

      13 12

    1.2.1  Designer Navigator

    D N , ,   .

    D N  .

    • 

    (, , , , , .)

    • 

    (, , , .)

    D N F 14.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    7/44

     

      14   

    1.2.2  Operator Navigator

    O N . I I . O N,

    , .

    O N F 15.

      15   

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    8/44

     

    Working with Mappings

    O D I. I

    :

      L GCOME: CCOME G COME   .

      L GALE: C ODE CODELINE GALE .

    2.1  Load TRG_CUSTOMER Mapping Example

    2.1.1  Purpose and Integration Requirements

    L GCOME CCOME GCOME .

    H, CCOME . :

      (AGEANGE) CAGEGOP AGE .

      . (LANAME FI NAME) CALEPEON ID (ALEPEID) .

      (0, 1, 2) DEA (M, M, M).

      .

    . F , .I , :

      C 21 ( AGE > 21)

      (CIID) G CI

    ( FKCCI)

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    9/44

     

    2.1.2  Creating the Mapping

    2.1.2.1  Insert a New Mapping :

    1. I D N, D P .

    2. E A .

    3. I A , M F 21.

      21

    M E .

    4. E (L GCOME) N

    F 22. 

      22   

    E C E D .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    10/44

     

    2.1.2.2  Define the Target .

    :1. L M E.2. I D N, M   .

    3. GCOME F 23.

      23

    2.1.2.3  Define the Source . : . .

    :

    1. , D:

    •  CCOME

    •  CALEPEON

    2. M F 24 .

      24

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    11/44

     

    2.1.2.4  Define the Lookup '

      .

    L L C.

    :

    1. F C ,  

    F 25. 

      25

     2. F P , CAGEGOP M. CAGEGOP .

    3. D L:•  A CCOME •  AGEMIN CAGEGOP •  AGEMA CAGEGOP

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    12/44

     

      26  

    4. LOOKP,   LOOKP P F 27.

      27

    5. M C = . L C

    . .

    .

    CCOME CAGE GOP

    '

    .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    13/44

     

      28  

    6. C .

    2.1.2.5  Define the Join between the Source Datastores .

    F 29:

    1. D JOIN .2. I , ALEPEID C COME

    JOIN.3. I , ALEPEID CALEPEON

    .

      29

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    14/44

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    15/44

     

    , , .

    F .

    C GCOME .

      212  

     

    CID CCOME.CID GCOME.CID . N 2 , .

    CID :

    1. I CCOME , CID .

    2. D CID D F 213.

      213  

    3. , CID, D P I.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    16/44

     

    ' DEA () (0 >'M', 1 >'M', 2 >'M').

    DEA :

    1. I D, DEA P I.

    2. I E , :

    CASE

    WHEN SRC_CUSTOMER.DEAR = 0 THEN 'Mr'

    WHEN SRC_CUSTOMER.DEAR = 1 THEN 'Mrs'

    ELSE 'Ms'

    END

    : , C COME.DEA ,

    E . E E.

     

    .

    CNAME :

    1. I D, CNAME P I.

    2. I E , :

    SRC_CUSTOMER.FIRST_NAME || ' ' || UPPER(SRC_CUSTOMER.LAST_NAME)

    Tip: E E . B E E,

    .

     

    CAGEGOP.AGEANGE GCOME.AGEANGE .

    1. I D, AGEANGE P I.

    2. I E , :

    SRC_AGE_GROUP.AGE_RANGE

    : A . I E, C

    , F 215.

      215

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    17/44

     

    AGEANGE CAGEGOP

    AGEANGE GCOME.

      .

    ALEPE :

    1. I D, ALEPE P I.

    2. I E , :

    SRC_SALES_PERSON.FIRST_NAME || ' ' ||

    UPPER(SRC_SALES_PERSON.LAST_NAME)

     

    CEDAE :1. I D, CEDAE P I.

    2. I E , : DAE

    3. .

    4. . I.

    5. P I CEDAE F 216.

      216  

     

    PDDAE :

    1. I D, PDDAE P I.

    2. I E , : DAE

    3. .

    4. . .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    18/44

     

    •  E E E . I

    . E E E.

    •  I E H , E E .

     

    D A F 217.

      217

     

    F GCOME M P

    I I

    2.1.2.7  Define the Data Loading Strategies (LKM) P M E. OD I ' . I KM . P KM .

    L K M (LKM) IK M (IKM) .

    CAGEGOP, CALEPEON CCOME .

    :

    1. I P M E, CAGEGOP, CALEPEON . I , CAGEGOPAP CALEPEONAP. P I .

    2. I P I, () L K M F 218.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    19/44

     

      218   

    2.1.2.8  Define the Data Integration Strategies (IKM)A ,

    . :

    1. I P M E, GCOME

    AGEGOP . P I .

    2. I P I, IKM     . I IKM , I I L .

    3. I , . P I F 219.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    20/44

     

      219

     

    Note: O K M P KM . K M . KM P.

    2.1.2.9  Define the Data Control StrategyI 2.1.2.7, "D D L (LKM)" 2.1.2.8, "D D I (IKM)" . (CKM) .

    :

    1. I M P GCOME P, C

    K M, C K M.

    2. I L , GCOME C

    . true.

    •  PKGCOME

    •  FKCCI

    C F 220

      220  

    3. F , .

    L GCOME .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    21/44

     

    2.2  Load TRG_SALES Mapping Example

    2.2.1  Purpose and Integration Requirements LGALE .

    CODE CODELINE GALE . . O (CLO) .

    H, . F , . . I , :

    •  (PODCID) GPODC ( FKALEPOD

    •  (CID) G

    COME ( FKALEC

    2.2.1.1  Insert a New Mapping :

    1. I D N, D P .

    2. E A .

    3. I A , M .

    4. E (L GALE) N . C E

    D .

    2.2.1.2  Define the Target Datastore L GALE :

    1. G L M E.2. I D N, M .3. GALE .

    2.2.1.3  Define the Source Datastores L GALE .

    L GALE :1. I M , D:

    •  CODE

    •  CODELINE

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    22/44

     

      221

    2.2.1.4  Define the Order FilterI , . A

    CODE .

    :

    1. I , A CODE D.

    2. F 222.

      222

    3. D P I.4. I C P I, :SRC_ORDERS.STATUS = 'CLO'

    2.2.1.5  Define Joins between the Source Datastores .

    :1. D JOIN C 2. D ODEID CODE JOIN.

    3. D ODEID CODELINE JOIN.

    A . .

    :

    SRC_ORDERS.ORDER_ID=SRC_ORDER_LINES.ORDER_ID  

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    23/44

     

    2.2.1.6  Define the Transformation RulesM .

    AGGEGAE C.

    1.  F C , AGGEGAE .

    2.  D AGGEGAE GALE .

    A, OK AGGEGAE

    .

    3.  D .

    D A :

    •  : D CODE.CID CID A C. CID CODE CID .

    •  : D CODELINE.PODCID PODCID A C. PODCID CODELINE PODCID . 

    •  : D CODE.ODEID E . E E :

    MIN(SRC_ORDERS.ORDER_ID)

    ODEID CODE FIODID

    .•  : D CODE.ODEDAE

    I . E E :

    MIN(SRC_ORDERS.ORDER_DATE)

    ODEDAE CODE FIODDAE .

    •  : D CODE.ODEID E . E E :

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    24/44

     

    MAX(SRC_ORDERS.ORDER_ID)

    ODEID CODE LAODID

    .

    •  : D CODE.ODEDAE E . E E :

    MAX(SRC_ORDERS.ORDER_DATE)

    ODEDAE CODE LAODDAE .

    •  : E E :

    SUM(SRC_ORDER_LINES.QTY)

    Q .

    •  : E E :

    SUM(SRC_ORDER_LINES.AMOUNT)

    AMON .

    •  : D CODELINE.AMON E . E E :

    AVG(SRC_ORDER_LINES.AMOUNT)

    POD

    AGPICE . A F 223.

    N , : O D I , QL .

      223  

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    25/44

     

      224

    C GALE , P I I .

    2.2.1.7  Define the Data Loading Strategies (LKM)I P , O D I .

    I P L K M (LKM).

    :

    1. I P M E, ' . I , AGGEGAEAP ODIDEMOGNI.

    2. I P I, LKM (). LKM F 226.

      225   

      226 ,

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    26/44

     

    2.2.1.8  Define the Data Integration Strategies (IKM)A , .

    :

    1. I P M E, ().

    P I .

    2. I P I, IKM IKM

    . I IKM ,

    I I L .

    3. I , .

    2.2.1.9  Define the Data Control StrategyI 2.2.1.7, "D D L (LKM)" 2.2.1.8, "D

    D I (IKM)" . (CKM) .

    :

    1. I P M E ,

    Figure 2–27 Load TRG_SALES Mapping  

    2. I L GALE, C.

    :

    •  PKGALE

    •  FKALEC

    •  FKALEPOD

      228

    3. F , .

      .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    27/44

     

    Working with Packages

    P O D I.   .

    3.1  Automating Data Integration Flows (, , ) .

    3.1.1  PackagesA .P . , , :

     

     

      D

      D   D

    I , . , . F , GCOME GCI .

    3.1.2  ScenariosA (, , , ) . A (QL, , ) .

    O , . A .

    Note: O , ' , / . I

      .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    28/44

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    29/44

     

    3.2.1.2  Insert the Steps in the Package L A P:1. P

    :

    •  D (P)

    •  L GCON

    •  L GEGION

    •  L GCI

    •  L GCOME

    •  L GPODFAMIL

    •  L GPODC

    •  L GALE

    P . N .

    3.2.1.3  Define the Sequence of Steps in the PackageO , . :

      I .

      E : F.  A , P.

      I , .

    A P , F , .

    L A P .

     

    L A P:

    Note: I P 3.2.1.2, "I P", D ' . I , .

    1. .

    2. . A

    .

     

    :

    1. I P , .

    2. D .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    30/44

     

    3. K ( L GCON )

     .

    A , .

    4. . :

    •  D (F )

    •  L GCON

    •  L GEGION

    •  L GCI

    •  L GCOME

    •  L GPODFAMIL

    •  L GPODC

    •  L GALE

    5. F F , . .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    31/44

     

    Executing Your Developments and Reviewing the Results

    L A P

    C 3, " P" L GCOME

    L GALE C 2, " M".

    .

    4.1  Executing the Load Sales Administration Package

    4.1.1  Run the Package L A P:

    1. I D N, P A .

    2. L A P.

    3. .

    4. I D, .

    5. I D . C .

    O D I .

    4.1.2  Follow the Execution of the Package in Operator Navigator O N, .

    L A P:

    1. I L O N, A E .

    2. O N .

    :

    3. L A P

    F 41.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    32/44

     

      41   

    4.1.3  Interpreting the Results of the Load TRG_CUSTOMER Session Step LGCOME . L GCOME .

    4.1.3.1  Determining the Number of Processed Records L GCOME ( , , , ):

    1. I L O N, A E .

    2. O N .

    3. E L A P E L GCOME . 4.

    4. O D E, GCOME 26 2 .

    :  . .

    F 42 E:

      42   

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    33/44

     

    4.1.3.2  Viewing the Resulting DataI , 31 GCOME .

    :

    1. I D N, M .

    2. GCOME .

    3. .

    N ... .

    D E F 43.

      43   

    4.1.3.3  Reviewing the Invalid Records and Incorrect Data > ... 

    GCOME :

    1. I D N, .

    2. GCOME .

    3. > ... 

    4. E E F 44.

      44  

    2 .

    I , :

    •  FKCCI ( , CIID

    GCI ).

    .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    34/44

     

    Deploying Integrated Applications

    L A P .

    5.1  Introduction

    (, , ) .

    C 3, " P" : P.

    :

    L A P .

    5.2  Scenario Creation

    LOADALEADMINIAION L A P:

    1. I P , A P.

    2. L A N F 51.

      51   

    3. N . L .

    4.O D I . P E D P

    F 52.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    35/44

     

      52  

    5.3  Run the Scenario ODI . ODI DK, .

    5.3.1  Executing a Scenario from ODI Studio O D I D ON.

    LOADALEADMINIAION O D I:

    1. LOADALEADMINIAION P (D N) L P ( D O

    N).2. , . 

    3. I E D, .

    4. I D . C .

    .

    5.3.1.1  Follow the Execution of the Scenario

    O N, 4.1.1, " P".

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    36/44

     

    Implementing Data Quality Control

    . A

    .

    6.1  Introduction to Data Integrity Control

    D .

    A . , , , , .

    O D I .

    : . .

     

    C . ( ) ( , , .)

    O D I, , . .

     

    . ' .

     

        . B ' . C

    .  ' . . . M .

      . E . I, . , . I ,

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    37/44

     

    ( , , ) .

    6.2  SRC_CUSTOMER Control Example ( C).

      . .

    6.2.1  Objective . . I CCOME :

      21 . H .

      . H .

    .

    6.2.2  Interpreting the ProblemE ( ),   CCI C COME.

    6.2.3  Creating Constraints :

      A C

      C

    6.2.3.1  Age ConstraintC . :

    1. I M D N, .

    2. E CCOME .

    3. C F 61. 

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    38/44

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    39/44

     

    6.2.3.2  Reference Constraint CIID

      CCOME CCI .

    CCI .

    :

    1. I M D N, .

    2. E CCOME .

    3. C F 63

      63  

    4. I D E:

    •  F , .

    •  F M P M/ , . .

    •  F , . .

    F 64 E.

      64  

     

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    40/44

     

    5. I E, A .

    6. O C , F 65.

    Figure 6–5 Columns tab of the Reference Editor  

    A .

    7. I :

    •  C .

    .

    •  F C (F ) , .

    •  F C (P ) , .

    F 66 C E .

      66  

    N F CCOME P CCI. N F P . I .

    8. > .

    Tip: CL E.

    6.2.4  Run the Static Control . CCOME 6.2.3,"C C".

    :

    1. I M D N, CCOME.

    2. > .

    3. E F 67.

      67   

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    41/44

     

    4. C E .

    5. C I D.

    O D I

    .

    6.2.5  Follow the Execution of the Control in Operator Navigator O N, .

    :

    1.  I L O N, A E .

    L , , , , .

    2.  O N.

    F 69.

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    42/44

     

      69   

    3 :

    •  ( , , )

    •  ( , , )

    •  ( , )

    6.2.6  Interpreting the Results in Operator Navigator . .

    :

    •  D N I

    •  I

    6.2.6.1  Determining the Number of Invalid Records :

    1. I L O N, A E CCOME .

    2. D CCOME E.

    3. . , , , , .

    F 610 E CCOME .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    43/44

     

      610   

    N. E . N CCOME 6 .

    .

    6.2.6.2  Reviewing the Invalid Records > ... 

    CCOME :

    1. I D N, .

    2. CCOME .

    3. > ... 

    4. E E F 611.

      611  

    :•  5  AGE > 21 (

    21 , AGE ).•  1 FKCICOME ( CIID CCI ).

    E. , CIID .

    N AGE > 21 6.2.3.1, "A C".

    N , .

  • 8/19/2019 HOL9439 Testut HOL9439 ODI 12c New Features

    44/44

     

    Summary

    H L, C . O , . I ODI .

    Oracle Corporation

    World Headquarters

    500 Oracle ParkwayRedwood Shores, CA 94065

    U.S.A.

    Worldwide Inquiries:

    Phone: +1.650.506.7000

    Fax: +1.650.506.7200

    Copyright © 2014, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and

    the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other

    warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability orfitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are

    formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any

    means, electronic or mechanical, for any purpose, without our prior written permission.

    Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners

    Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and

    are trademarks or registered trademarks of SPARC International Inc AMD Opteron the AMD logo and the AMD Opteron logo are