<?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: Keep Orphaned QVD Buffers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933316#M981797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor216"&gt;&lt;/A&gt;Buffer&lt;/H1&gt;&lt;P&gt;QVD files can be created and maintained automatically via the &lt;SPAN class="Bold"&gt;buffer&lt;/SPAN&gt; prefix. This prefix can be used on most &lt;A class="MCXref_0"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/A&gt; and &lt;A class="MCXref_0"&gt;&lt;EM&gt;Select (SQL)&lt;/EM&gt;&lt;/A&gt; statements in script. It indicates that &lt;A class="MCXref_0"&gt;&lt;EM&gt;QVD Files&lt;/EM&gt;&lt;/A&gt; are used to cache/buffer the result of the statement.&lt;/P&gt;&lt;P&gt;Numerous limitations exist, most notable is that there must be either a file &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or a &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement at the core of any complex statement.&lt;/P&gt;&lt;P&gt;The name of the QVD file is a &lt;SPAN class="Italic"&gt;calculated&lt;/SPAN&gt; name (a 160-bit hexadecimal hash of the entire following &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement and other discriminating info) and is typically stored in the Application Data folder or another folder specified under &lt;A class="MCXref_0"&gt;&lt;EM&gt;User Preferences: Locations&lt;/EM&gt;&lt;/A&gt;. This means that the QVD buffer will be rendered invalid by any change in the following &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QVD buffers will normally be removed when no longer referenced anywhere throughout a complete script execution in the document that created it &lt;STRONG&gt;or when the document that created it no longer exists&lt;/STRONG&gt;. This housekeeping can be turned off by checking the options &lt;/EM&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Keep&lt;/SPAN&gt; Unreferenced QVD Buffers&lt;/SPAN&gt; in &lt;A class="MCXref_0"&gt;Document Properties: General&lt;/A&gt; (first requirement) and &lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;&lt;STRONG&gt;Keep Orphaned&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; QVD Buffers&lt;/STRONG&gt;&lt;/SPAN&gt; in &lt;A class="MCXref_0"&gt;User Preferences&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt; (second requirement) property pages respectively, though the procedure cannot be generally recommended. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;buffer&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;option [ , option] &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; ] ( loadstatement | selectstatement&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;&lt;SPAN class="Italic"&gt;option ::&lt;/SPAN&gt;= incremental | &lt;SPAN class="Italic"&gt;expiry&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;expiry::= stale &lt;SPAN class="Italic"&gt;[after]&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;amount&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[&lt;/SPAN&gt; (days | hours)&lt;SPAN class="Italic"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;amount&lt;/SPAN&gt; is a number specifying the time period. Decimals may be used. The unit is assumed to be &lt;SPAN class="Bold"&gt;days&lt;/SPAN&gt; if omitted.&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;incremental&lt;/SPAN&gt; option enables the ability to read only part of an underlying file. Previous size of the file is stored in the XML header in the QVD file. This is particularly useful with log files. All records loaded at a previous occasion are read from the QVD file whereas the following new records are read from the original source and finally an updated QVD-file is created. Note that the &lt;SPAN class="Bold"&gt;incremental&lt;/SPAN&gt; option can only be used with &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statements and text files and that &lt;SPAN class="Bold"&gt;incremental load&lt;/SPAN&gt; cannot be used where old data is changed or deleted!&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;stale after&lt;/SPAN&gt; option is typically used with DB sources where there is no simple timestamp on the original data. Instead one specifies how old the QVD snapshot can be to be used. A &lt;SPAN class="Bold"&gt;stale after&lt;/SPAN&gt; clause simply states a time period from the creation time of the QVD buffer after which it will no longer be considered valid. Before that time the QVD buffer will be used as source for data and after that the original data source will be used. The QVD buffer file will then automatically be updated and a new period starts.&lt;/P&gt;&lt;P&gt;If no option is used, the QVD buffer created by the first execution of the script will be used indefinitely.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;FIELDSET class="Code"&gt;buffer SQL SELECT * FROM MyTable;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;buffer (stale after 7 days) SQL SELECT * FROM MyTable;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;buffer (incremental) LOAD * FROM MyLog.log;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;&lt;/FIELDSET&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Aug 2015 13:24:16 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-08-16T13:24:16Z</dc:date>
    <item>
      <title>Keep Orphaned QVD Buffers</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933315#M981796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Kindly help me to explain the word "Keep Orphaned QVD Buffers" means in Qlikview Preferences. How it is useful? Please give an example.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933315#M981796</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Orphaned QVD Buffers</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933316#M981797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor216"&gt;&lt;/A&gt;Buffer&lt;/H1&gt;&lt;P&gt;QVD files can be created and maintained automatically via the &lt;SPAN class="Bold"&gt;buffer&lt;/SPAN&gt; prefix. This prefix can be used on most &lt;A class="MCXref_0"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/A&gt; and &lt;A class="MCXref_0"&gt;&lt;EM&gt;Select (SQL)&lt;/EM&gt;&lt;/A&gt; statements in script. It indicates that &lt;A class="MCXref_0"&gt;&lt;EM&gt;QVD Files&lt;/EM&gt;&lt;/A&gt; are used to cache/buffer the result of the statement.&lt;/P&gt;&lt;P&gt;Numerous limitations exist, most notable is that there must be either a file &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or a &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement at the core of any complex statement.&lt;/P&gt;&lt;P&gt;The name of the QVD file is a &lt;SPAN class="Italic"&gt;calculated&lt;/SPAN&gt; name (a 160-bit hexadecimal hash of the entire following &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement and other discriminating info) and is typically stored in the Application Data folder or another folder specified under &lt;A class="MCXref_0"&gt;&lt;EM&gt;User Preferences: Locations&lt;/EM&gt;&lt;/A&gt;. This means that the QVD buffer will be rendered invalid by any change in the following &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QVD buffers will normally be removed when no longer referenced anywhere throughout a complete script execution in the document that created it &lt;STRONG&gt;or when the document that created it no longer exists&lt;/STRONG&gt;. This housekeeping can be turned off by checking the options &lt;/EM&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Keep&lt;/SPAN&gt; Unreferenced QVD Buffers&lt;/SPAN&gt; in &lt;A class="MCXref_0"&gt;Document Properties: General&lt;/A&gt; (first requirement) and &lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;&lt;STRONG&gt;Keep Orphaned&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; QVD Buffers&lt;/STRONG&gt;&lt;/SPAN&gt; in &lt;A class="MCXref_0"&gt;User Preferences&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt; (second requirement) property pages respectively, though the procedure cannot be generally recommended. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;buffer&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;option [ , option] &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; ] ( loadstatement | selectstatement&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;&lt;SPAN class="Italic"&gt;option ::&lt;/SPAN&gt;= incremental | &lt;SPAN class="Italic"&gt;expiry&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;expiry::= stale &lt;SPAN class="Italic"&gt;[after]&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;amount&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[&lt;/SPAN&gt; (days | hours)&lt;SPAN class="Italic"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;amount&lt;/SPAN&gt; is a number specifying the time period. Decimals may be used. The unit is assumed to be &lt;SPAN class="Bold"&gt;days&lt;/SPAN&gt; if omitted.&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;incremental&lt;/SPAN&gt; option enables the ability to read only part of an underlying file. Previous size of the file is stored in the XML header in the QVD file. This is particularly useful with log files. All records loaded at a previous occasion are read from the QVD file whereas the following new records are read from the original source and finally an updated QVD-file is created. Note that the &lt;SPAN class="Bold"&gt;incremental&lt;/SPAN&gt; option can only be used with &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statements and text files and that &lt;SPAN class="Bold"&gt;incremental load&lt;/SPAN&gt; cannot be used where old data is changed or deleted!&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;stale after&lt;/SPAN&gt; option is typically used with DB sources where there is no simple timestamp on the original data. Instead one specifies how old the QVD snapshot can be to be used. A &lt;SPAN class="Bold"&gt;stale after&lt;/SPAN&gt; clause simply states a time period from the creation time of the QVD buffer after which it will no longer be considered valid. Before that time the QVD buffer will be used as source for data and after that the original data source will be used. The QVD buffer file will then automatically be updated and a new period starts.&lt;/P&gt;&lt;P&gt;If no option is used, the QVD buffer created by the first execution of the script will be used indefinitely.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;FIELDSET class="Code"&gt;buffer SQL SELECT * FROM MyTable;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;buffer (stale after 7 days) SQL SELECT * FROM MyTable;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;buffer (incremental) LOAD * FROM MyLog.log;&lt;/FIELDSET&gt;&lt;FIELDSET class="Code"&gt;&lt;/FIELDSET&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2015 13:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933316#M981797</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-16T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Orphaned QVD Buffers</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933317#M981798</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;Check this link it has detailed explanation how Buffer works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c-sharpcorner.com/UploadFile/35fef0/buffer-load-statement-in-qlikview/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2015 17:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-Orphaned-QVD-Buffers/m-p/933317#M981798</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-22T17:01:05Z</dc:date>
    </item>
  </channel>
</rss>

