Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Aug 25, 2020 2:45:36 AM
Oct 31, 2019 2:22:30 PM
Problem Description
Data quality testing is showing missing data on the Target. The customer compared the source and the target confirming the missing data.
In this article we will suggest several approaches to debugging the missing events using CT tables.
The Task may already have CT tables enabled, and at some cases it makes sense to add Change Tables to the existing Task. However, if the user has a large number of tables, or if the storage demand is so high, another approach is to create a temporary Task adding only a subset of tables.
OPTION 1 – Task already has Change Tables
Having Change Tables may give us more information and enable faster analysis of the missing data. If the missing INSERT for example appears in the CT and not in the Target table, it could mean that the missing data is not related to the SOURCE.
In this case it may be related to the apply process, for example the Bulk or the Target itself.
The Change Tables by default have the “__ct” suffix which is configurable. Change Tables include header fields and the data for each change (or event):
The header fields enable the research of the data by providing the information about each change including the operation type, transaction ID and the timestamp of the original change (review the manual for more details).
OPTION 2 – Existing Task
Replicate allows you to add the Change Tables to an existing Task. If this option is feasible, you need to careful modify the Task:
To add CT to an existing table, follow these steps:
OPTION 3 – Create a Temporary CT Task
This option requires the user to create a new Task to debug the missing data. This Task will help analyze the missing data and determine if it always occurs or if it’s intermittent.
To create a temporary CT Task, perform the followings:
To modify the owner:
Task Settings -- Metadata -- Target Metadata
To start from timestamp, click on the Run drop-down then Advanced Run Options and select the “Tables are already loaded. Start process changes from”:
Analyzing the Change Tables
The resulting CT tables will allow you and Qlik support to analyze the missing data. Always attach these results to the case in the support portal in parallel to your analysis.
Questions to ask: