<?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: QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD/m-p/641209#M1090734</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Generate QVD in qlikview :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Store table into filename.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor942"&gt;&lt;/A&gt;QVD Files&lt;/H1&gt;&lt;P&gt;A QVD (QlikView Data) file is a file containing a table of data exported from QlikView. QVD is a native QlikView format and can only be written to and read by QlikView. The file format is optimized for speed when reading data from a QlikView script but it is still very compact. Reading data from a QVD file is typically 10-100 times faster than reading from other data sources. &lt;/P&gt;&lt;P&gt;QVD files can be read in two modes: standard (fast) and optimized (faster). The selected mode is determined automatically by the QlikView script engine. Optimized mode can be utilized only when all loaded fields are read without any transformations (formulas acting upon the fields), though the renaming of fields is allowed. A WHERE clause causing QlikView to unpack the records will also disable the optimized load.&lt;/P&gt;&lt;P&gt;A QVD file holds exactly one data table and consists of three parts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A well formed XML header (in UTF-8 char set) describing the fields in the table, the layout of the subsequent information and some other meta-data. &lt;/LI&gt;&lt;LI&gt;Symbol tables in a byte stuffed format. &lt;/LI&gt;&lt;LI&gt;Actual table data in a bit-stuffed format. &lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Purpose of QVD Files&lt;/H2&gt;&lt;P&gt; QVD files can be used for many purposes. At least four major uses can be easily identified. More than one may apply in any given situation: &lt;/P&gt;&lt;H3&gt;Increasing Load Speed&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;By buffering non-changing or slowly changing blocks of input data in QVD files, script execution becomes considerably faster for large data sets. &lt;/P&gt;&lt;H3&gt;Decreasing Load on Database Servers&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;The amount of data fetched from external data sources can also be greatly reduced. This reduces work load on external databases and network traffic. Furthermore, when several QlikView scripts share the same data it is only necessary to load it once from the source database into a QVD file. The other applications can make use of the same data via this QVD file. &lt;/P&gt;&lt;H3&gt;Consolidating Data from Multiple QlikView Applications&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;With the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Binary&lt;/EM&gt;&lt;/A&gt; script statement it is possible to load data from only one single QlikView application into another one, but with QVD files a QlikView script can combine data from any number of QlikView applications. This opens up possibilities e.g. for applications consolidating similar data from different business units etc. &lt;/P&gt;&lt;H3&gt;Incremental Load&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;In many common cases the QVD functionality can be used for facilitating incremental load, i.e. exclusively loading new records from a growing database. &lt;/P&gt;&lt;P class="Bullet"&gt;To learn more about the use of QVD files and Incremental Load, follow the link below:&lt;/P&gt;&lt;P style="margin-top: 4pt;"&gt;&lt;A class="MCXref_0"&gt;&lt;EM&gt;Using QVD Files for Incremental Load&lt;/EM&gt;&lt;/A&gt; &lt;/P&gt;&lt;H2&gt;Create QVD Files&lt;/H2&gt;&lt;P style="margin-top: 4pt;"&gt;A QVD file can be created by one of three different methods:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Explicit creation and naming using the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Store&lt;/EM&gt;&lt;/A&gt; command in the QlikView script. Simply state in the script that a previously read table or part thereof is to be exported to an explicitly named file at a location of your choice. &lt;/LI&gt;&lt;LI&gt;Automatic creation and maintenance from script. By preceding a &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement with the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Buffer&lt;/EM&gt;&lt;/A&gt; prefix, QlikView will automatically create a QVD file which under certain conditions can be used instead of the original data source when reloading data. &lt;/LI&gt;&lt;LI&gt;Explicit, manual creation and naming from layout or via &lt;A class="MCXref_0"&gt;&lt;EM&gt;Internal Macro Interpreter&lt;/EM&gt;&lt;/A&gt;. Data can be exported from the QlikView layout via GUI commands or Automation macros. In the GUI you will find QVD as one of the possible export formats under the &lt;SPAN class="Bold"&gt;Export...&lt;/SPAN&gt; command, found on the object menu of most sheet objects. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; There is no difference between the resulting QVD files, e.g. with regard to reading speed etc.&amp;nbsp; &lt;/P&gt;&lt;H2&gt;Reading Data from QVD Files&lt;/H2&gt;&lt;P style="margin-top: 4pt;"&gt;A QVD file can be read into or accessed by QlikView by the following methods:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Loading a QVD file as an explicit data source. QVD files can be referenced by a &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statement in the QlikView script just like any other type of text files (csv, fix, dif, biff etc). The &lt;A class="MCXref_0"&gt;&lt;EM&gt;File Wizard: Type&lt;/EM&gt;&lt;/A&gt; handles QVD files by the same principles. &lt;BR /&gt; &lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load * from xyz.qvd (qvd);&lt;/P&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load Name, RegNo from xyz.qvd (qvd);&lt;/P&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load Name as a, RegNo as b from xyz.qvd (qvd);&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Automatic loading of buffered QVD files. When using the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Buffer&lt;/EM&gt;&lt;/A&gt; prefix on &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statements, no explicit statements for reading are necessary. QlikView will determine the extent to which it will use data from the QVD file as opposed to acquiring data via the original &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement. &lt;/LI&gt;&lt;LI&gt;Accessing QVD files via the script. A number of script functions (all beginning with &lt;SPAN class="Bold"&gt;qvd&lt;/SPAN&gt;) can be used for retrieving various information on the data found in the XML header of a QVD file. These functions are presented under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;File Functions in Script&lt;/EM&gt;&lt;/A&gt; functions.&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 08:04:59 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2014-05-21T08:04:59Z</dc:date>
    <item>
      <title>QVD</title>
      <link>https://community.qlik.com/t5/QlikView/QVD/m-p/641208#M1090733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to generate QVD in qlikview and there different types of generate QVD. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 08:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD/m-p/641208#M1090733</guid>
      <dc:creator />
      <dc:date>2014-05-21T08:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: QVD</title>
      <link>https://community.qlik.com/t5/QlikView/QVD/m-p/641209#M1090734</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Generate QVD in qlikview :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Store table into filename.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor942"&gt;&lt;/A&gt;QVD Files&lt;/H1&gt;&lt;P&gt;A QVD (QlikView Data) file is a file containing a table of data exported from QlikView. QVD is a native QlikView format and can only be written to and read by QlikView. The file format is optimized for speed when reading data from a QlikView script but it is still very compact. Reading data from a QVD file is typically 10-100 times faster than reading from other data sources. &lt;/P&gt;&lt;P&gt;QVD files can be read in two modes: standard (fast) and optimized (faster). The selected mode is determined automatically by the QlikView script engine. Optimized mode can be utilized only when all loaded fields are read without any transformations (formulas acting upon the fields), though the renaming of fields is allowed. A WHERE clause causing QlikView to unpack the records will also disable the optimized load.&lt;/P&gt;&lt;P&gt;A QVD file holds exactly one data table and consists of three parts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A well formed XML header (in UTF-8 char set) describing the fields in the table, the layout of the subsequent information and some other meta-data. &lt;/LI&gt;&lt;LI&gt;Symbol tables in a byte stuffed format. &lt;/LI&gt;&lt;LI&gt;Actual table data in a bit-stuffed format. &lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Purpose of QVD Files&lt;/H2&gt;&lt;P&gt; QVD files can be used for many purposes. At least four major uses can be easily identified. More than one may apply in any given situation: &lt;/P&gt;&lt;H3&gt;Increasing Load Speed&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;By buffering non-changing or slowly changing blocks of input data in QVD files, script execution becomes considerably faster for large data sets. &lt;/P&gt;&lt;H3&gt;Decreasing Load on Database Servers&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;The amount of data fetched from external data sources can also be greatly reduced. This reduces work load on external databases and network traffic. Furthermore, when several QlikView scripts share the same data it is only necessary to load it once from the source database into a QVD file. The other applications can make use of the same data via this QVD file. &lt;/P&gt;&lt;H3&gt;Consolidating Data from Multiple QlikView Applications&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;With the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Binary&lt;/EM&gt;&lt;/A&gt; script statement it is possible to load data from only one single QlikView application into another one, but with QVD files a QlikView script can combine data from any number of QlikView applications. This opens up possibilities e.g. for applications consolidating similar data from different business units etc. &lt;/P&gt;&lt;H3&gt;Incremental Load&lt;/H3&gt;&lt;P style="margin-top: 4pt;"&gt;In many common cases the QVD functionality can be used for facilitating incremental load, i.e. exclusively loading new records from a growing database. &lt;/P&gt;&lt;P class="Bullet"&gt;To learn more about the use of QVD files and Incremental Load, follow the link below:&lt;/P&gt;&lt;P style="margin-top: 4pt;"&gt;&lt;A class="MCXref_0"&gt;&lt;EM&gt;Using QVD Files for Incremental Load&lt;/EM&gt;&lt;/A&gt; &lt;/P&gt;&lt;H2&gt;Create QVD Files&lt;/H2&gt;&lt;P style="margin-top: 4pt;"&gt;A QVD file can be created by one of three different methods:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Explicit creation and naming using the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Store&lt;/EM&gt;&lt;/A&gt; command in the QlikView script. Simply state in the script that a previously read table or part thereof is to be exported to an explicitly named file at a location of your choice. &lt;/LI&gt;&lt;LI&gt;Automatic creation and maintenance from script. By preceding a &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement with the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Buffer&lt;/EM&gt;&lt;/A&gt; prefix, QlikView will automatically create a QVD file which under certain conditions can be used instead of the original data source when reloading data. &lt;/LI&gt;&lt;LI&gt;Explicit, manual creation and naming from layout or via &lt;A class="MCXref_0"&gt;&lt;EM&gt;Internal Macro Interpreter&lt;/EM&gt;&lt;/A&gt;. Data can be exported from the QlikView layout via GUI commands or Automation macros. In the GUI you will find QVD as one of the possible export formats under the &lt;SPAN class="Bold"&gt;Export...&lt;/SPAN&gt; command, found on the object menu of most sheet objects. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; There is no difference between the resulting QVD files, e.g. with regard to reading speed etc.&amp;nbsp; &lt;/P&gt;&lt;H2&gt;Reading Data from QVD Files&lt;/H2&gt;&lt;P style="margin-top: 4pt;"&gt;A QVD file can be read into or accessed by QlikView by the following methods:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Loading a QVD file as an explicit data source. QVD files can be referenced by a &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statement in the QlikView script just like any other type of text files (csv, fix, dif, biff etc). The &lt;A class="MCXref_0"&gt;&lt;EM&gt;File Wizard: Type&lt;/EM&gt;&lt;/A&gt; handles QVD files by the same principles. &lt;BR /&gt; &lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load * from xyz.qvd (qvd);&lt;/P&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load Name, RegNo from xyz.qvd (qvd);&lt;/P&gt;&lt;P style="margin-top: 4pt; font-weight: bold;"&gt;load Name as a, RegNo as b from xyz.qvd (qvd);&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Automatic loading of buffered QVD files. When using the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Buffer&lt;/EM&gt;&lt;/A&gt; prefix on &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statements, no explicit statements for reading are necessary. QlikView will determine the extent to which it will use data from the QVD file as opposed to acquiring data via the original &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement. &lt;/LI&gt;&lt;LI&gt;Accessing QVD files via the script. A number of script functions (all beginning with &lt;SPAN class="Bold"&gt;qvd&lt;/SPAN&gt;) can be used for retrieving various information on the data found in the XML header of a QVD file. These functions are presented under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;File Functions in Script&lt;/EM&gt;&lt;/A&gt; functions.&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 08:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD/m-p/641209#M1090734</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-05-21T08:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: QVD</title>
      <link>https://community.qlik.com/t5/QlikView/QVD/m-p/641210#M1090735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent reply, &lt;A href="https://community.qlik.com/qlik-users/88778"&gt;Mayil Vahanan Ramasamy&lt;/A&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 08:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD/m-p/641210#M1090735</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-05-21T08:13:49Z</dc:date>
    </item>
  </channel>
</rss>

