Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

BUFFER (Incremental)

I want to get a quicker load and found the BUFFER (Incremental) prefix in the online help:

"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."

If I understand it right, it should first time load normally and save a QVD-file. And next reload will read from the QVD-file and new records are automatically read from the original source. But for me it doesn't work. Subsequent reloads reads from the QVD-file, but the new records are not read.

Do I misunderstand the help? Or does this work for you?

6 Replies
prieper
Master II
Master II

Can you post an example? As from the OL-Help incremental-option can only be used for text-files, but then it should work.

Peter

Not applicable
Author

I have inserted an example in a pdf-file.

[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0576.QlikView-Script-Printing.pdf:550:0]

Not applicable
Author

Hi Hans,

The incremental approach is bit tricky kere. This is applicable only for sequential sorage (like text files). If you are planning to pull from RDBMS using SQL (where insert/update/delete can happen randomly), you need to apply some extra logic.

1. Get the last updated date (D1) from QVD file.

2. Read records from source where date update is >=D1 and <=current date

3. Concatenate the records from existing QVD where the key field(s) not exist in the source.

Note, your soure should have proper audit of updates to do thsi successfully.

-Arun

Not applicable
Author

Hi Arun,

Oh, I understood from the manual, that QlikView did this itself.

Thank you for the information 🐵 I will try your extra logic.

Not applicable
Author

Please give any document.....

Not applicable
Author

Hello,

Hope these Documents will help you