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

SAP HANA CDC Overview

SAP HANA CDC Overview

PowerExchange CDC for SAP HANA captures inserts, updates, and deletes from SAP HANA tables on Windows or Linux. The capture process uses triggers on the source tables to capture change data.
PowerExchange uses the following tables that are created in the source database:
  • PKLOG log table. Contains metadata about captured DML changes, such as the change type and timestamp, transaction ID, schema name, and table name.
  • PROCESSED log table. Contains the maximum sequence number (SCN) for the most recent change data capture cycle.
  • Shadow < schema >.< tablename >_CDC tables. When Full Audit mode is enabled, contains before images of updates and after images of inserts, updates, and deletes captured from the source tables, with metadata such as the transaction ID and timestamp. A shadow CDC table exists for each source table from which changes are captured.
The triggers write the metadata about the DML changes to the PKLOG transaction log table and also write the DML before images and after images to the CDC tables if you select the Full Audit option when registering source tables.
When you register the source tables, the PowerExchange Navigator can optionally generate the pklog.sql script that contain the SQL for creating the triggers and the PKLOG and PROCESSED log tables. If you select the Full Audit option, the script also generates SQL for create the CDC tables. If you do not use the PowerExchange Navigator scripts to create the triggers, PKLOG and PROCESSED tables, and shadow CDC Tables, PowerExchange creates them when the extraction process runs.

0 COMMENTS

We’d like to hear from you!