As part of your training, you were probably taught to us Resident loads to re-use data that has already been loaded. I have used this and taught this for several years.
However, my experience recently with larger data sets is that resident load is very slow!
A much better choice is to re-use a QVD if you have one. In fact, if you write the in memory table to a QVD (using STORE), and then use that QVD for your next load, it is still faster than using Resident!
I definitely second that. I have had that feeling for quite some time but not had the time to actually prove it... It seems lite QlikTech in the quest for better QVD-performance forgot to optimize resident loads in the same matter. Hopefully we will see an improvement in versions to come. (Because in theory it really has to be faster to "read" inside memory than to and from disk once the process is optimized.)
ReplyDeleteMost of the time when I load from a resident table I'm using a WHERE or GROUP BY to modify the data (because why would you just re-load data you already have). Those options slow down a qvd file load.
ReplyDeleteHi Tim,
ReplyDeleteYou are absolutely right about applying Where/Group By clauses. My experience is that these are still faster (as of v9.0) using QVD than with Resident.
Quite often, for example in the creation of a key table, I will just re-load data I already have - the QVD optimisation on this use case is way ahead of Resident.
Hi,
ReplyDeleteHow large is a "large" dataset.
Thanks,
QV Newbie
How deep is a hole?
ReplyDeleteIt depends.
Just note that this original post pre-dates v10 and resident performance is much better now.
i confirm this ideas, QVD is the faster file in qlikview because it is the native file.
ReplyDeleteI have done some test using resident and qvd but i see it is very optimize to use qvd. but my application has 10 millions of rows