KPI Partners Blog

Executing An ODI Load Plan

Posted by KPI Partners News Team on Mon, Jun 17, 2013 @ 12:41 PM

by Varun Reddy

Oracle Data Integrator (ODI): Executing A Load Plan

Load Plan 

A Load Plan is an executable object in Oracle Data Integrator that can contain a hierarchy of steps that can be executed conditionally, in parallel or in series. Procedures, interfaces, packages, variables, and can be added to Load Plans for executions in the form of scenarios in a Load Plan.

An ODI Load Plan is made up of a sequence of several types of steps. Each step can contain several small steps. Depending on the step type, the steps can be executed conditionally, in parallel, or sequentially. By default, an ODI Load Plan contains an empty root serial step. This root step is mandatory and the step type cannot be changed.

Creating a Load Plan 

ODI Load Plans appear in both the Designer and Operator Navigator. ODI Load Plans are available for edition in a development and production repositories, and can be organized into scenario folders.

"Right Click" and select "New" (Load Plan). Then specify a "Name" for the Load Plan.

ReddyVarun 2013 05 15 ODI ExecutingALoadPlan Image 1 resized 600 

Load Plan definition takes place on the "Steps Tab." You can define a hierarchy of steps in sequence/parallel conditionally based on the values of variables.

Data Warehouse Load Plan Example:

  • Dimensions are loaded in parallel. This includes the LOAD_TIME_DIM, LOAD_PRODUCT_DIM, LOAD_CUSTOMER_DIM scenarios, the geographical dimension and depending on the value of the ODI_VAR_SESS1 variable, the CUST_NORTH or CUST_SOUTH scenario.

  • The geographical dimension consists of a sequence of three scenarios (LOAD_GEO_ZONE_DIM, LOAD_COUNTRIES_DIM, LOAD_CITIES_DIM).

  • After the dimensions are loaded, the two fact tables are loaded in parallel (LOAD_SALES_FACT and LOAD_MARKETING_FACT scenarios). 

ReddyVarun 2013 05 15 ODI ExecutingALoadPlan Image 2 resized 600  

Examining Oracle BI Apps 11g: The Series

 

Running a Load Plan

Run the ODI Load Plan by clicking the "Execute" button. The load plan running will be shown in the "Load Plan Executions" according to the Operator. Steps taken along with their status and statistics are shown in the "Steps Tab."  This tab reflects the executions in-progress and can be refreshed.

The sessions started by the load plan will still appear in the "Session's" list. However, the "Steps Tab" is more useful to monitor the overall execution of these sessions.

ReddyVarun 2013 05 15 ODI ExecutingALoadPlan Image 3 resized 600

Like 'Scenarios', ODI Load Plans can also be started from a command line or a web service interface. They can be scheduled using external scheduling or the built-in scheduler.

Load Plans require a JEE or Standalone agent for running. They cannot run within the Studio Local Agent. This is because the ODI Load Plan execution flow is distributed across the agents running the sessions started from the ODI Load Plan. Using this architecture, there is no single technical failure point that may prevent a load plan from proceeding its execution flow when the execution takes place on multiple agents.

 


molabantishiva 128

Varun Reddy Patrapalle is a Consulting Manager at KPI Partners. His areas of expertise include data warehousing, Oracle Business Intelligence, and Informatica.  His clients have included Fortune 500 companies within finance, retail, healthcare, education, and high-tech . Check out Varun's blog at KPIPartners.com.

 

 

CONTACT KPI PARTNERS TODAY!

Tags: Data Warehousing, Varun Reddy, Oracle, Tutorial, Oracle BI, Oracle BI Applications, Examining OBIA 11g, Oracle Data Integrator (ODI), Blog



Subscribe to the KPI Blog