Beruflich Dokumente
Kultur Dokumente
OMBCONNECT $v_dr/$v_dr_pw@$v_host:$v_port:$v_sid;
• Use OMB Plus code OMBCC '$currentProject';
• Script everything OMBCONNECT RUNTIME '$v_rt' USE PASSWORD '$v_rt_pw';
if { $v_mdp_alt == "Y" } {
• Take same approach to the ETL process OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN
'DROP_MAPPING_DEPLOY_PLAN'
• Start at master process flow, gradually decompose through dims and facts
• Ensure each process flow executes from start (add stub code)
• Add input parameters to each mapping for exec ID, pass to start of PF
4: Use Data Modeling and ETL Templates
Load data from source. Populates the _STG table. An optional filter
should be added to the mapping.
This step may not be required if the data is being read from a 200 - Conform
trusted source. data
250 - Populate
Populates the _CNF table. error table with
records not
loaded during
transform
This step should compare the conformed data with the master data 300 - Identify all
set the changed data
This step will not be required if only changed data is being read, for
example is CDC is being employed.
Apply any business rules to data. This may be the same for new
and changed records, or they may have different requirements. If it 500 - Transform
is the same then consider using Pluggable Mappings. data
700 - Load
This step should take care of any SCD requirements.
changed data
Populates the DIM_ table.
End
5: Use OWB Data Quality Option
• See example at
http://www.oracle.com/technology/pub/articles/rittman-owb.html
6: Promote Code Re-Use
• Identify the ETL processes that are repeated throughout the build
• Try to design these upfront and re-use the code
• Avoid views and PL/SQL procedures
• Use Pluggable Mappings if possible
• Preserves the logic within OWB
• Graphical representation
• Metadata and lineage preserved
• Note: adding a pluggable mapping
copies it into the mapping; will need
to re-synchronize if pluggable
mapping changes
7: Leverage OWB Advanced Features
• Tables that have Data Rules applied can use Error Handling feature
• Additional columns added to tables to handle errors
• Either ignore, report or move to error table
• From 10.2.0.3, can use DML Error Logging feature of Oracle DB 10.2
8: Design Code Promotion Early
Developer Workstation
Developer Workstation
• Deploy objects and mappings puts "importing TRAINING_PROJECT project from MDL file"
OMBIMPORT MDL_FILE 'c:\training_project.mdl' USE
• Import/Export between repositories UPDATE_MODE MATCH_BY NAMES OUTPUT LOG TO 'c:
\training_project.log'
• Combine with WSH or Unix shell puts "Changing context to the TRAINING_PROJECT project"
OMBCC 'TRAINING_PROJECT'
scripts to automate build process puts "Connecting to the DEFAULT_CONTROL_CENTER"
OMBCONNECT CONTROL_CENTER
OMBCOMMIT
9: Welcome Evolving Requirements