<?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 Many source to One target in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1969184#M3464</link>
    <description>&lt;P&gt;Hello&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;The article is relevant in the case of the two source tables having the same schema. However in my use case, the tables don't have the same schema&amp;nbsp; and are on two different databases. And I dont think using logstream also makes sense as the source tables are on two different databases.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 13:32:48 GMT</pubDate>
    <dc:creator>Dumma</dc:creator>
    <dc:date>2022-08-16T13:32:48Z</dc:date>
    <item>
      <title>Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967229#M3428</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am looking for patterns that will allow us to solve for following use cases-&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;many source tables-&amp;gt;one target table&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;many source tables ( across multiple databases)-&amp;gt;one target table&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;*the source and target data models are different&lt;/P&gt;
&lt;P&gt;*source is oracle, target is sql&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967229#M3428</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-10T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967233#M3429</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;&lt;SPAN&gt;You can choose to store changes to all tables in a single Audit table (located in the target endpoint)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Audit%20Table/use_audit_table.htm#Using%20an%20Audit%20table" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Audit%20Table/use_audit_table.htm#Using%20an%20Audit%20table&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Lyka&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967233#M3429</guid>
      <dc:creator>lyka</dc:creator>
      <dc:date>2022-08-10T15:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967239#M3430</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113691"&gt;@lyka&lt;/a&gt;&amp;nbsp;. How would i process the changes from Audit table to propagate into target? what is the best way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967239#M3430</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-10T16:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967248#M3431</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;The audit table is created on the target endpoint. Yu can only use this for changes processing. So all changes will be recorded to the audit table. For full load, they will still have their own base table. What is your use case?&lt;/P&gt;
&lt;P&gt;You may refer to this link that describes store changes and how you can use audit table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/store_changes_settings.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/store_changes_settings.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Lyka&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967248#M3431</guid>
      <dc:creator>lyka</dc:creator>
      <dc:date>2022-08-10T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967252#M3433</link>
      <description>&lt;P&gt;yes,&amp;nbsp; i understand that Audit table will hold the changes on the source, however my question is how do i process the changes to the target from the Audit table? Is there anything in replicate or i need to implement process to do it? What are best ways to do this?&lt;/P&gt;
&lt;P&gt;Other using Audit tables, is using logstream also one of the options?&lt;/P&gt;
&lt;P&gt;My use case is I have multiple tables in my Oracle source db that i am trying to move to 1 table on SQL server target.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967252#M3433</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-10T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967256#M3434</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what you need to do in Replicate is go to task settings &amp;gt; turn on store changes and then change the option &lt;STRONG&gt;Store Changes in to use &lt;/STRONG&gt;&lt;SPAN style="background-color:rgb(255,255,255);font-size:13px;"&gt;Audit table&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color:rgb(255,255,255);font-size:13px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color:rgb(255,255,255);font-size:13px;"&gt;Lyka&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967256#M3434</guid>
      <dc:creator>lyka</dc:creator>
      <dc:date>2022-08-10T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967270#M3437</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;For the first use case, where all the tables are in one source database, you could use log stream. You would have one task writing all the tables to the log stream, and as many tasks as you have source tables to read from the log stream files and write to the target table. You would need to plan for how to manage potential collisions on your PK value.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 18:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967270#M3437</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2022-08-10T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967272#M3438</link>
      <description>&lt;P&gt;Hi Dumma,&lt;/P&gt;
&lt;P&gt;Please check out this article and video that discusses many to one scenarios and let me know if it helps out.&lt;/P&gt;
&lt;P&gt;Many to One task 2/25 Article and Video&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Qlik-Replicate-Many-to-One-Replication-Configuration/ta-p/1787230" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Qlik-Replicate-Many-to-One-Replication-Configuration/ta-p/1787230&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1967272#M3438</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2022-08-10T17:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1969184#M3464</link>
      <description>&lt;P&gt;Hello&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;The article is relevant in the case of the two source tables having the same schema. However in my use case, the tables don't have the same schema&amp;nbsp; and are on two different databases. And I dont think using logstream also makes sense as the source tables are on two different databases.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1969184#M3464</guid>
      <dc:creator>Dumma</dc:creator>
      <dc:date>2022-08-16T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1976543#M3627</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;For your Use case:&amp;nbsp; "&lt;SPAN&gt;My use case is I have multiple tables in my Oracle source DB that I am trying to move to 1 table on SQL server target."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I agree with&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;so,,, you have 1 DB&amp;nbsp; (multiple tables ) source to One table "X" on Target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The idea of a Log stream task putting the changes in the Staging folder and then having independent Child tasks per table all pointing to the exact same single table target is technically doable.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am not sure what contention there may be but I believe it's worth a try.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For the Other&amp;nbsp; Use Case: "&amp;nbsp;&lt;STRONG&gt;many source tables ( across multiple databases)-&amp;gt;one target table"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Use the same logic and make several Log stream tasks and many more Child tasks. This would really need to be tested because I would think there would be some sort of locking issue or contention, at some point.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Definitely needs to be tested!&lt;/P&gt;
&lt;P&gt;Hope this helps...&lt;/P&gt;
&lt;P&gt;Barb&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1976543#M3627</guid>
      <dc:creator>Barb_Fill21</dc:creator>
      <dc:date>2022-09-02T19:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1976547#M3629</link>
      <description>&lt;P&gt;Hi Duma,&lt;/P&gt;
&lt;P&gt;Okay, if there are different tables on different sources and you are going to replicate them into a single target that should work out fine.&lt;/P&gt;
&lt;P&gt;Just create a task for each source and use the same target endpoint.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1976547#M3629</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2022-09-02T19:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate with Many source to One target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1977218#M3639</link>
      <description>&lt;P&gt;I don't see the problem. You'll need one task per distinct source db. You can fold multiple tables into one target but of course you have to use transformations to get to a common target data model. If that gets too tricky then you can use a staging table and use target procedures to sort out complex data model issues such as 1 row into 2. Sometimes, as pointed out, a change-table becomes the only way to handle the 'merge' on the target side, notably to handle PK transformations/collisions.&lt;/P&gt;
&lt;P&gt;One thing is for sure, you must take the utmost care to have all task touching the shared target table be set to 'do nothing' on full load other wise any task full-load accidental or not, will blow away all data - not just the data which originated from that task. An alternative to the 'do nothing' is a clever private SQL syntax redefining TRUNCATE to become a selective delete for the data originated by the task.... not the easiest thing to do, and even harder to maintain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 04:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-with-Many-source-to-One-target/m-p/1977218#M3639</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-09-06T04:56:32Z</dc:date>
    </item>
  </channel>
</rss>

