Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading data from SQL vs QVD, what's better and why?

Trying to implement an app with lots of SQL dependencies existing in DW. Not sure what would be better, load all the data/tables from

SQL using connection string or from QVD files?

thanks

6 Replies
Anonymous
Not applicable
Author

The answer is the classic "it all depends...."

Do you already have a collection of pre-created QVD's to use ?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think it's almost always better to decouple the data extract and transformation from loading data in the final app. So in this case, I would create a layer of script to load from DW and store in QVDs. And then load the QVDs into the final app.

-Rob

maxgro
MVP
MVP

One of the things to take into account is the data volume; if you have "big" tables,

with qvd you can use an incremental load and reduce the time to get the data from the database (sql).

For "small" tables it's easier to always extract all the data from the database (sql).

Not applicable
Author

No, don't have QVD files, tables are below 200K rows but data used on the application is comprised of 10 to 15 tabs/containers using data from 15 to 20 SQL tables, some tables have 5K rows, a few have around 150K rows.

Not applicable
Author

No, big tables in my view, most tables are below 20K rows but, application is comprised of 10 to 15 tabs/containers using data from 15 to 20 SQL tables, some tables have 5K rows, a few have around 150K rows.

mmarchese
Creator II
Creator II


@rwunderlich wrote:

I think it's almost always better to decouple the data extract and transformation from loading data in the final app. So in this case, I would create a layer of script to load from DW and store in QVDs. And then load the QVDs into the final app.


I'm curious, can you explain your reasoning?  Why do you "almost always" recommend this approach?  I'm not using qvds much yet, and I'm wondering if I'm heading down a bad path.