Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Why do you have to create a QVD

Hi,

Just a quick question, why is it best to create a qvd? Why not just query the tables that you are going to use?

Thanks

Labels (1)
1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Often, multiple applications will end up using the same data. Why retrieve it multiple times? Retrieve it once, build a QVD, and then use the QVD in the user applications. And what if the database you're reading only has inserts, so old data never changes? In that case, it would be much more efficient to buffer the old data in a QVD, and only read the new inserts. A QVD also allows the user applications to not care about the details of your data source. You could change from reading an Excel file to reading data from a database, and as long as the user applications were reading QVDs, you'd only have to modify a single application.

There are surely cases where it makes sense to just query tables directly. But there are also plenty of cases where it makes sense to put in a QVD layer.

View solution in original post

3 Replies
johnw
Champion III
Champion III

Often, multiple applications will end up using the same data. Why retrieve it multiple times? Retrieve it once, build a QVD, and then use the QVD in the user applications. And what if the database you're reading only has inserts, so old data never changes? In that case, it would be much more efficient to buffer the old data in a QVD, and only read the new inserts. A QVD also allows the user applications to not care about the details of your data source. You could change from reading an Excel file to reading data from a database, and as long as the user applications were reading QVDs, you'd only have to modify a single application.

There are surely cases where it makes sense to just query tables directly. But there are also plenty of cases where it makes sense to put in a QVD layer.

ivandrago
Creator II
Creator II
Author

Nice Answer John, you couldn't help with my other open question I have?

johnw
Champion III
Champion III

What's your other open question? The one about what an optimized load is?