<?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: Replicate with 1:M in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966182#M3408</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193012"&gt;@Dumma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;yes, you can select the required primary key columns in the table transformation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwathiPulagam_0-1659993559887.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86271iE37503A2EF52AAC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SwathiPulagam_0-1659993559887.png" alt="SwathiPulagam_0-1659993559887.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 21:19:34 GMT</pubDate>
    <dc:creator>SwathiPulagam</dc:creator>
    <dc:date>2022-08-08T21:19:34Z</dc:date>
    <item>
      <title>Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966160#M3404</link>
      <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;
&lt;P&gt;I am trying to go from 1 table in source to Many tables on the target database. source is SQL and target is Oracle. What is the are some of the patterns to achieve this? The table schemas are different b/w source and target.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966160#M3404</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-08T20:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966162#M3405</link>
      <description>&lt;P&gt;Hi Dumma,&lt;/P&gt;
&lt;P&gt;It sounds like a log stream task will allow you to have a single task reading the source table and then many replication tasks that would move the data to the target.&lt;/P&gt;
&lt;P&gt;Please have a look at this article as it will get you going in the right direction.&lt;BR /&gt;&lt;BR /&gt;Log Stream tasks&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/LogStream-Setup/ta-p/1743657" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/LogStream-Setup/ta-p/1743657&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966162#M3405</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2022-08-08T20:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966163#M3406</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193012"&gt;@Dumma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your best bet would probably be to use Log Stream. One task would replicate the table to binary files on disk, then you would set up a task for each table you need on the target that reads the binary data and writes to the target.&lt;/P&gt;
&lt;P&gt;Here's a link to our documentation on that feature:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Log%20Stream%20Staging/intro.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Log%20Stream%20Staging/intro.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966163#M3406</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2022-08-08T20:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966179#M3407</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121284"&gt;@Michael_Litz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will look at logstream to do this. Can the target tables have a different primary key than the source table primary keys?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 21:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966179#M3407</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-08T21:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966182#M3408</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193012"&gt;@Dumma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;yes, you can select the required primary key columns in the table transformation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwathiPulagam_0-1659993559887.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86271iE37503A2EF52AAC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SwathiPulagam_0-1659993559887.png" alt="SwathiPulagam_0-1659993559887.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 21:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966182#M3408</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2022-08-08T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966183#M3409</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193012"&gt;@Dumma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can change which columns are used for PK/UI in Table Settings:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_useTransTable.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_useTransTable.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 21:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966183#M3409</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2022-08-08T21:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966195#M3410</link>
      <description>&lt;P&gt;Hi Dumma,&lt;/P&gt;
&lt;P&gt;Please do mark one of the posts as Accept as Solution if you find it helpful.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 22:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966195#M3410</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2022-08-08T22:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966198#M3411</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I don't have anything new to add here but just summarizing the details so that the steps are clear and we follow the best practice.&lt;/P&gt;
&lt;P&gt;1) Create Logstream Staging task for which the source is SQL Server and target is Logstream endpoint. This will ensure we are reading source table only with one connection to avoid bottleneck.&lt;/P&gt;
&lt;P&gt;2) Create Oracle endpoint and choose a user/schema which has access to all other schemas. This will avoid redundancy and maintenance of multiple endpoints.&lt;/P&gt;
&lt;P&gt;3) Start building replication tasks each connecting to the same Logstream as the source and target Oracle endpoint. For each task either create a global transformation to choose the right schema or if it's only one table per task then choose the schema in the table settings, example below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashi_holla_0-1659999172907.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86275i3043C6F511199C30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shashi_holla_0-1659999172907.png" alt="shashi_holla_0-1659999172907.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4) Start the Logstream parent and the replication tasks in sequence and ensure all tasks are running in parallel and as expected.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 22:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966198#M3411</guid>
      <dc:creator>shashi_holla</dc:creator>
      <dc:date>2022-08-08T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with 1:M</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966199#M3412</link>
      <description>&lt;P&gt;we tried different PKs on the target, however we noticed that w&lt;SPAN&gt;e got two inserts and then update went to second insert, the update should have gone to the first insert.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 23:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-1-M/m-p/1966199#M3412</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-08T23:07:35Z</dc:date>
    </item>
  </channel>
</rss>

