Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange CDC Introduction
  3. Part 2: PowerExchange CDC Components
  4. Part 3: PowerExchange CDC Data Sources
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for Linux, UNIX, and Windows

CDC Guide for Linux, UNIX, and Windows

Default Restart Points for Null Restart Tokens

Default Restart Points for Null Restart Tokens

If PowerExchange receives null restart tokens for all sources in a CDC session, it uses the default restart points.
The following table describes the default restart points for data sources on Linux, UNIX, and Windows, by source type and extraction mode:
Data Source
Batch and Continuous Extraction Modes
Real-time Extraction Mode
DB2 for Linux, UNIX, and Windows
Oldest PowerExchange Logger for Linux, UNIX, and Windows log file that is recorded in the CDCT file.
Current log position at the time the PowerExchange capture catalog was created.
Microsoft SQL Server
Oldest PowerExchange Logger log file that is recorded in the CDCT file.
Oldest data available in the Publication database.
Oracle
Oldest PowerExchange Logger log file that is recorded in the CDCT file, for both PowerExchange Oracle CDC with LogMiner and Express CDC for Oracle.
Earliest available point in the change stream:
  • For PowerExchange Oracle CDC with LogMiner, the most recent Oracle catalog dump in the archived logs.
  • For PowerExchange Express CDC for Oracle, the beginning of the most recent archive log.
PowerExchange uses the default restart point only if all sources in a CDC session have null restart tokens. If some sources have non-null restart tokens, PWXPC assigns the oldest restart point from those tokens to any sources for which no restart tokens are specified.
For example, a new CDC session contains the sources A, B, and C. The restart token file contains restart tokens for sources A and B. The restart point for source A is older than that for source B. Source C does not have existing or supplied restart tokens. Because some sources in the CDC session have explicit restart points, PWXPC does not assign null restart tokens to source C. Instead, PWXPC assigns the restart point for source A to source C because this restart point is the oldest one supplied.

0 COMMENTS

We’d like to hear from you!