all groups > sql server dts > october 2007 >
You're in the

sql server dts

group:

Powerful server takes more than 30 minutes to run DTS package


Powerful server takes more than 30 minutes to run DTS package Devious Devil
10/4/2007 12:54:00 AM
sql server dts: Hi,

Problem Context:
I have a group of related DTS packages each one produces a single CSV file.
I have another DTS package which calls each of the related group one after
another to genereate all the files in one go. The DTS packages are run via a
stored procedure that calls xp_cmdshell that runs DTSRun.exe. The SP is call
from a .NET 2.0 WinForms application. The proxy account has been set and is
used to run the DTS packages. A windows account for the proxy is used and has
access to the destination directory for the files.

For most of our clients it works fine however for 1 of our clients it
timesout. The timeout limit in .NET code for the export is 30 minutes.

Now for the strange bit, on our development server using a copy of the
clients database the export takes between 5 and 6 minutes (well within the 30
minute limit); our server is a 2 CPU, 2 GB RAM, Win 2003 SP1, SQL Server 2000
SP4 machine. The clients server is a 4 CPU, 4GB RAM, Win 2003 SP2, SQL Server
2000 SP4.

There doesn't seem to be anything running on the server that would impact
the SQL Server in any significant way, certainly nothing that would cause
their server to run at least 5 times slower than ours. In fact our server in
theory is under more pressure as developers from other projects also use it.

Anybody with any ideas that we could check or things we could try would be
much appreciated.

Regards,
Re: Powerful server takes more than 30 minutes to run DTS package Devious Devil
10/4/2007 9:09:11 AM
Hi,

We've not tried that yet, but is worth a try if we can get the client to do
it. I'm sure you know what it's like all the politics and nonsense.

Thanks,
Peter

[quoted text, click to view]
Re: Powerful server takes more than 30 minutes to run DTS package jhofmeyr NO[at]SPAM googlemail.com
10/4/2007 3:22:41 PM
On Oct 4, 8:54 am, Devious Devil
[quoted text, click to view]

Hi Peter,

Have you tried running SQL Profiler and Perfmon to see what it is
actually doing? It seems unlikely that it would be hitting any
resource constraints, more likely there is a permissions issue
somewhere in the chain of events.

Good Luck!
J
Re: Powerful server takes more than 30 minutes to run DTS package Devious Devil
10/8/2007 7:09:04 AM
Hi,

Can you tell if there is a way to save the results of perfmon and some ideas
as to the kind of things other than CPU, disk IO to monitor as we don't have
permission to run either of these utilities ourselves so will have to rely on
our clients IT team to it and send us the results.

Regards,
Peter

[quoted text, click to view]
Re: Powerful server takes more than 30 minutes to run DTS package jhofmeyr NO[at]SPAM googlemail.com
10/9/2007 12:00:00 AM
On Oct 8, 3:09 pm, Devious Devil
[quoted text, click to view]

Hi Peter,

As SSIS tries to do everything in memory, performance can be severely
influenced by any memory issues. From the spec of the server I would
imagine this is not the case here, but I have seen some servers where
the service doesn't recycle RAM properly and pages all the in-memory
activities to disk.

I'm not sure about saving Perfmon results sry.

Good Luck!
J
Re: Powerful server takes more than 30 minutes to run DTS package Devious Devil
10/9/2007 6:59:02 AM
Hi,

From what I tried I couldn't find any way to save Perfmon information but
thought I'd check in case there was some weird way you had to go about it.

Just to say as well this issue is with DTS on SQL 2000 not SSIS on SQL 2005,
although the memory stuff you mentioned is the same as I discovered when
writing up some instructions to give out to our clients IT department.

Thanks,
Peter

[quoted text, click to view]
AddThis Social Bookmark Button