Focal Point
[SOLVED] Using cache data for drill down

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5737019716

March 16, 2012, 06:41 AM
kumud.vaish
[SOLVED] Using cache data for drill down
Hi All,

I have learned that whenever we run a drill down report the database get hit for the first time, for the data retrieval. When we click any drill down link, the database again gets hit.
I am finding any solution to this, such as when data hits for the first time,it should get store in cache at client and when I click on some drill down link,data should get populated to report from client cache.

Can anyone help me out in this??? Roll Eyes

-Regards
-Kumud Vaish

This message has been edited. Last edited by: Kerry,


version-773
platform-windows
All Outputs
March 16, 2012, 07:16 AM
GamP
Do a search on this forum for the term 'foccache'. You'll probably get exactly what you're looking for...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 16, 2012, 09:20 AM
j.gross
But be aware that
(a) foccache expires
(b) foccache is accessible only to the same user, in the same browser session

So, if the intention is that the output of a run may be stored and distributed to other users, or stored and reopened by the same user, the drilldown report needs to sense whether the file (synonym and data) still exists in foccache -- and, if not, the drilldown report program must be able to proceed without it.
March 19, 2012, 12:56 AM
kumud.vaish
Thanx a ton Gamp and j.gross Smiler

I am working on the same n hope it works. Please do help me further if I don't find any solution on it.

-Regards
-Kumud Vaish


version-773
platform-windows
All Outputs
March 19, 2012, 07:33 AM
Brian Suter
TABLE FILE CAR SUM DC RC BY MODEL BY SEATS
OB TABLE HOLD AS FOCCACHE/MYSTUFF
END
TABLE FILE FOCCACHE/MYSTUFF
SUM DC RC BY MODEL
(DRILL DOWN ON MODEL TO THE DETAILS.FEX)
EMD

The detail fex does:
TABLE FILE FOCCACHE/MYSTUFF
PRINT RC DC BY SEATS
WHERE MODEL EQ '&MODEL'
END

But add the robustness in detail fex to deal with the MYSTUFF files not being there.


Brian Suter
VP WebFOCUS Product Development
March 21, 2012, 07:02 AM
kumud.vaish
Thanks for the help guys!!! Smiler

-regards
-Kumud Vaish


version-773
platform-windows
All Outputs