In this session you will learn about Using STORE, LOAD, BUFFER - Storing and Reading data from QVD files
QVD(Qlikview Data File)
-----------------------------------
QVD is a Qlikview native Data Format
It is written to and Read from Qlikview Only
It is optimized for Speed
Benefits of QVD Files
-------------------------------
Increasing Load Speed
Reducing burden on Database Servers
Reducing Network Traffic
Consolidating Data from multiple Qlikview Applications
Useful to implement Incremental Load Process
Structure of QVD File
------------------------------
XML Header
Symbol Tables
Actual Table Data
QVD Modes
-----------------
Standard Mode
Super Fast Mode
Customer - changes/transformations - Customer.qvd(Standard )
Customer - Nochanges/Notransformations - Customer.qvd(super Fast Mode)
Standard Mode
----------------------
If we create QVD File after making some changes or transformations to the source Database table, then the QVD is Standard Mode or Fast Mode
Unoptimized Load
Super Fast Mode
-----------------------
If we create QVD File without making any changes or Transformations to the source Database table, then the QVD is in Super Fast Mode
Optimized Load (or) Optimized QVD
Creating QVD Files
---------------------------
Manually by using STORE Command
Automatically by using Buffer Prefix
Explicitly from Layout
Manually by using STORE Command
---------------------------------------------------
Store Tablename into QVDName.qvd(qvd);
Store * From TableName into QVDName.qvd(qvd);
Store Field1,field2,... From TableName into QVDName.qvd(qvd);
Example
------------
Products - Products.qvd
Store Products into Products.qvd(qvd);
Store * From Products into Products1.qvd(qvd);
Store ProductID,ProductName From Products into Products2.qvd(qvd);
Store ProductID as [Product ID],ProductName as [Product Name] From Products into Products3.qvd(qvd);
Reading Data from QVD Files
------------------------------------------
Load * From Products.qvd(qvd);
Load ProductID,UnitCost From Products.qvd(qvd);
Load ProductID as [Product ID], UnitPrice as [Unit Price] From Products.qvd(qvd);
(or)
Table files Button
Automatically By Using Buffer Prefix
----------------------------------------------------
Encrypted Name
AppData Folder
Buffer Load * .........................;
Buffer (stale after 7 Days) Load * ............;
Buffer (Incremental) Load * ...........................;
Default Location
------------------------
C:\Users\Username\AppData\Local\QlikTech\QlikView\Buffers
Explicitly From Layout
--------------------------------
Right click on sheet Object - Export - Under Save as Type, Select Qlikview Data File(*.qvd) - Give Name - ok