Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS package with a Lookup Transformation running slow

$
0
0
I'm working on an SSIS package that takes a flat file as a source, looks up a value in a table based on 2 fields in the flat file record and writes the fields from the flat file plus the value retrieved to a destination table.  It takes hours to run and I was looking for a way to speed it up.  My flat file contains about 300,000 records.  My Lookup Transformation uses the results of a SQL query which is pretty complex and joins 5 different tables.  Would it be possible and save time to create a temp table from the SQL query which would contain only 3 columns and do a lookup on that? 

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>