Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Input tool vs Dynamic Input tool Performance

paul_houghton
12 - Quasar

Does anyone know if there is a performance difference between an input tool and a dynamic input?

I have a huge number of input tools that are getting pointed at one db schema but will likely need to change to a different schema when put into prod. Im trying to think of an easy way to make that change across all of the inputs by just changing one location.

5 REPLIES 5
mceleavey
17 - Castor
17 - Castor

Hi @paul_houghton ,

 

Dynamic Input will be slightly slower than Input simply because it needs to read in templates, but for this you don't need to use it.

You can wrap the input in a batch macro and simply feed the connection string in as a control parameter. You could then put this in an app which would allow the user to select the schema at runtime, or you create is a constant and have it determined automatically at runtime. 

There are a few approaches here depending on your needs.

 

M.



Bulien

paul_houghton
12 - Quasar

The macro option would have been my next option. I would ask first, if the template is just a single line template, how significant is the template loading process? Because I will be handing it to another team to maintain, simpler would be better as long as the performance isn't significant.

mceleavey
17 - Castor
17 - Castor

Hi @paul_houghton ,

 

it's pretty much insignificant, but is another call to a folder location, and if you're looping through millions of those then it will have an impact on performance, but it would still be small.

 

M.



Bulien

paul_houghton
12 - Quasar

Awesome thanks, I think for the scale of this specific use case (and the after deployment support) the dynamic input will be best. For other, larger applications will have to compare with a custom macro. 

 

That would be a blog job I think 🙂

 

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels