<?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: What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505511#M13683</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_headColumns.htm#ar_tasks_custom_1624443382_1713442:~:text=VARCHAR%20(32)-,AR_H_COMMIT_TIMESTAMP,DATETIME,-AR_H_DB_COMMIT_TIMESTAMP" target="_blank" rel="noopener"&gt;columns detailed description&lt;/A&gt; can be found in User Guide. And I'm adding&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;extra explanation here. There are several different scenarios.&lt;/P&gt;
&lt;P&gt;1. In general, if you are executing very small transaction under AUTO-COMMIT mode, the "&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" equals to the "&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;". For example you update a few rows only (eg 1 row affected) under AUTO-COMMIT mode;&lt;/P&gt;
&lt;P&gt;2. If the DML is executed under explicit transaction mode, and there is some gap between UPDATE and COMMIT, then they are in different&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;timestamp&lt;/SPAN&gt;. For example you execute UPDATE at 11:15:11 , after 1 minute you submit the explicit COMMIT at 11:16:23, then there is 1 minute gap between the "&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" and&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1739343811109.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177471iA286A474402A323E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1739343811109.png" alt="john_wang_0-1739343811109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The above sample is based on Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Certainly, sometimes the&amp;nbsp;&amp;nbsp;"&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" and&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;" are different even the COMMIT is executed immediate after UPDATE, or even in AUTO-COMMIT mode. For example in a single 'big' transaction, a huge number of rows are affected, the transaction takes 10 minutes to complete, then all the changed rows own&amp;nbsp; the same&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;" but different&amp;nbsp;"&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" in each change event.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 07:03:59 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2025-02-12T07:03:59Z</dc:date>
    <item>
      <title>What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505499#M13680</link>
      <description>&lt;P&gt;What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values? Is AR_H_DB_COMMIT_TIMESTAMP the only way to find out the commit time of the source? When using AR_H_COMMIT_TIMESTAMP, there are cases where the time is later than AR_H_TIMESTAMP. Is there any way to solve this?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 05:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505499#M13680</guid>
      <dc:creator>khchoy</dc:creator>
      <dc:date>2025-02-12T05:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505511#M13683</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_headColumns.htm#ar_tasks_custom_1624443382_1713442:~:text=VARCHAR%20(32)-,AR_H_COMMIT_TIMESTAMP,DATETIME,-AR_H_DB_COMMIT_TIMESTAMP" target="_blank" rel="noopener"&gt;columns detailed description&lt;/A&gt; can be found in User Guide. And I'm adding&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;extra explanation here. There are several different scenarios.&lt;/P&gt;
&lt;P&gt;1. In general, if you are executing very small transaction under AUTO-COMMIT mode, the "&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" equals to the "&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;". For example you update a few rows only (eg 1 row affected) under AUTO-COMMIT mode;&lt;/P&gt;
&lt;P&gt;2. If the DML is executed under explicit transaction mode, and there is some gap between UPDATE and COMMIT, then they are in different&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;timestamp&lt;/SPAN&gt;. For example you execute UPDATE at 11:15:11 , after 1 minute you submit the explicit COMMIT at 11:16:23, then there is 1 minute gap between the "&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" and&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1739343811109.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177471iA286A474402A323E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1739343811109.png" alt="john_wang_0-1739343811109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The above sample is based on Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Certainly, sometimes the&amp;nbsp;&amp;nbsp;"&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" and&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;" are different even the COMMIT is executed immediate after UPDATE, or even in AUTO-COMMIT mode. For example in a single 'big' transaction, a huge number of rows are affected, the transaction takes 10 minutes to complete, then all the changed rows own&amp;nbsp; the same&amp;nbsp;"&lt;STRONG&gt;commit&amp;nbsp;timestamp&lt;/STRONG&gt;" but different&amp;nbsp;"&lt;STRONG&gt;transaction timestamp&lt;/STRONG&gt;" in each change event.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 07:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505511#M13683</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-02-12T07:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505861#M13704</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Thanks for answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;In your answer, "transaction timestamp" means "AR_H_TIMESTAMP" and "commit timestamp" means "AR_H_COMMIT_TIMESTAMP", right?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Then, does it mean that "transaction timestamp" is always earlier or equal to the time value of "commit timestamp"?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;KwangHo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 04:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505861#M13704</guid>
      <dc:creator>khchoy</dc:creator>
      <dc:date>2025-02-14T04:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AR_H_TIMESTAMP, AR_H_COMMIT_TIMESTAMP and AR_H_DB_COMMIT_TIMESTAMP column values?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505869#M13706</link>
      <description>&lt;P&gt;Hello KwangHo,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Definitely you are correct.&lt;/P&gt;
&lt;P&gt;If you hit exceptions, please open support ticket, or provide the reproduction steps, our support team would be more than happy to help you on it.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 05:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/What-is-the-difference-between-AR-H-TIMESTAMP-AR-H-COMMIT/m-p/2505869#M13706</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-02-14T05:54:48Z</dc:date>
    </item>
  </channel>
</rss>

