SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Pre execute phase hangs


Pre execute phase hangs

Author
Message
andy smith-408620
andy smith-408620
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 31
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.
Michael Earl-395764
Michael Earl-395764
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13023 Visits: 23078
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.
n3wcr3ati0n
n3wcr3ati0n
Grasshopper
Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)Grasshopper (19 reputation)

Group: General Forum Members
Points: 19 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?
ianpmclarke
ianpmclarke
SSC Journeyman
SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)

Group: General Forum Members
Points: 83 Visits: 103
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
sabyasm
sabyasm
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1080 Visits: 524

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

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search