Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Let's Talk About Cache

john_watkins
11 - Bolide

I have something that I do not know the answer to when it comes to using the Input Tool's "Cache Data" checkbox option.    Does this cache have a time-to-live before it re-runs, or once checked will it never re-pull data?

 

I found a place in a published workflow that had that cache data checked, and it makes me wonder if this should always be on the checklist to look for before publishing a production workflow (i.e. NEVER PUBLISH with this option checked?)

 

Seems like it would be a master on/off like there is for browse tools if it never re-pulls data.   Can anyone confirm or tell me why you might want this checked in a published workflow.

 

 

6 REPLIES 6
alexnajm
17 - Castor
17 - Castor

It should remain cached as long as a) you don't clear the cache or b) the workflow is open in Designer! That's at least my experience - not sure if you or anyone else has experienced something different

john_watkins
11 - Bolide

What happens when your workflow is published?  Does a cached dataset (used on your desktop) get uploaded with the workflow, does it run the first time and then stay or is it not used on the gallery?

Yoshiro_Fujimori
15 - Aurora

Hi @john_watkins ,

 

I do not find "Chache Data" checkbox option in the Configuration of Input Data tool.

Yoshiro_Fujimori_0-1680233046983.png

 

I use the "Cache and Run Workflow" in Tool Right-Click Options on a workflow.

Are you talking on this function? If so, this function cannot be used on Gallery, as there is no way to "right-click".

Yoshiro_Fujimori_1-1680233216548.png

 

If you are talking about some other function, please let me know how to use it.

alexnajm
17 - Castor
17 - Castor

@john_watkins it is not used on the Gallery from my understanding - it is just for your “session” in Designer Desktop. 

@Yoshiro_Fujimori it’s the Cache option that you have in the Input Data tool when running database connections!

ChrisTX
15 - Aurora

@john_watkins none of these articles mention the server or gallery.  Unfortunate.  Looks like we're left to "guess" that cache is disabled on the server, even if the checkbox is checked in an Input Data tool.

 

Just take the Cache and Run! Caching in 2018.3
https://community.alteryx.com/t5/Engine-Works-Blog/Just-take-the-Cache-and-Run-Caching-in-2018-3/ba-...

 

What Can't Be Cached?
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/What-Can-t-Be-Cached/ta-p/265828

 

Tool Mastery | Input Data
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Input-Data/ta-p/36909

 

Chris

john_watkins
11 - Bolide

Thanks all.      I think I was thrown me off that the input tool's cache data option was checked.   Now if it just doesn't run on the server that would make sense.   I'll look through those link @ChrisTX 

Labels