<?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: Qlik Replicate- Primary key issue in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2140614#M8222</link>
    <description>&lt;P&gt;Hi&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;Thanks for the respond!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 04:44:59 GMT</pubDate>
    <dc:creator>Megha_More</dc:creator>
    <dc:date>2023-11-23T04:44:59Z</dc:date>
    <item>
      <title>Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2138759#M8151</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;We are using IBM DB2 as a source and Google big query as a target, so for testing we only selected 1 table which not contain PK , similar table structure has been created at target, but in replicate it is showing us as a key.&lt;/P&gt;
&lt;P&gt;what is the reason behind this ? How it works exactly ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 10:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2138759#M8151</guid>
      <dc:creator>Megha_More</dc:creator>
      <dc:date>2023-11-17T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2138799#M8152</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213954"&gt;@Megha_More&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;One of the possibilities is that in DB400 source endpoint, the 1st or 2nd RRN option was chosen, for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1700223966145.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120092i4DC3F0709F4AE9DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1700223966145.png" alt="john_wang_0-1700223966145.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then the column RRN will be created as PK for all tables. Not sure if your PK is RRN or other columns?&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 12:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2138799#M8152</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-11-17T12:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139054#M8162</link>
      <description>&lt;P&gt;Hi&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;In DB2, there are logical and physical tables. We are fetching physical tables, which don't have PK, but in logical tables there are PK. In the replicate console, it shows PK, which is for logical tables.&lt;/P&gt;
&lt;P&gt;Eg,&lt;/P&gt;
&lt;P&gt;Table A is in physical tables, and Table A_PF is in logical tables. Both tables have the same structure; the only difference is that PK is defined only for logical tables. In the task, we fetch physical tables, but only in the replicate console does it show PK defined, which is the same as logical tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 04:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139054#M8162</guid>
      <dc:creator>Megha_More</dc:creator>
      <dc:date>2023-11-18T04:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139057#M8164</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Megha&lt;/SPAN&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213954"&gt;@Megha_More&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your update.&lt;/P&gt;
&lt;P&gt;Qlik Replicate is a log-based CDC product. It reads data changes from DB2i Journal.&lt;/P&gt;
&lt;P&gt;In DB400, only&amp;nbsp;&lt;SPAN&gt;physical tables' ( type PF) changes are recorded in DB400 Journal; the logical tables (LF) is a view of the PF, it cannot be journaled, so no changes are available in Journal for CDC products, includes Qlik Replicate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In short,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PF - can be included into a task, with Full load and/or CDC options enables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LF - can be included into a Full Load ONLY task&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Qlik Replicate treat the PF and LF as different objects. So the metadata cannot be shared between them. That means , the LF's PK is invisible when we access the PF even their metadata is 'similar'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I still do not see what's your exact doubts. please share samples (screenshot, or table DDL etc) to help us understand the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 05:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139057#M8164</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-11-18T05:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139064#M8167</link>
      <description>&lt;P&gt;Hi&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;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Megha_More_0-1700291245271.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120160i13A600911DC91D19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Megha_More_0-1700291245271.png" alt="Megha_More_0-1700291245271.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In above image ,keys are defined for input which is not in my source tables (physical tables), this keys are for logical tables.&lt;/P&gt;
&lt;P&gt;So my question, why it is shows in replicate side. Is this affecting the task CDC ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 07:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139064#M8167</guid>
      <dc:creator>Megha_More</dc:creator>
      <dc:date>2023-11-18T07:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139083#M8169</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213954"&gt;@Megha_More&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;There are many ways to check the physical file PK information, for example run a command like&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DSPFD APSUPDB/KIT&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;where &lt;FONT face="courier new,courier"&gt;APSUPDB&lt;/FONT&gt; is the library name, &lt;FONT face="courier new,courier"&gt;KIT&lt;/FONT&gt; is the physical file name. The PK field information like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1700303829143.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120167i1430DCDBF290A9F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1700303829143.png" alt="john_wang_0-1700303829143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The field &lt;FONT face="courier new,courier"&gt;ID&lt;/FONT&gt; is the PK, it shows up in Qlik Replicate:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1700303981318.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120168i5824B2741DD2174E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1700303981318.png" alt="john_wang_1-1700303981318.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let's compare the metadata and understand what's the gap.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 10:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139083#M8169</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-11-18T10:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139354#M8175</link>
      <description>&lt;P&gt;Hi&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;We checked same thing, there is no PK in PF still we able to see PK info in replicate console, as those PK are for the LF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 11:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139354#M8175</guid>
      <dc:creator>Megha_More</dc:creator>
      <dc:date>2023-11-20T11:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139859#M8190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213954"&gt;@Megha_More&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update however it's hard to understand the issue. Please open a support ticket with above same information, support team will help further on the issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2139859#M8190</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-11-21T13:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate- Primary key issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2140614#M8222</link>
      <description>&lt;P&gt;Hi&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;Thanks for the respond!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Megha&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 04:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Primary-key-issue/m-p/2140614#M8222</guid>
      <dc:creator>Megha_More</dc:creator>
      <dc:date>2023-11-23T04:44:59Z</dc:date>
    </item>
  </channel>
</rss>

