<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change Tables vs Audit Tables in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478585#M12532</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/311083"&gt;@mk_istts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to verify that specific changes were replicated correctly or investigate any discrepancies between the source and target systems, the audit table provides a detailed history of these changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 05:08:46 GMT</pubDate>
    <dc:creator>sureshkumar</dc:creator>
    <dc:date>2024-08-29T05:08:46Z</dc:date>
    <item>
      <title>Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2073593#M6073</link>
      <description>&lt;P&gt;Hello team&lt;/P&gt;
&lt;P&gt;I'm having a hard time understanding the difference between the usage of Change Tables and Audit Tables whenever selecting Store Changes in the Replicate Task&lt;/P&gt;
&lt;P&gt;Both seem to have a similar implementation process, creating a table in the target database which stores the changes made during the CDC phase. The audit table being for audit purpose later on (right?). But what is main purpose of using the Change table mode? Does it provide advantages during the CDC phase? if so, why wouldn't I always use this option?&lt;/P&gt;
&lt;P&gt;Could you provide some examples on this topic?&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;Matte&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 04:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2073593#M6073</guid>
      <dc:creator>guilherme-matte</dc:creator>
      <dc:date>2023-05-22T04:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2073596#M6074</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193288"&gt;@guilherme-matte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&lt;/P&gt;
&lt;P&gt;There are 3 different apply changes modes in Replicate CDC:&lt;/P&gt;
&lt;P&gt;1- Applying Changes&lt;/P&gt;
&lt;P&gt;2- Using Change Tables&lt;/P&gt;
&lt;P&gt;3- Using Audit Table&lt;/P&gt;
&lt;P&gt;the major different between them are:&lt;/P&gt;
&lt;P&gt;1- it's a 1:1 mapping between source tables and target tables. All changes of Source side table "A"&amp;nbsp; will be applied to target side corresponding table , by default it's "A" as well ( you can rename it freely). For example an UPDATE in source "A" will be repeated in target side "A".&lt;/P&gt;
&lt;P&gt;2- it's a 1:1 mapping as well. source side table "A" changes will be stored in target side "A__ct", and you determine whether to replicate the changes for the final target table. "A__ct" can be regard as an interim table which store a given source table DML changes. For example an UPDATE in source "A" will be recorded likes an "UPDATE" SQL.&lt;/P&gt;
&lt;P&gt;3- it's a M:1 mapping, that means all source tables changes will be stored in a &lt;STRONG&gt;single&lt;/STRONG&gt; target side table, certainly in the audit table&amp;nbsp;every row contains the metadata information eg task name, source table name and the corresponding DML changes.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 04:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2073596#M6074</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-05-22T04:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2074627#M6097</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Thank you for the insights. Still&amp;nbsp; regarding the Store Changes, is there any recommendations regarding when it should be enabled? does it provide a better CDC performance/utilisation or doest it only provide benefits when I have an specific usage for it? like for example troubleshooting and error finding.&lt;/P&gt;
&lt;P&gt;Kind Regards!&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 00:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2074627#M6097</guid>
      <dc:creator>guilherme-matte</dc:creator>
      <dc:date>2023-05-24T00:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2074688#M6098</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193288"&gt;@guilherme-matte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You are right! Store changes&amp;nbsp;&lt;SPAN&gt;only provide benefits with specific usage for example you just want to get&amp;nbsp;statistics of how many changes (insert/update/delete) were done but need not know the changes details etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In general if the replication is used to keep the source side and target side data synchronized then apply changes is good enough.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Feel free to let us know if you need any additional information,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 01:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2074688#M6098</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-05-24T01:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478581#M12531</link>
      <description>&lt;P&gt;Hi, I am a new user on Qlik Replicate, I just want to know, what is the use case or example where I need to use Audit table?&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 04:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478581#M12531</guid>
      <dc:creator>mk_istts</dc:creator>
      <dc:date>2024-08-29T04:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478585#M12532</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/311083"&gt;@mk_istts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to verify that specific changes were replicated correctly or investigate any discrepancies between the source and target systems, the audit table provides a detailed history of these changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 05:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478585#M12532</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-08-29T05:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478778#M12541</link>
      <description>&lt;P&gt;Thanks for the help!&lt;BR /&gt;&lt;BR /&gt;How can I ensure that 100% of changes from the source data are replicated to the target? If replication is incomplete (e.g., only 90% of changes are replicated), how can I determine the cause and identify the non-replicated data? Should I use a Change Table or Audit Table, and why?&lt;/P&gt;
&lt;P&gt;Additionally, in an Audit Table, change records (old and new data) are stored in JSON format (&lt;A href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Audit%20Table/use_audit_table.htm#ar_audit_tbl_530248966_1096742" target="_blank" rel="noopener"&gt;Using an Audit table #Using an Audit table | Qlik Replicate Help&lt;/A&gt;). Does this significantly increase storage compared to a Change Table?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 01:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2478778#M12541</guid>
      <dc:creator>mk_istts</dc:creator>
      <dc:date>2024-08-30T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479020#M12546</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/311083"&gt;@mk_istts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both Aduit table and CT table are used to track the data which missed during replication.&lt;/P&gt;
&lt;P&gt;You can set up 2 test tasks, one for CT table and another for Audit table.&lt;/P&gt;
&lt;P&gt;Do the DML operations from the source, observe the behavior in both tasks i.e what time the data has been transferred to the target/any data&amp;nbsp;&lt;SPAN&gt;discrepancies.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If it's an update DML operations, you can observe before and after image of the data.&lt;/P&gt;
&lt;P&gt;I am not sure the storage usage, CLOB column will be storage as JSON, kindly do test it in your test environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2024 17:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479020#M12546</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-08-31T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479066#M12548</link>
      <description>&lt;P&gt;Thanks for the help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another question regarding Change Data Capture (CDC) in Qlik Replicate. I've read about the &lt;CODE&gt;&lt;FONT color="#000000"&gt;attrep_changes&lt;/FONT&gt;&lt;/CODE&gt; table. Is this simply the table name used when using a Changes Table, or is it a distinct feature? If it's a separate feature, how does it differ from Changes Tables?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 02:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479066#M12548</guid>
      <dc:creator>mk_istts</dc:creator>
      <dc:date>2024-09-02T02:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change Tables vs Audit Tables</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479126#M12551</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/311083"&gt;@mk_istts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attrep_changes table reside in the target database. it is used a staging table for CDC processing when using batch apply:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the attrep_changes table is used as a temporary table to hold operations that are being done against the target tables. It makes the operations faster as we can do a single statement to execute many DML statements as once. Like doing an 'insert into table select * from attrep_changes' or 'delete from table where pk in select pk from attrep_changes'. This table is only used in CDC. Depending on the target endpoint type there is either one attrep_changes table for the entire task (attrep_changes&amp;lt;hash(task_uuid)&amp;gt;) or one table per target table for each task (attrep_changes&amp;lt;hash(task_uuid)&amp;gt;_&amp;lt;hash(table_id)&amp;gt;). This is due to performance and limitations of the various databases that Replicate support&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The attrep_changes tables are created while the task is running. When a task is stopped, the attrep_changes tables are dropped.&lt;/P&gt;
&lt;P&gt;The attrep_changes are erased by the task when it is stopped normally, if a task crashes those tables are not erased and you will have to perform a manual cleanup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 10:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-Tables-vs-Audit-Tables/m-p/2479126#M12551</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-09-02T10:28:25Z</dc:date>
    </item>
  </channel>
</rss>

