<?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>article Loading a big table in Qlik Replicate in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Loading-a-big-table-in-Qlik-Replicate/ta-p/1738889</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;To load a big table in Qlik Replicate follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN class="TextRun SCXO159408784 BCX0" data-contrast="auto"&gt;&lt;SPAN class="NormalTextRun SCXO159408784 BCX0"&gt;Create a view for each partition on the source:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXO159408784 BCX0"&gt;&lt;SPAN class="EOP SCXO159408784 BCX0"&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="c"&gt;select 'CREATE OR REPLACE VIEW ' || table_owner || '.' || 'SALES_VIEWS_' || PARTITION_NAME || 

' AS SELECT * FROM ' || table_owner || '.' || TABLE_NAME ||  ' PARTITION(' || PARTITION_NAME || ');' 

from dba_tab_partitions 

where table_owner = 'SH' 

AND TABLE_NAME = 'SALES'; &lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Add the table to the existing task and set error handling to upsert. The table will start getting the changes.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt;Create a new task (full load only) and just select the views that were created. This will create table on target with same name as view. Then crank up the number of tables loading in parallel until it squeals.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;As each view loads merge the corresponding view_table on the target to the base table. They could use a merge syntax that would only copy rows that do not exist.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Feb 2022 11:34:42 GMT</pubDate>
    <dc:creator>David_Fergen</dc:creator>
    <dc:date>2022-02-02T11:34:42Z</dc:date>
    <item>
      <title>Loading a big table in Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Loading-a-big-table-in-Qlik-Replicate/ta-p/1738889</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;To load a big table in Qlik Replicate follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN class="TextRun SCXO159408784 BCX0" data-contrast="auto"&gt;&lt;SPAN class="NormalTextRun SCXO159408784 BCX0"&gt;Create a view for each partition on the source:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXO159408784 BCX0"&gt;&lt;SPAN class="EOP SCXO159408784 BCX0"&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="c"&gt;select 'CREATE OR REPLACE VIEW ' || table_owner || '.' || 'SALES_VIEWS_' || PARTITION_NAME || 

' AS SELECT * FROM ' || table_owner || '.' || TABLE_NAME ||  ' PARTITION(' || PARTITION_NAME || ');' 

from dba_tab_partitions 

where table_owner = 'SH' 

AND TABLE_NAME = 'SALES'; &lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Add the table to the existing task and set error handling to upsert. The table will start getting the changes.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt;Create a new task (full load only) and just select the views that were created. This will create table on target with same name as view. Then crank up the number of tables loading in parallel until it squeals.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;As each view loads merge the corresponding view_table on the target to the base table. They could use a merge syntax that would only copy rows that do not exist.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Feb 2022 11:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Loading-a-big-table-in-Qlik-Replicate/ta-p/1738889</guid>
      <dc:creator>David_Fergen</dc:creator>
      <dc:date>2022-02-02T11:34:42Z</dc:date>
    </item>
  </channel>
</rss>

