<?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: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869305#M1376</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/155886"&gt;@Nimmi&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/118219"&gt;@Jet&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/119061"&gt;@dima_etkin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please allow me to add 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;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-1639192782327.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68399iCCF7321CB0765C2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1639192782327.png" alt="john_wang_0-1639192782327.png" /&gt;&lt;/span&gt;&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;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Dec 2021 04:11:49 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2021-12-11T04:11:49Z</dc:date>
    <item>
      <title>Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1709341#M245</link>
      <description>&lt;P&gt;Hi! May I know the difference between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP? I can’t seem to grasp the description on the user guide that I got. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 11:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1709341#M245</guid>
      <dc:creator>Jet</dc:creator>
      <dc:date>2020-06-09T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1709775#M246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;AR_H_TIMESTAMP is the time associated with the change record and indicates when the change happened on the source. The AR_H_COMMIT_TIMESTAMP indicates when the change was committed on the source. Both are represented in UTC.&lt;/P&gt;&lt;P&gt;Replicate manual describes them as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AR_H_TIMESTAMP&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Change timestamp&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current timestamp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATETIME&lt;/P&gt;&lt;P&gt;(The UTC timestamp on the Qlik Replicate Server.) Note The time is accurate to the nearest second.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AR_H_COMMIT_TIMESTAMP&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Commit timestamp&lt;/EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current timestamp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATETIME&lt;/P&gt;&lt;P&gt;(The UTC timestamp on the Qlik Replicate Server.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The comment “The UTC timestamp on the Qlik Replicate Server”&amp;nbsp; refers to the fact that some databases return the timestamp in local time, and Qlik Replicate converts that to UTC using the time zone defined on the Replicate Server.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1709775#M246</guid>
      <dc:creator>dima_etkin</dc:creator>
      <dc:date>2020-06-10T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1717944#M249</link>
      <description>&lt;P&gt;Got it. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 13:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1717944#M249</guid>
      <dc:creator>Jet</dc:creator>
      <dc:date>2020-06-11T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869209#M1372</link>
      <description>&lt;P&gt;TY Dima! I am struggling with the difference between - "w&lt;SPAN&gt;hen the change happened on the source" and he "when the change was committed on the source."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 17:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869209#M1372</guid>
      <dc:creator>Nimmi</dc:creator>
      <dc:date>2021-12-10T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869305#M1376</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/155886"&gt;@Nimmi&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/118219"&gt;@Jet&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/119061"&gt;@dima_etkin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please allow me to add 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;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-1639192782327.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68399iCCF7321CB0765C2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1639192782327.png" alt="john_wang_0-1639192782327.png" /&gt;&lt;/span&gt;&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;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 04:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869305#M1376</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-12-11T04:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between AR_H_TIMESTAMP and AR_H_COMMIT_TIMESTAMP</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869758#M1386</link>
      <description>&lt;P&gt;TY&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt; for the detailed explanation.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 12:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Difference-Between-AR-H-TIMESTAMP-and-AR-H-COMMIT-TIMESTAMP/m-p/1869758#M1386</guid>
      <dc:creator>Nimmi</dc:creator>
      <dc:date>2021-12-13T12:54:07Z</dc:date>
    </item>
  </channel>
</rss>

