dbTalk Databases Forums  

DTSRun very slow for a few packages, EM is fast

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


Discuss DTSRun very slow for a few packages, EM is fast in the microsoft.public.sqlserver.dts forum.



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

Default DTSRun very slow for a few packages, EM is fast - 11-06-2006 , 08:04 AM






Hello,
I am developing a few simple SQL-to-flatfile DTS packages.
When I run them from the Enterprise Manager, all are ready within a few
seconds.

When running them from dtsrun.exe, some of them (repeatable) take
minutes, while the other ones stay quick.
I am looking for a clue how to explain this.

During the slow-execution, the whole machine seems to be slow.

The simple select is of the form:
SELECT pit.RecID, pit.RecUID, pit.RecCreated, pit.RecModified,
pit.RecType, pit.HeaderRecUID, pit.ItemType, pit.ItemNumber,
pit.CashierNumber, pit.SellerNumber,
pit.Deleted, pit.SaleValue, pit.ProductNumber, pit.ProductGroup,
pit.Amount, pit.RetailPriceDesired, pit.RetailPriceChanged,
pit.RetailPrice, pit.DiscountValue1,
pit.DiscountPercent1, pit.DiscountType1
FROM dbo.trPosItem1 pit
INNER JOIN dbo.cfPosHeader ph
ON pit.HeaderRecUID = ph.RecUID
WHERE (ph.Branch = 1704)

Thanks in advance, Erik Ykema


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.