Workflow Manager and General Tuning Tips. Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips.

Slides:



Advertisements
Similar presentations
Debugging ACL Scripts.
Advertisements

4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
1 Microsoft Access 2002 Tutorial 9 – Automating Tasks With Macros.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
BUSINESS INTELLIGENCE/DATA INTEGRATION/ETL/INTEGRATION AN INTRODUCTION Presented by: Gautam Sinha.
© 2012 IBM Corporation Tivoli Workload Automation Informatica Power Center.
Hands-On Microsoft Windows Server 2008
MCTS Guide to Microsoft Windows Vista Chapter 11 Performance Tuning.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
MCTS Guide to Microsoft Windows 7
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
1 Chapter 9 Writing, Testing, and Debugging Access Applications.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Architecture Rajesh. Components of Database Engine.
Introduction to Test Director
Oracle Data Integrator Procedures, Advanced Workflows.
Oracle Data Integrator Transformations: Adding More Complexity
Tutorial 51 Programming Structures Sequence - program instructions are processed, one after another, in the order in which they appear in the program Selection.
DataMAPPER - Applied Database Tech. 이화여대 과학기술대학원 석사 3 학기 992COG08 김지혜.
8 1 Chapter 8 Advanced SQL Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
EXPRESSION Transformation. Introduction ►Transformations help to transform the source data according to the requirements of target system and it ensures.
A university for the world real R © 2009, Chapter 9 The Runtime Environment Michael Adams.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
- Joiner Transformation. Introduction ►Transformations help to transform the source data according to the requirements of target system and it ensures.
6 Copyright © 2009, Oracle. All rights reserved. Using the Data Transformation Operators.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
When you run a scenario, the Vusers on each host machine use the host’s IP address. You can define multiple IP addresses on a host machine to emulate a.
Chapter 2 Process Management. 2 Objectives After finish this chapter, you will understand: the concept of a process. the process life cycle. process states.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Sequencers SQO,SQC,SQL.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
Aggregator  Performs aggregate calculations  Components of the Aggregator Transformation Aggregate expression Group by port Sorted Input option Aggregate.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Perfecto Mobile Automation
Interactions & Automations
INCREMENTAL AGGREGATION After you create a session that includes an Aggregator transformation, you can enable the session option, Incremental Aggregation.
Aggregator Stage : Definition : Aggregator classifies data rows from a single input link into groups and calculates totals or other aggregate functions.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
1 11g NEW FEATURES ByVIJAY. 2 AGENDA  RESULT CACHE  INVISIBLE INDEXES  READ ONLY TABLES  DDL WAIT OPTION  ADDING COLUMN TO A TABLE WITH DEFAULT VALUE.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED ADVANCE FEATURES.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
SQL Database Management
Informatica PowerCenter Performance Tuning Tips
MCTS Guide to Microsoft Windows 7
Is 221: Database Administration
Performance Tuning ETL Process
Presentation transcript:

Workflow Manager and General Tuning Tips

Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips

Working with Workflows A workflow is a set of instructions that tells the PowerCenter Server how to execute tasks such as sessions, notifications, and shell Commands.

Working with Workflows Developing New Workflows. Everybody has created more than 1 workflow !!

Working with Workflows - Links Working with Links Use links to connect each workflow task. You can specify conditions with links to create branches in the workflow. The Workflow Manager does not allow you to use links to create loops in the workflow. Each link in the workflow can execute only once. a valid workflow:

Working with Workflows - Links The Workflow Manager does not allow you to create a workflow that contains a loop Invalid workflow:-

Working with Workflows - Links Specifying Link Conditions Once you create links between tasks, you can specify conditions for each link to determine the order of execution in the workflow. If you do not specify conditions for each link, the PowerCenter Server executes the next task in the workflow by default. You can use pre-defined or user-defined workflow variables(?) in the link condition. If the link condition evaluates to True, the PowerCenter Server executes the next task in the workflow. If the link condition evaluates to False, the PowerCenter Server does not execute the next task in the workflow. You can view results of link evaluation during workflow runs in the workflow log file.

Working with Workflows - Variables Pre-defined workflow variables. The Workflow Manager provides pre- defined workflow variables for tasks within a workflow. User-defined workflow variables. You create user-defined workflow variables when you create a workflow.

Working with Workflows - Variables Pre-defined workflow variables 1. Task-specific variables 2. System variables - Condition - SrcSuccessRows - SYSDATE - EndTime - StartTime - WORKFLOWSTARTTIME - ErrorCode - Status - ErrorMsg - TgtFailedRows - FirstErrorCode - TgtSuccessRows - FirstErrorMsg - TotalTransErrors - PrevTaskStatus - SrcFailedRows

Working with Workflows - Variables User-defined workflow variables

Working with Workflows - Variables Start and current value:- –Value in parameter file –Value saved in the repository (if the variable is persistent) –User-specified default value –Datatype default value Datatype Workflow Manager Default Value Date/time1/1/1753 A.D. Double0 Integer0 NstringEmpty string

Working with Workflows - Scheduler You can schedule a workflow to run continuously, repeat at a given time or interval, or you can manually start a workflow. The PowerCenter Server runs a scheduled workflow as configured. By default, the workflow runs on demand. You can change the schedule settings by editing the scheduler. If you change schedule settings, the PowerCenter Server reschedules the workflow according to the new settings. When a workflow fails, the PowerCenter Server removes the workflow from the schedule, and you must manually reschedule it.

Working with Workflows - Scheduler

Working with Workflows - Suspending When a task in the workflow fails, you might want to suspend the workflow, fix the error, and resume or recover the workflow. The PowerCenter Server suspends the workflow if you enable the Suspend On Error option in the workflow properties. You can optionally set a suspension so the PowerCenter Server sends an when it suspends a workflow. When you enable the Suspend On Error option, the PowerCenter Server suspends the workflow when one of the following fails: –Session –Command –Worklet –

Questions ?

Working with Tasks Assignment Command Control Decision Event-Raise Event-Wait Session Timer

Working with Tasks - Assignment The Assignment task allows you to assign a value to a user-defined workflow variable. To use an Assignment task in the workflow, first create and add the Assignment task to the workflow. Then configure the Assignment task to assign values or expressions to user-defined variables. After you assign a value to a variable using the Assignment task, the PowerCenter Server uses the assigned value for the variable during the remainder of the workflow.

Working with Tasks - Commands If you select the Run If Previous Completed option, when one of the commands in the Command task fails, the PowerCenter Server stops running the rest of the commands and fails the task. If you do not select the Run If Previous Completed option, the PowerCenter Server runs all the commands in the Command task and treats the task as completed, even if a command fails.

Working with Tasks - Example Example:-

Working with Tasks - Control You can use the Control task to stop, abort, or fail the top-level workflow or the parent workflow based on an input link condition. A parent workflow or worklet is the workflow or worklet that contains the Control task.

Working with Tasks - Control Example:- This can be used in a worklet. And the condition given in the control task will be Stop top-level workflow. So whenever the decision routs the flow towards the control task, an will be generated and then the workflow containing the below worklet will stop and not proceed further.

Working with Tasks - Decision Nothing new under the sun

Working with Tasks - Events Event-Raise task. Event-Raise task represents a user-defined event. When the PowerCenter Server runs the Event-Raise task, the Event-Raise task triggers the event. Use the Event-Raise task with the Event-Wait task to define events. Event-Wait task. The Event-Wait task waits for an event to occur. Once the event triggers, the PowerCenter Server continues executing the rest of the workflow. Pre-defined event User-defined event.

Working with Tasks - Events Pre-defined event. A pre-defined event is a file-watch event. For pre-defined events, use an Event-Wait task to instruct the PowerCenter Server to wait for the specified indicator file to appear before continuing with the rest of the workflow. When the PowerCenter Server locates the indicator file, it starts the next task in the workflow. User-defined event. A user-defined event is a sequence of tasks in the workflow. Use an Event-Raise task to specify the location of the user-defined event in the workflow. A user-defined event is sequence of tasks in the branch from the Start task leading to the Event-Raise task.

Working with Tasks - Events Example – Used Defined Event !

Questions ?

Performance Tuning Identifying the Performance Bottleneck 1>Identifying Target Bottlenecks 2>Identifying Source Bottlenecks - Using a Filter Transformation - Using a Read Test Session - Using a Database Query 3>Identifying Mapping Bottlenecks - High Rowsinlookupcache Counters - High Errorrows Counters 4>Identifying a Session Bottleneck Any value other than zero in the readfromdisk and writetodisk counters for Aggregator, Joiner, or Rank transformations indicate a session bottleneck. 5>Identifying a System Bottleneck

Performance Tuning Optimizing the Target Database –Drop indexes and key constraints. –Increase checkpoint intervals. –Use bulk loading. –Use external loading. –Increase database network packet size. –Optimize Oracle target databases.

Performance Tuning Optimizing the Source Database –Optimize the query. –Create tempdb as in-memory database. –Use conditional filters. –Increase database network packet size. –Connect to Oracle databases using IPC protocol.

Performance Tuning Optimizing the Mapping - Configure single-pass reading. - Optimize datatype conversions. - Eliminate transformation errors. - Optimize transformations. - Reduce the number of transformations. - Optimize expressions. - Figure out common logic and place in a variable flag instead of calculating each time.

Performance Tuning Optimizing Lookup Transformations Caching Lookups - Shared cache. - Persistent cache Reducing the Number of Cached Rows Optimizing the Lookup Condition Indexing the Lookup Table

Performance Tuning Optimizing the Session –Increase the number of partitions. –Reduce errors tracing. –Remove staging areas. –Tune session parameters.

Performance Tuning Optimizing the System Improve network speed. Use multiple PowerCenter Servers. Use a server grid. Improve CPU performance. Configure the PowerCenter Server for ASCII data movement mode. Check hard disks on related machines. Reduce paging. Use processor binding

Questions ?

Thank you !!!