Lecture 2
Lecture 2
-Ashu
Database Systems
Objectives
Designer interface
• Navigator
– Powercenter designer includes a navigator window on
the left
– You can view folders, repository objects and tasks in it
• Workspace
– It is used to view or edit sources, targets, mapplets,
transformations and mappings.
– You can work with a single tool at a time in workspace
– 2 formats:default and workbook
• Status bar
– Displays the status of the operation you perform
• Output window
– Provides details when you perform certain tasks
such as saving work or validating a mapping
• Passive transformation
– do not increase or decrease no. of rows it receives as input
• Active transformation
– Which do not output exact no. of rows that are input
Passive transformation
• If 3 rows are input in a passive transformation, 3 rows
will be generated as output
• For eg, an ETL developer wants to create a simple
mapping for loading customer phone numbers and
providing a sequence to each customer
• For some reason, phone numbers are stored in source
system in character format
• Developer needs to convert 3000 character fields into
numeric, so he uses a sequence generator
transformation to provide a sequence to 3000 customer
data rows
• He then uses an expression transformation
• Expression transformation applies the
calculation on 3000 rows and outputs all of
them in a numeric format
• The transformed data is then loaded in a
target tables
• In this, sequence generator and expression
transformation are passive transformations
Active transformation
• Transformation that discard rows with bad data are
example of active transformation
• Eg, In a mapping developer has configured a source
qualifier transformation to read data from 2 relational
tables belonging to same schema using homogeneous
join
• He then uses a filter transformation to filter null fields
and send only data fields for further processing
• In this case source qualifier and filter transformations
are examples.
Source qualifier
• Source qualifier helps you read data from
source
• Server generates a query for each source
qualifier
• The default query used is select statement for
each source column used in mapping
Data types
• Powercenter generates a select statement for
different platforms
• The data type of each source and target is known to
powercenter when it is imported to the
powercenter repository
• These are called native data types
• The source qualifier transformation of the mapping
will convert the source native data types to a
database neutral(common language) used
internally by powercenter
Workflows
• A workflow is a set of instructions that tells
the integration service how to run a task such
as sessions, email notifications and shell
commands
• After creating task in task developer, in
workflow designer you connect the tasks with
links to create a workflow
• You can also create tasks from within the
workflow designer
Workflow object