Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Saving a resident table

Hi,

I have a script that create a resident table of 100k rows, is not a very large table, but the scripts takes a little to create it, because there are some calculattions, merges and agregations...

I don't want to reexecute the script every time I start a Qlick session to work with tha table. I suppose there is a way to save/store this resident table and reload it to use it in next sessions.

Which is the best way to store a resident table?

Thanks in advance

3 Replies
Anonymous
Not applicable
Author

Yes - look at the QVD files

maxgro
MVP
MVP

search store in the help

Examples:

Store mytable into xyz.qvd (qvd);

Store * from mytable into xyz.qvd;

Store Name, RegNo from mytable into xyz.qvd;

Store Name as a, RegNo as b from mytable into xyz.qvd;

store mytable into myfile.txt (txt);

store * from mytable into myfile.txt (txt);

(The two first examples have identical function.)

jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hi,

You can store this table to QVD and reload it into your model any time you need it. In general is faster to reload a table from QVD than reloading it from a resident table. The advantage of using a resident load is that you reuse a table that is already in-memory, so you're just creating an additional pointer to an already existing table.

Also you may want to read about  qvd optimized load to ensure the fastest possible load times,

regards