Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: PowerExchange Client for PowerCenter (PWXPC)
  4. Part 3: PowerExchange ODBC
  5. Appendix A: PowerExchange Interfaces for PowerCenter Tips
  6. Appendix B: Datatypes and Code Pages
  7. Appendix C: PowerExchange Interfaces for PowerCenter Troubleshooting

PowerExchange Interfaces for PowerCenter

PowerExchange Interfaces for PowerCenter

Configuring UOW Count

Configuring UOW Count

The following table describes the optional
UOW Count
connection attribute:
Connection Attribute
Change or Real Time
Description
UOW Count
Both
The number of units of work (UOWs) that PWXPC processes before it sends a commit request to PowerCenter to commit data to all targets in the CDC session.
Valid values:
-1
. Disables this attribute.
0
. Disables this attribute.
n
. Specifies the number of UOWs that PWXPC processes before sending a commit request.
Default is 1.
A unit of work (UOW) is a collection of changes within a single commit scope that a transaction makes on the source system. Each UOW can contain a different number of changes.
PWXPC reads change data from PowerExchange and provides the data to the source qualifier, at which point the count of UOWs begins. When you use a non-zero value for the
UOW Count
attribute, PWXPC issues a real-time flush to commit the change data to the target after the UOW count reaches the specified value. When PWXPC issues a real-time flush, it writes the following message to the session log:
[PWXPC_10081] [INFO] [CDCDispatcher] raising real-time flush with restart tokens [
restart1_token
], [
restart2_token
] because UOW Count [
uow_count
] is reached
For example, if the
UOW Count
value is 10, the PowerCenter Integration Service commits all change data read from the source to the target after the tenth UOW is processed.
The lower you set the
UOW Count
value, the faster the PowerCenter Integration Service commits data to the target. If you require the lowest possible latency for applying change change data to targets, specify a
UOW Count
value of 1.
Commit processing is not controlled solely by the
UOW Count
attribute. The
Maximum Rows Per commit
, and
Real-Time Flush Latency
attributes also determine the commit frequency.
If you have many small UOWs, you can use the
UOW Count
or
Minimum Rows Per commit
attribute or both to create a consistent flow of UOWs that can be committed to the target in batches of approximately the same size.
You can also control commits that occur at UOW boundaries based on time by specifying the
Real-time Flush Latency
attribute. Specify the
UOW Count
or
Real-time Flush Latency
attribute or both. If you specify both, a commit occurs when either limit is reached.
If you specify a low
UOW Count
value, the session might consume more system resources on the target platform because data is committed to the target more frequently. Balance performance and resource consumption with latency requirements when setting the
UOW Count
,
Maximum Rows Per commit
, and
Real-Time Flush Latency
connection attributes.

0 COMMENTS

We’d like to hear from you!