Optimize Your Workflow
- Dawn Harrington
- Oct 8, 2021
- 1 min read
Updated: Nov 18, 2021
Do you want to make your workflow run faster? Below are a couple of tips to optimize the performance of your workflow.
Did you know that some tools such as the Join, Summarize and Unique perform a sort on the backend?
Performance Tip: If you sort the data before these tools it can help speed up your workflow!
Don't forget to Enable Performance Profiling if you want to see the timing of these tools!

In my example below, I am joining the Transactions.xml sample file with the Customers.csv sample file, stored in the SampleData folder packaged with Alteryx.
Another tip: Show Annotations with Tool Names option in your Workflow - Configuration pane shows you the actual tool number for your Input Tools. This helps when you are looking through the Results log.

Now when I add a Sort Tool before the Join Tool and sort by the field I am joining on, (in this case the Customer ID fields) it speeds up the Join!

In this instance it made it faster by several milliseconds, but if you think of all of the tools in your workflow, every millisecond counts!
Another Performance Tip: Remove spatial columns you don't need.
Did you know that Polygons and Spatial files take up a lot of space? If you don't need these columns, remove them in the beginning of your workflow.
In the example below I am connecting to the Sample_ZIP.yxdb and the Sample_ZIPs.yxdb.

Next, I added Select Tools before the Union Tool to remove the spatial columns.

As you see above, with the spatial columns removed, the timing went from 80 milliseconds down to 33!

Read this Backlink 1 Backlink 2 Backlink 3 Backlink 4 Backlink 5 Backlink 6 Backlink 7 Backlink 8 Backlink 9 Backlink 10.
Follow this important information: Info 1 Info 2 Info 3 Info 4 Info 5 Info 6 Info 7 Info 8 Info 9 Info 10 Info 11 Info 12 Info 13 Info 14 Info 15 Info 16 Info 17.
Read this Info 1 Info 2 Info 3 Info 4 Info 5 Info 6 Info 7 Info 8 Info 9 Info 10 Info 11 Info 12.
Important information recommendations that you should read: Info 1 Info 2 Info 3 Info 4 Info 5 Info 6 Info 7 Info 8 Info 9 Info 10 Info 11 Info 12 Info 13 Info 14 Info 15 Info 16 Info 17 Info 18 Info 19 Info 20 & Topic 1 Topic 2 Topic 3 Topic 4 Topic 5 Topic 6 Topic 7 Topic 8 Topic 9 Topic 10 Topic 11 Topic 12 Topic 13 Topic 14 Topic 15 Topic 16 Topic 17 Topic 18 Topic 19 Topic 20.
I recommend that you read some of this information so that it can be used as a reference in writing articles: Info 1 Info 2 Info 3 Info 4 Info 5 Info 6 Info 7 Info 8 Info 9 Info 10 Info 11 Info 12 Info 13 Info 14 Info 15 Info 16 Info 17 Info 18 Info 19 Info 20 Info 21 Info 22 Info 23 Info 24 Info 25 And this Link 1 Link 2 Link 3 Link 4 Link 5 Link 6 Link 7 Link 8 Link 9 Link 10 Link 11 Link 12 Link 13 Link 14 Link 15 Link 16 Link 17 Link 18 Link 19 Link 20 Link 21 Link 22 Link 23 Link 24 Link 25 Then this Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Page 18 Page 19 Page 20 Page 21 Page 22 Page 23 Page 24 Page 25 Next this Post 1 Post 2 Post 3 Post 4 Post 5 Post 6 Post 7 Post 8 Post 9 Post 10 Post 11 Post 12 Post 13 Post 14 Post 15 Post 16 Post 17 Post…