<?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 Loading Dimensions (Update and Insert) or Full Load in QVD File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804509#M661875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are Update (Existing Records) and Insert (New Records) and Same I want to apply in my QlikView Script to Load all dimensions Update/Insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I thought, Instead of doing Update and Insert, each load I can make it Full load for all the dimension. We have 2 years of data in our DWH and source for QlikView is DWH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bigger dimension is having 15 million records and rest all dimensions are having less than 200000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what would be more efficient ?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Full Load (Each Day)? &lt;STRONG&gt;(15 Million or more records need to load every day)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;or Update/Insert? &lt;STRONG&gt;(On average each day, maximum 2 million records need update and insert)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me the best practice and pros and corns of FULL LOAD and Update/Insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: My Facts are Incremental Load on daily basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also provide me Update and Insert syntax for below Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Load QlikView Script from My Database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIM_EMP_DATA:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_KEY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeType,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_TYPE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_NAME&lt;/P&gt;&lt;P&gt;FROM STAR.DIM_EMPLOYEE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE DIM_EMP_DATA INTO D:\DIMENSION_DATA\DIM_EMP_DATA.QVD;&lt;/P&gt;&lt;P&gt;DROP TABLE DIM_EMP_DATA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Mar 2015 23:23:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-15T23:23:17Z</dc:date>
    <item>
      <title>Loading Dimensions (Update and Insert) or Full Load in QVD File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804509#M661875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are Update (Existing Records) and Insert (New Records) and Same I want to apply in my QlikView Script to Load all dimensions Update/Insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I thought, Instead of doing Update and Insert, each load I can make it Full load for all the dimension. We have 2 years of data in our DWH and source for QlikView is DWH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bigger dimension is having 15 million records and rest all dimensions are having less than 200000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what would be more efficient ?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Full Load (Each Day)? &lt;STRONG&gt;(15 Million or more records need to load every day)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;or Update/Insert? &lt;STRONG&gt;(On average each day, maximum 2 million records need update and insert)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me the best practice and pros and corns of FULL LOAD and Update/Insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: My Facts are Incremental Load on daily basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also provide me Update and Insert syntax for below Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Load QlikView Script from My Database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIM_EMP_DATA:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_KEY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeType,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as EmployeeName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_TYPE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMP_NAME&lt;/P&gt;&lt;P&gt;FROM STAR.DIM_EMPLOYEE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE DIM_EMP_DATA INTO D:\DIMENSION_DATA\DIM_EMP_DATA.QVD;&lt;/P&gt;&lt;P&gt;DROP TABLE DIM_EMP_DATA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Mar 2015 23:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804509#M661875</guid>
      <dc:creator />
      <dc:date>2015-03-15T23:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Dimensions (Update and Insert) or Full Load in QVD File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804510#M661876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will have to test to be sure. But my best guess is that a full reload would be faster. there is significant overhead in merging 2M changed rows. If your network connection is slow or your columns are wide,&amp;nbsp; the incremental approach may win out. I would test both to get a profile and some specifics for your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 02:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804510#M661876</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-16T02:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Dimensions (Update and Insert) or Full Load in QVD File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804511#M661877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, Production System is not build so can't test it with production data and in Test Env having less data so unable to differentiate that which is more efficient FULL Load or UPDATE/INSERT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be waiting for your analysis. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 04:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804511#M661877</guid>
      <dc:creator />
      <dc:date>2015-03-16T04:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Dimensions (Update and Insert) or Full Load in QVD File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804512#M661878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, my best guess is that full load would be most efficient in this case and easier to code and maintain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decisions about load strategies should be evaluated in terms of "good enough". If you can do a full load and meet your time and resource objectives, go with the full load. It's simple and clean, Only if you have a problem to solve would I go down the road of to implementing an incremental load. If you do, you must test the performance and possibly do some tuning to make a 2M/!5M row update perform better than a full reload. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So again, go with the full reload if it works and meets your time and resource constraints. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 05:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Dimensions-Update-and-Insert-or-Full-Load-in-QVD-File/m-p/804512#M661878</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-16T05:23:06Z</dc:date>
    </item>
  </channel>
</rss>

