Skip to content

SQL Bulk Uploader: The Answer to Your VPN Alteryx Woes

  • April 21, 2020

How I took a 2-hour long Alteryx workflow down to 58 seconds using Alteryx Connect to SQL Server

Working from home is stressful for everyone these days, and if you are running Alteryx workflows that import large amounts of data, you might find yourself feeling extra inefficient on top of the rest! With a bogged down home internet connection, and overloaded VPN connections, that workflow that puts Alteryx data on your SQL server that only took 5-10 minutes in the office (you had to grab another cup of coffee anyways!), might be taking as long as 2 hours at home. If this sounds familiar to you, it's time for you to try out the Alteryx SQL server bulk load option in the Alteryx output tool.

There’s not a lot out there about this handy option when you try googling it, but my Continuus coworkers have some background info for us. John Heisler explains that using an Alteryx SQL bulk loader is great for when you need to load more than 500 rows, and Daemian Morscher adds that it takes advantage of the SQL batch load process, and does not create logs, a potential issue if you need to roll back the changes. 

 

How to Set Up Your Alteryx SQL Server Bulk Load Option

1. Set up ODBC connections

First, set up your ODBC connections on your PC to the server, with one key change. If you aren’t familiar with ODBC connections, check with your Database Administrator first! On the third page of the setup screen, change the default database to the database you need to load your data to. If you need to use this trick for multiple databases on the same server, Heisler shares that you can set up the connection as many times as you need for each database, just name them appropriately!

 

SQL Bulk Uploader_The Answer to Your VPN Alteryx Woes_1_200420

 
2. Alteryx workflow output

Once your ODBC connection is set up, open your Alteryx workflow. Drag the output data tool onto the page, and under Data Sources, choose the Bulk Option on Microsoft SQL Server.

SQL Bulk Uploader_The Answer to Your VPN Alteryx Woes_2_200420

 

Choose the appropriate ODBC connection, and enter any credentials that might be required.

SQL Bulk Uploader_The Answer to Your VPN Alteryx Woes_3_200420

 

Enter the table name when prompted, then set up the rest of the output tool how you would for a standard SQL server input.

 

3. Run your Alteryx workflow

Once you are ready, hit Run! You’ll be back to your in office (Alteryx) efficiency in no time.

 

If you plan on re-using this option frequently, we also suggest setting it up as a saved connection by following these instructions, so that you can become even more efficient!

RELATED NEWS

Contribute on my charity work by your donation.

Easy Button: Alteryx Server Log Collection

Collecting Logs for Alteryx Support 

Background

Occasionally you may encounter an issue with your Alteryx server that...

by Conrad Kite

The Power of Snowflake and FactSet

The days of hosting big technology and staff or spending thousands to access fast information are over. The Data Cloud...

by Andy Leichtle