Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Run Time taking really long when connecting to large table via SQL Server

Joshua_Bova
7 - Meteor

I am trying to connect to a SQL Server database table that has approx 1 mil rows and 48 columns. It takes more than 4 minutes to populate. Is there something I need to do to enhance the run time? Even when I add a SELECT tool and only select the columns I NEED (reducing from 48 to 12) it still takes 4 plus minutes.

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

@Joshua_Bova,

 

If you are reading the data into an input tool and then selecting the desired fields using a SELECT, then you are still reading and passing the data over the network.  I would change the select * from tablename in the SQL to the exact field list desired.  You can achieve this either with SQL statements (e.g.  Select Field1, Field2, FieldN from tablename) or via the table view.  This should improve the READ performance.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Joshua_Bova
7 - Meteor

Mark,

 

Selecting only fields needed directly in the query from the input tool made this workflow run much faster. Thank you!

 

 

Josh

Labels
Top Solution Authors