<?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: Why does the change_seq not reflect the commit timestamp all the time? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527776#M14870</link>
    <description>&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the assistance so far. This just leaves me with one question - Are you aware of why the &lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_headColumns.htm" target="_self"&gt;documentation&lt;/A&gt; says "The time part &lt;STRONG&gt;usually&lt;/STRONG&gt; refers to the commit time of the transaction that includes the change record" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a time where it doesn't? or is the&amp;nbsp; usually part because the time itself is obtained from the Qlik Replicate server machine where there time can differ slightly from the source machine?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 22:57:20 GMT</pubDate>
    <dc:creator>MoeE</dc:creator>
    <dc:date>2025-08-19T22:57:20Z</dc:date>
    <item>
      <title>Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2526830#M14828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Answer - So change_seq does indeed reflect the commit timestamp. I made a mistake during my testing as I used DBeaver(3rd party query tool) on an Oracle database. DBeaver automatically commits changes as opposed to Oracle SQL Developer, which created the impression of the change_seq using the change time rather than the commit time.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original post:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I did some testing on the Audit table. On my source Oracle table I did the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I updated a record without committing it at 14:26:44&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I committed the update at 14:27:21&lt;/P&gt;&lt;P&gt;3. I inspected the Audit table and the "change_seq" column showed 14:26:44.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the misconception that the change_seq column always showed the commit timestamp so I was confused as to why it showed the change timestamp. That was until I reread the documentation which said "The time part &lt;STRONG&gt;usually&lt;/STRONG&gt; refers to the commit time of the transaction that includes the change record".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The keyword here is "usually". Can someone please let me know why sometimes it reflects the commit timestamp while at other times, it reflects the change timestamp (the timestamp at which the transaction to change the record was executed but not committed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help with this is appreciated. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 23:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2526830#M14828</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-18T23:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527024#M14839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I conducted a test from the Oracle to the SQL Server:&lt;BR /&gt;&lt;BR /&gt;Insert at&amp;nbsp;19:38:23&lt;BR /&gt;Insert at&amp;nbsp;19:38:44&lt;BR /&gt;Commit at 19:39:00&lt;BR /&gt;&lt;BR /&gt;The content of change_record (I inserted TS using CURRENT_TIMESTAMP)&lt;BR /&gt;{ "data" : [{ "ID" : "13"} ,{ "C1" : "DES"} ,{ "TS" : "2025-08-12 19:38:23.740000"} ] }&lt;BR /&gt;{ "data" : [{ "ID" : "14"} ,{ "C1" : "DES2"} ,{ "TS" : "2025-08-12 19:38:44.925000"} ] }&lt;BR /&gt;&lt;BR /&gt;The change seq of insert records are&lt;BR /&gt;20250812113901000000000000000000005&lt;BR /&gt;20250812113901000000000000000000009&lt;BR /&gt;&lt;BR /&gt;In my case, the change_seq was formed by commit timestamp. Could you verify again? My Qlik Replicate version is v2024.11.0.444.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 11:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527024#M14839</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2025-08-12T11:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527094#M14840</link>
      <description>&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Qlik Replicate version is v2024.11.0.273.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried again with the same task.&lt;/P&gt;&lt;P&gt;insert 1 at 9:04:26&amp;nbsp;&lt;/P&gt;&lt;P&gt;insert 2 at 9:05:33&lt;/P&gt;&lt;P&gt;commit 9:06:05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resultant timestamp in the change_seq column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoeE_0-1755040273720.png" style="width: 523px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182782i497E89BFB570EF89/image-dimensions/523x98?v=v2" width="523" height="98" role="button" title="MoeE_0-1755040273720.png" alt="MoeE_0-1755040273720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looks like again I received the change time rather than the commit* time. Are we meant to receive the commit time? If not, what are the scenarios that would dictate whether I would receive the change time vs the commit time? Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 23:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527094#M14840</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-12T23:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527490#M14861</link>
      <description>&lt;P&gt;I suspect the 'usual' refers to not all source databases behaving the same.&lt;/P&gt;&lt;P&gt;It is my recollection (could be wrong, and not going to try ;-), that specifically SQLserver does NOT have an actual time for a change, but 'just' an LSN. There is a timestamp on COMMITs. Replicate uses those (even from 'other' transactions) to approximate the change times in SQL server.&lt;/P&gt;&lt;P&gt;Maybe, just maybe, Desmonds example used an otherwise idle SQL server as source despite him indicating Oracle???&lt;/P&gt;&lt;P&gt;Google for :&amp;nbsp;sql server cdc lsn timestamp precision&lt;/P&gt;&lt;P&gt;Hein&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 03:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527490#M14861</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2025-08-16T03:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527517#M14863</link>
      <description>&lt;P&gt;Hi Hein,&lt;/P&gt;&lt;P&gt;Thanks for your reply. It appears that both Desmond and I tested this using an Oracle source and got two different results. I'm on Oracle 19c. Is there anyone that would definitely know the reason for this behaviour? Perhaps&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;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;, if you are able, can you please confirm whether your test occurred from an Oracle source as suggested by Hein? Thanks for your assistance, it is appreciated.&lt;/P&gt;&lt;P&gt;Thank you guys.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 01:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527517#M14863</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-18T01:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527520#M14864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I've tested again and I have some interesting results. To summarise what I found - It looks like the&amp;nbsp;&lt;STRONG&gt;change_seq&lt;/STRONG&gt;&amp;nbsp;column's timestamp depends on which machine the update query was run on. I'm confused as to why this makes a difference though.&lt;/P&gt;&lt;P&gt;I tested running an update, waiting a bit, then running a commit. I did this using 2 query tools on 2 different machines. I tested using 2 separate tasks each with their own distinct table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test 1 - Using Oracle SQL Developer on the Oracle server itself&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;I ran an update transaction at 12:01:05 PM without committing it.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I waited a bit, then ran the commit statement at&amp;nbsp;12:01:43 PM&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I checked the audit table on the SQL Server target machine and the results were:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;change_seq -&amp;nbsp;12:01:43 PM&lt;/P&gt;&lt;P&gt;timestamp -&amp;nbsp;&amp;nbsp;12:01:05&lt;/P&gt;&lt;P&gt;In this scenario, the &lt;STRONG&gt;change_seq&lt;/STRONG&gt; column has the commit timestamp.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test 2 - Using DBeaver (3rd party query tool) from another machine in the same network&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this test, I connected to the Oracle database from another machine. It looks like when I do this, the change_seq value is always the change time rather than the commit time.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I ran the update statement without committing it at 11:52:13 PM&lt;/LI&gt;&lt;LI&gt;I ran the commit statement at 11:52:44 PM&lt;/LI&gt;&lt;LI&gt;I checked the results on the audit table&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Change_seq - 11:52:13 PM&lt;/LI&gt;&lt;LI&gt;Timestamp - 11:52:13 PM&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I ran this on 2 different tasks and got the same result. This is an interesting result. When the database is accessed from a query tool on another machine, and the statement is run from there, the result is that the timestamps in both the change_seq and timestamp columns represent the time at which the change was made. i.e, the change_seq column doesn’t reflect the time it was committed, but the time at which the change occurred&lt;/P&gt;&lt;P&gt;When the update and commit were run using a query tool on the Oracle server itself, the change_seq column represented the time at which the transaction was committed, while the timestamp column represented the time at which the change occurred.&lt;/P&gt;&lt;P&gt;Does anyone know why this is?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;&lt;P&gt;&lt;!--  notionvc: b060a428-c9b0-408c-8ba0-7341c7d24c83  --&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 02:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527520#M14864</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-18T02:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527527#M14865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please check the DBeaver settings. By default, it is Auto-Commit.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 03:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527527#M14865</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2025-08-18T03:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527538#M14866</link>
      <description>&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yep, looks like you're right. Apologies for any confusion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 05:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527538#M14866</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-18T05:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527540#M14867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;All good! Let me know if you need anything else.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 06:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527540#M14867</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2025-08-18T06:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the change_seq not reflect the commit timestamp all the time?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527776#M14870</link>
      <description>&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the assistance so far. This just leaves me with one question - Are you aware of why the &lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_headColumns.htm" target="_self"&gt;documentation&lt;/A&gt; says "The time part &lt;STRONG&gt;usually&lt;/STRONG&gt; refers to the commit time of the transaction that includes the change record" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a time where it doesn't? or is the&amp;nbsp; usually part because the time itself is obtained from the Qlik Replicate server machine where there time can differ slightly from the source machine?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 22:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Why-does-the-change-seq-not-reflect-the-commit-timestamp-all-the/m-p/2527776#M14870</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2025-08-19T22:57:20Z</dc:date>
    </item>
  </channel>
</rss>

