21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The complexity of the actual solution depends on the nature of the source database, but the following basic<br />

cases can be identified:<br />

1) Case 1: Append Only (page 395) (Log files).<br />

2) Case 2: Insert Only (No Update or Delete) (page 396) (No Update or Delete).<br />

3) Case 3: Insert and Update (No Delete) (page 397) (No Delete).<br />

4) Case 4: Insert, Update and Delete (page 398).<br />

Below you will find outlined solutions for each of these cases. The reading of QVD files can be done in<br />

either "super-fast mode" or "standard mode". (The method employed is automatically selected by the Qlik-<br />

View script engine depending on the complexity of the operation.) "super-fast mode" is (very approximately)<br />

about 10x faster than "standard mode" or about 100x faster than loading the database in the ordinary fashion.<br />

Case 1: Append Only<br />

The simplest case is the one of log files, which are only appended. The following conditions apply:<br />

l The database must be a log file which is contained in a text file (no ODBC/OLE DB).<br />

l <strong>QlikView</strong> keeps track of the number of records that have been previously read and loads only records added at the end<br />

of the file.<br />

395

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!