dbTalk Databases Forums  

DTS vs SP: Is there a performance difference?

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


Discuss DTS vs SP: Is there a performance difference? in the microsoft.public.sqlserver.dts forum.



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

Default DTS vs SP: Is there a performance difference? - 11-10-2004 , 10:51 AM






Is there a performance difference between running a DTS package from a
VBScript using DTSrun.exe opposed to directly executing the stored procedure
within QA. I would assume that one the VBScript throws the request over the
fence its all the same.
Also, I am using a an OLE DB Connection within the DTS package for my
connections and the sp I guess uses something else internally. Could that
affect the performance in comparison to a QA execution?

KC



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

Default Re: DTS vs SP: Is there a performance difference? - 11-10-2004 , 05:54 PM






In message <eE6xGW0xEHA.392 (AT) TK2MSFTNGP12 (DOT) phx.gbl>, Kevin C
<kc (AT) noneya (DOT) com> writes
Quote:
Is there a performance difference between running a DTS package from a
VBScript using DTSrun.exe opposed to directly executing the stored procedure
within QA. I would assume that one the VBScript throws the request over the
fence its all the same.
Also, I am using a an OLE DB Connection within the DTS package for my
connections and the sp I guess uses something else internally. Could that
affect the performance in comparison to a QA execution?

KC

I am unclear what you are asking, but if you mean is there a performance
hit running an sp from a DTS task as opposed to running the same sp from
QA, then no the proc should run the same. There will be some (time)
overhead in loading the package, executing the package and calling the
proc. The proc will take the same time, but loading DTS may take longer,
so that baggage may mean it is slower to the end user. Make sense?

Having a heavy wrapper like DTS just to run a proc does not make sense
if that is all that you do in the package. Use a simpler method such as
ADO(.Net) for example. Not really sure what you are doing of course, so
perhaps you can clarify is this doesn't make sense.


--
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.