<?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 How to reduce load time in incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389062#M815066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented incremental load in my project for big table it has contain approximately 40 million records. It is working fine for Insert, Update and Delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is when I run this incremental load for Insert and Update it is not taking much time but when it goes to Delete it is comparing all Primary Key values and taking 35 minutes time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB sample logic I implemented in my Project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ThisExTime = now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IncrementalTest:&lt;/P&gt;&lt;P&gt;SQL SELECT CreatedDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Employee_Id",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;FROM QlikViewDev.dbo.TempInsertIncrementalTest&lt;/P&gt;&lt;P&gt;where CreatedDate &amp;gt;= '$(LastExTime)' and CreatedDate &amp;lt; '$(ThisExTime)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CreatedDate, Employee_Id,ID, Name&lt;/P&gt;&lt;P&gt;FROM [..\QVDs\PB\Test\IncrementalTest.qvd] (qvd)&lt;/P&gt;&lt;P&gt;Where not Exists(Employee_Id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;SQL SELECT Employee_Id&lt;/P&gt;&lt;P&gt;FROM QlikViewDev.dbo.TempInsertIncrementalTest2;&lt;/P&gt;&lt;P&gt;LET LastExTime = '$(ThisExTime)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any solution available to avoid this time taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to reduce load time in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389062#M815066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented incremental load in my project for big table it has contain approximately 40 million records. It is working fine for Insert, Update and Delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is when I run this incremental load for Insert and Update it is not taking much time but when it goes to Delete it is comparing all Primary Key values and taking 35 minutes time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB sample logic I implemented in my Project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ThisExTime = now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IncrementalTest:&lt;/P&gt;&lt;P&gt;SQL SELECT CreatedDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Employee_Id",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;FROM QlikViewDev.dbo.TempInsertIncrementalTest&lt;/P&gt;&lt;P&gt;where CreatedDate &amp;gt;= '$(LastExTime)' and CreatedDate &amp;lt; '$(ThisExTime)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CreatedDate, Employee_Id,ID, Name&lt;/P&gt;&lt;P&gt;FROM [..\QVDs\PB\Test\IncrementalTest.qvd] (qvd)&lt;/P&gt;&lt;P&gt;Where not Exists(Employee_Id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;SQL SELECT Employee_Id&lt;/P&gt;&lt;P&gt;FROM QlikViewDev.dbo.TempInsertIncrementalTest2;&lt;/P&gt;&lt;P&gt;LET LastExTime = '$(ThisExTime)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any solution available to avoid this time taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389062#M815066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce load time in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389063#M815067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you already tried a "distinct employee id". You said you have 30 million records but since you are doing the delete operation on employee id so I think it would be better to check the unique values of employee id instead of all records in your inner join.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389063#M815067</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2017-09-11T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce load time in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389064#M815069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks for your reply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;we have unique Employee_Id's in my DB.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389064#M815069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T12:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce load time in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389065#M815070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no other options for reducing the incremental load apart from the way you followed. That's the standard way for incremental load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however try using this methodology in your incremental load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2013/08/super-fast-method-to-retrieve-qvd-high-value/" style="font-size: 10pt;" title="https://qlikviewcookbook.com/2013/08/super-fast-method-to-retrieve-qvd-high-value/"&gt;https://qlikviewcookbook.com/2013/08/super-fast-method-to-retrieve-qvd-high-value/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389065#M815070</guid>
      <dc:creator>karthikoffi27se</dc:creator>
      <dc:date>2017-09-11T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce load time in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389066#M815073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the ID is unique, why don't you load the old data and add only the new data, for which there is no ID known?&lt;/P&gt;&lt;P&gt;Data: LOAD ID, .... FROM OldData;&lt;/P&gt;&lt;P&gt;NewData: CONCATENATE (Data) LOAD ID, ..... FROM ..... WHERE NOT EXISTS (ID);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reduce-load-time-in-incremental-load/m-p/1389066#M815073</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-09-11T12:42:09Z</dc:date>
    </item>
  </channel>
</rss>

