dbTalk Databases Forums  

DTS and server threads

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS and server threads in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JRStern
 
Posts: n/a

Default DTS and server threads - 01-13-2005 , 03:46 PM






If I have a simple DTS package, exporting rows from a table out to a
text file, will that spawn multple threads on the server, and if so,
can it be prevented, and if so, how?

Thanks!

Josh


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS and server threads - 01-13-2005 , 05:29 PM






In message <qvqdu0h0a1rn4oi5s7arv7olc6nku6meog (AT) 4ax (DOT) com>, JRStern
<jxstern (AT) bogus (DOT) com> writes
Quote:
If I have a simple DTS package, exporting rows from a table out to a
text file, will that spawn multple threads on the server, and if so,
can it be prevented, and if so, how?

Thanks!

Josh

The process will only work on one thread but a package may use one or
more in itself. To prevent this, there is a setting for parallel task
running set in package properties, which defaults to 4, although you
will not get this depending on hardware. The most important setting is
Execute on main thread which is set on a task/step level. Right-click
the task and select Workflow Properties, then Options. Check execute in
main thread and it ensures that tasks do not start another thread.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.