Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Data Integration performance tuning overview
  3. Optimizing targets
  4. Optimizing sources
  5. Optimizing mappings
  6. Optimizing mapping tasks
  7. Optimizing advanced clusters
  8. Optimizing system performance

Data Integration Performance Tuning

Data Integration Performance Tuning

Minimizing aggregate function calls

Minimizing aggregate function calls

When writing expressions, factor out as many aggregate function calls as possible.
Each time you use an aggregate function call, the mapping searches and groups the data. For example, in the following expression,
Data Integration
reads COLUMN_A, finds the sum, then reads COLUMN_B, finds the sum, and finally finds the sum of the two sums:
SUM(COLUMN_A) + SUM(COLUMN_B)
If you factor out the aggregate function call as shown below,
Data Integration
adds COLUMN_A to COLUMN_B, then finds the sum of both:
SUM(COLUMN_A + COLUMN_B)

0 COMMENTS

We’d like to hear from you!