Differences between In-Memory Fields and Direct Discovery Fields with example.
Hi,
The data for Direct Discovery Fields are retrieved from the database everytime and In-Memory Fields are already fetched and stored in RAM as qlikview normally works. Refer examples in the above posts.
Regards,
Jagan.
Hi Hammad and Arul
First of all Arul I`m sorry but your example is a little bit old.
For QV11.2 a direct discovery table looks like that:
TableName:
DIRECT QUERY
DIMENSION
CustomerID
ItemID
MEASURE
Price
PurchaseAmount
Discount
DETAIL
CountryName
StoreName
CustomerName
FROM "...";
in-memory:
All data is loaded in-memory and directly available
(if you load e.g. a whole table from an eternal database into QV every single info will be loaded into QV)
Direct Discovery:
Here you have 3 different kind of fields:
DIMENSION fields are loaded as distinct load (means every unique information will be loaded in-memory)
this fields are normally used as key fields with in-memory data for your query.
MEASURE fields are for calculation only (no data is loaded in-memory)
you can use e.g. "sum(PurchaseAmount)" and use this set analyse inside your application
DETAIL fields are to show information in a table (no data loaded in-memory)
you can use this fields to show additional information in a straight table without loading the data directly.
Direct Discovery has advantages and disadvantages.
Please see following documents for more detailed information:
QlikView Direct Discovery FAQ 11.2 SR7.pdf
QlikView 11 2 Direct Discovery Technical Addendum 11.2 SR7.pdf
Best regards,
Ronny
PS: Please mark this discussion as answered if this is what you need.
Hi,
The data for Direct Discovery Fields are retrieved from the database everytime and In-Memory Fields are already fetched and stored in RAM as qlikview normally works. Refer examples in the above posts.
Regards,
Jagan.