Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Pre execute phase hangs Expand / Collapse
Author
Message
Posted Tuesday, June 10, 2008 12:22 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 19, 2014 12:25 PM
Points: 3, Visits: 30
Hi,
I have a pretty simple SSIS package that exports some result sets to an excel file. It works fine, but the Pre-Execute phase takes around 5 minutes to complete for some reason.
It just hangs at this message:
Information: 0x40043007 at Export Data, DTS.Pipeline: Pre-Execute phase is beginning.
After a few minutes everything runs fine, but I can't explain why it's taking so long. The export itself just takes a second or two. Anywhere I can look to see what the problem is or anyone have any insight?

Thanks in advance.
Post #514713
Posted Tuesday, June 10, 2008 12:45 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, August 10, 2010 5:07 AM
Points: 2,661, Visits: 23,078
During the pre-execute, data is gathered and cached on a number of components. If you are using some lookups in full cache mode, for instance, the cache is built during this phase. Also, queries for data sources are run and wait for results to return before execution begins.

So, it could be that you have a query that takes awhile to return data or have a very large cache.
Post #514739
Posted Friday, July 11, 2008 3:26 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, June 5, 2009 1:56 PM
Points: 1, Visits: 24
Where or how do you turn this off or change the cache setting in SSIS? I am not seeing exactly where to manipulate this?
Post #532870
Posted Wednesday, December 9, 2009 4:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 12, 2014 4:53 AM
Points: 5, Visits: 89
Has anyone found a solution to this problem? I am running SSIS packages querying tables with literally billions of rows. The pre execution phase takes longer than the queries. I've found in other forums that the pre execution phase scans the whole table. What is the point in that? I have delayed validation and turned ValidataExternalMetadata to False, but still the package takes ages to start processing data.

What can be done?

Many thanks
Ian
Post #831293
Posted Wednesday, December 9, 2009 7:15 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, November 4, 2014 4:16 AM
Points: 346, Visits: 519

Delay validation has nothing to do with runtime performance - it just doesn't validate the component till runtime.

Did you check this : a detailed discussion on why pre-execute steps might take a while.

http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/35a484c7-4850-4f86-b14a-5dfb50491ab2



--
Sabya
Post #831387
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse