Reducing storage requirements
While it is often tempting to include as much data as possible, this can also make your data model more complex than it needs to be. Additionally, as QlikView uses an in-memory database, it is also a good idea to not waste resources. RAM is still a much scarcer resource than disk-based storage.
Using number-based key fields
When linking between tables using key fields, it is advisable to use numbers as key values instead of text. The AutoNumber()
script function can be used to generate a unique integer value for an expression or compound key, thus compacting the occupied RAM space.
Consider, for example, the following list of colors and their corresponding value assigned by the
AutoNumber()
function. As each new value ...
Get QlikView 11 for Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.