Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2003

    Unanswered: Need Help, DTS is Running extremely Slow!!!

    Hi guys.

    I have a DTS package ON SQL 2000 which transfer data from AS400 to SQL 2000 using an ODBC Client Access 5.1 (The DSN was configured by a sysdmin on the AS400 so it is configured properly).
    When i execute the package manualy (by right click and "execute package") the package runns fine and ruterns data in no time (Eproximatly 30000 rows in 15 sec).

    The problem starts when a job executes the same packagee!!!
    When i start the job, the DTS package is running Very Very Slow!!!!
    sometime it takes Hours to return a few rows! and it seems that it is stuck.

    The SQLAgent is running as a NT Account with Administrator rights, and has full access to the AS400!! so the problem is not the Agent.

    by monitoring the AS400, i have noticed that the job/DTS is retreaving the first fetch quickly , and then it is in a waiting status

    i have tried everything and cant seem to get this problem fixed

    Does anyone know what could be the problem?
    I Need Help Quick!!!
    Thank You


  2. #2
    Join Date
    Aug 2002
    To maximize CPU resources, you can define a CPU idle condition for SQL Server Agent. SQL Server Agent uses the CPU idle condition setting to determine the most advantageous time to execute jobs.

    For example, you can schedule a daily backup job to occur during CPU idle time and slow production periods.

    Before you define jobs to execute during CPU idle time, determine how much CPU the job requires. You can use SQL Server Profiler or Windows NT Performance Monitor to monitor server traffic and collect statistics. You can use the information you gather to set the CPU idle time percentage.

    Define the CPU idle condition as a percentage below which the average CPU usage must remain for a specified time. Next, set the amount of time. When this time has been exceeded, SQL Server Agent starts all jobs that have a CPU idle time schedule.

    But test it before deploying on production.
    --Satya SKJ
    Microsoft SQL Server MVP

  3. #3
    Join Date
    Apr 2003
    Thnx for replying Satya,

    I am afraid this ahs nothing to do with CPU resources. Even when i start the job manualy when there is no activity at all an the server the DTS runs Very Very Slow.

    I am prety sure that there is somthing else to be done , allthow i will try your advise.

    Any suggestions?

  4. #4
    Join Date
    Apr 2003
    Washington DC area

    Cool Need Help

    The are a number of thing you can do. It's specific to your job. First of all who has control. AS400 or the database(SQL). I don't know of a DTS package in AS400. So start there, next, you might want to look at the parameters manually vs job. Are there any environmental issues to look at. Such as: numbers of records to commit, indexes, maintenance and backups, buffers size, Look it up on books online SQL Server.

  5. #5
    Join Date
    Nov 2002

    You mean DB2, no?

    Have the DB2 dba set up an unload then copy the data to your box....

    Then bcp the data in

    I know that doesn't address your problem...

    What's the execution step in the job look like?

    One difference in your methods is the context of which ID is being used.

    When you execute it from EM, it's under the context of your id, AND your location.

    From the job, it's under the context of the agent AND the server drive mappings..

    I'm guessing it's a network issue...

    Did the job ever finish?

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  6. #6
    Join Date
    Apr 2003
    Thnx alll 4 replying,

    But i am afriad that that is not the problem....

    I think i have solved it though....

    The Client Access has an option to translate data by a DLL.
    it was using one...dont know its name.

    removing this dll solved the problem and the job is executing fine now.

    thank you all for helping


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts