Table of Contents

Search

  1. Preface
  2. Understanding Pipeline Partitioning
  3. Partition Points
  4. Partition Types
  5. Pushdown Optimization
  6. Pushdown Optimization Transformations
  7. Real-time Processing
  8. Commit Points
  9. Row Error Logging
  10. Workflow Recovery
  11. Stopping and Aborting
  12. Concurrent Workflows
  13. Grid Processing
  14. Load Balancer
  15. Workflow Variables
  16. Parameters and Variables in Sessions
  17. Parameter Files
  18. FastExport
  19. External Loading
  20. FTP
  21. Session Caches
  22. Incremental Aggregation
  23. Session Log Interface
  24. Understanding Buffer Memory
  25. High Precision Data
  26. POWERCENTERHELP

Advanced Workflow Guide

Advanced Workflow Guide

Using 1:n Partitions

Using 1:n Partitions

If the session uses one flat file in the master pipeline and multiple flat files in the detail pipeline, use one partition for the master source and
n
partitions for the detail file sources (1:
n
). Add a pass-through partition point at the detail Source Qualifier transformation. Do not add a partition point at the Joiner transformation. The Integration Service maintains the sort order when you create one partition for the master source because it does not redistribute sorted data among partitions.
When you have multiple files in the detail pipeline that have the same structure, use the following guidelines to pass the files to the Joiner transformation:
  • Configure the mapping with one source and one Source Qualifier transformation in each pipeline.
  • Specify the path and file name for each flat file in the Properties settings of the Transformations view on the Mapping tab of the session properties.
  • Each file must use the same file properties as configured in the source definition.
  • The range of sorted data in the flat files can overlap. You do not need to use a unique range of data for each file.
When you sort file data with 1:
n
partitioning, the Joiner transformation might output unsorted data based on the join type. If you use a full outer or detail outer join, the Integration Service processes unmatched master rows last, which can result in unsorted data.
The following image shows sorted file data joined with 1:n partitioning:
 The master pipeline contains one sorted flat file, and the detail pipeline contains multiple sorted flat files. The Source Qualifier transformation in the detail pipeline has a pass-through partition point. Both Source Qualifier transformations link to the downstream Joiner transformation. The Joiner transformation might send unsorted data downstream, based on the join type.


Updated July 04, 2018