<?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: Incremental load without qvd's. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801439#M1029566</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;Technically yes, you can use csv file, external tools&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;But in practice, when it comes to incremental load in QlikView you' re implicitly talking about QVD &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 12:00:48 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-02-13T12:00:48Z</dc:date>
    <item>
      <title>Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801436#M1029563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible Without qvd's files we can do the incremental load in qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801436#M1029563</guid>
      <dc:creator />
      <dc:date>2015-02-13T10:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801437#M1029564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/137904"&gt;Incremental Load without using Qvd&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801437#M1029564</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-02-13T10:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801438#M1029565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason we use QVDs is primarily the speed to load data (Optimized Load).&lt;/P&gt;&lt;P&gt;In general, Any data sources(txt, csv,database conns, even qvd's) are used for the initial Load, then saved to qvd for faster load for the increment part.&lt;/P&gt;&lt;P&gt;Yes it is possible to do incremental load without QVDs, some other BI/ETL tools can be used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801438#M1029565</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-02-13T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801439#M1029566</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;Technically yes, you can use csv file, external tools&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;But in practice, when it comes to incremental load in QlikView you' re implicitly talking about QVD &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 12:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801439#M1029566</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-13T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801440#M1029567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using QVD Files for Incremental Load&lt;/P&gt;&lt;P&gt;Incremental load is a very common task in relation to data bases. It is defined as loading nothing but new or changed records from the database. All other data should already be available, in one way or another. With QVD Files it is possible to perform incremental load in most cases.&lt;/P&gt;&lt;P&gt;The basic process is described below:&lt;/P&gt;&lt;P&gt;1. Load the new data from Database table (a slow process, but loading a limited number of records).&lt;/P&gt;&lt;P&gt;2. Load the old data from QVD file (loading many records, but a much faster process).&lt;/P&gt;&lt;P&gt;3. Create a new QVD file.&lt;/P&gt;&lt;P&gt;4. Repeat the procedure for every table loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complexity of the actual solution depends on the nature of the source database, but the following basic cases can be identified:&lt;/P&gt;&lt;P&gt;1) Case 1: Append Only (typically log files&lt;/P&gt;&lt;P&gt;2) Case 2: Insert Only (No Update or Delete)&lt;/P&gt;&lt;P&gt;3) Case 3: Insert and Update (No Delete)&lt;/P&gt;&lt;P&gt;4) Case 4: Insert, Update and Delete&lt;/P&gt;&lt;P&gt;Below you will find outlined solutions for each of these cases. The reading of QVD files can be done in either optimized mode or standard mode. (The method employed is automatically selected by the QlikView script engine depending on the complexity of the operation.) Optimized mode is (very approximately) about 10x faster than standard mode or about 100x faster than loading the database in the ordinary fashion.&lt;/P&gt;&lt;P&gt;Case 1: Append Only&lt;/P&gt;&lt;P&gt;The simplest case is the one of log files; files in which records are only appended and never deleted. The following conditions apply:&lt;/P&gt;&lt;P&gt;The database must be a log file (or some other file in which records are appended and not inserted or deleted) which is contained in a text file (no ODBC/OLE DB). &lt;/P&gt;&lt;P&gt;QlikView keeps track of the number of records that have been previously read and loads only records added at the end of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Example:&lt;/P&gt;&lt;P&gt;Buffer (Incremental) Load * From LogFile.txt (ansi, txt, delimiter is '\t', embedded labels);&lt;/P&gt;&lt;P&gt;Case 2: Insert Only (No Update or Delete)&lt;/P&gt;&lt;P&gt;If the data resides in a database other than a simple log file the case 1 approach will not work. However, the problem can still be solved with minimum amount of extra work. The following conditions apply:&lt;/P&gt;&lt;P&gt;The data source can be any database. &lt;/P&gt;&lt;P&gt;QlikView loads records inserted in the database after the last script execution. &lt;/P&gt;&lt;P&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Example:&lt;/P&gt;&lt;P&gt;QV_Table:&lt;/P&gt;&lt;P&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P&gt;AND ModificationTime &amp;lt; #$(BeginningThisExecTime)#;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD;&lt;/P&gt;&lt;P&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P&gt;(The hash signs in the SQL WHERE clause define the beginning and end of a date. Check your database manual for the correct date syntax for your database.)&lt;/P&gt;&lt;P&gt;Case 3: Insert and Update (No Delete)&lt;/P&gt;&lt;P&gt;The next case is applicable when data in previously loaded records may have changed between script executions. The following conditions apply:&lt;/P&gt;&lt;P&gt;The data source can be any database. &lt;/P&gt;&lt;P&gt;QlikView loads records inserted into the database or updated in the database after the last script execution&lt;/P&gt;&lt;P&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new. &lt;/P&gt;&lt;P&gt;A primary key field is required for QlikView to sort out updated records from the QVD file. &lt;/P&gt;&lt;P&gt;This solution will force the reading of the QVD file to standard mode (rather than optimized), which is still considerably faster than loading the entire database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Example:&lt;/P&gt;&lt;P&gt;QV_Table:&lt;/P&gt;&lt;P&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(PrimaryKey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 4: Insert, Update and Delete&lt;/P&gt;&lt;P&gt;The most difficult case to handle is when records are actually deleted from the source database between script executions. The following conditions apply:&lt;/P&gt;&lt;P&gt;The data source can be any database. &lt;/P&gt;&lt;P&gt;QlikView loads records inserted into the database or updated in the database after the last script execution. &lt;/P&gt;&lt;P&gt;QlikView removes records deleted from the database after the last script execution. &lt;/P&gt;&lt;P&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new. &lt;/P&gt;&lt;P&gt;A primary key field is required for QlikView to sort out updated records from the QVD file. &lt;/P&gt;&lt;P&gt;This solution will force the reading of the QVD file to standard mode (rather than optimized), which is still considerably faster than loading the entire database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Example:&lt;/P&gt;&lt;P&gt;Let ThisExecTime = Now( );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV_Table:&lt;/P&gt;&lt;P&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P&gt;AND ModificationTime &amp;lt; #$(ThisExecTime)#;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(PrimaryKey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join SQL SELECT PrimaryKey FROM DB_TABLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ScriptErrorCount = 0 then&lt;/P&gt;&lt;P&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P&gt;Let LastExecTime = ThisExecTime;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView 11.20 SR6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 19:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801440#M1029567</guid>
      <dc:creator>qepmalheiros</dc:creator>
      <dc:date>2015-10-20T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801441#M1029568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/incremental-load-in-qlikview-part1/" title="http://www.learnallbi.com/incremental-load-in-qlikview-part1/"&gt;Incremental Load in QlikView – Part1 | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/incremental-load-in-qlikview-part2/" title="http://www.learnallbi.com/incremental-load-in-qlikview-part2/"&gt;Incremental Load in QlikView – Part2 | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801441#M1029568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load without qvd's.</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801442#M1029569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/qlik-users/134885"&gt;malheiros&lt;/A&gt;‌ We appreciate your contributions. However, please do not repeat post the same replies over and over again, especially on older threads. You appear to be reposting the same two answers on any threads to do with Incremental Loads. This causes a lot of noise for others watching the Forums. &lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Rob&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 20:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-without-qvd-s/m-p/801442#M1029569</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-10-20T20:12:23Z</dc:date>
    </item>
  </channel>
</rss>

